[server]# fdisk -l | grep Disk | grep -vE "label|identifier"
Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Disk /dev/sdb: 480.1 GB, 480103981056 bytes, 937703088 sectors
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Disk /dev/sda: 480.1 GB, 480103981056 bytes, 937703088 sectors
Which disk is having an issue? How do I understand which disk is having the issue? Why isn't it labeled in /dev/sdX format?
If this can't be fixed, can we document how to determine which drive is failing?
[server]# /opt/sensu/embedded/bin/gem list sensu-plugins-disk-checks
LOCAL GEMS
sensu-plugins-disk-checks (5.0.0)
[server]# /opt/sensu/embedded/bin/check-smart-status.rb SmartCheckStatus CRITICAL: # critical 5 Reallocated_Sector_Ct: 1
[server]# fdisk -l | grep Disk | grep -vE "label|identifier" Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Disk /dev/sdb: 480.1 GB, 480103981056 bytes, 937703088 sectors Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Disk /dev/sda: 480.1 GB, 480103981056 bytes, 937703088 sectors
Which disk is having an issue? How do I understand which disk is having the issue? Why isn't it labeled in /dev/sdX format? If this can't be fixed, can we document how to determine which drive is failing?