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 /dev/sdh is?
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.
Edit:
The controller is a SAS2008.
--indexand--setas input params, and there is no/sys/class/enclosure*in the sles11 sp2. What's your Linux environment? Did you install other utilities in the OS by yourself? – user22001 Aug 13 '12 at 8:46