HDD locator led

Alessandro 123

Well-Known Member
May 22, 2016
653
24
58
41
As I'm using ZFS on a server that doesn't populate /sys/class/enclosure (supermicro 1028U) I'm unable to know which disk is failed

/dev/sd? Can't be used, as their name doesn't persist the slot position

/dev/disk/by-id would require to write down the whole serial # on each HDD tray. Can be done, but it's prone to errors

/dev/disk/by-path (that I'm using) seems to properly match the slot position but this server doesn't have any slot number wrote on the shelf, thus we have to remember if slot 0 is the lower or the upper one, from the left

Do you know how to blink the locator/fault led? That would be the safest way to identify a failed disk

sas2ircu doesn't work with SAS3008 chipset, and I don't know any other LSI tools...
 
As I'm using ZFS on a server that doesn't populate /sys/class/enclosure (supermicro 1028U) I'm unable to know which disk is failed

/dev/sd? Can't be used, as their name doesn't persist the slot position

/dev/disk/by-id would require to write down the whole serial # on each HDD tray. Can be done, but it's prone to errors

/dev/disk/by-path (that I'm using) seems to properly match the slot position but this server doesn't have any slot number wrote on the shelf, thus we have to remember if slot 0 is the lower or the upper one, from the left

Do you know how to blink the locator/fault led? That would be the safest way to identify a failed disk

sas2ircu doesn't work with SAS3008 chipset, and I don't know any other LSI tools...
Having the same question.

Found ledctl but haven't tested it.
You could also use aliases so you see the aliases instead of sda or devid.