HDD locator led

Alessandro 123

Well-Known Member
May 22, 2016
653
24
58
40
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!