I want to blink the failing device in my 24-disk SAS enclosure.
I have found
sg_ses --index 7 --set=locate /dev/sg24 which is supposed to identify slot 7.
But how do I figure out which slot/index
This is not obvious as Linux does not name /dev/sdX after the slot, but after the sequence it was detected. Think what happens if slot 1 is empty at boot, but is filled later.
The controller is a SAS2008.