The degree to which the simplest things are impossible with MegaCLI is really impressive. Just getting a command line utility to work on Ubuntu took me hours (for the record, I use mdadm for RAID and only use the MegaCLI tools because the card came with the machine)
-
-
Show this thread
-
Their preferred method for replacing physical drives seems to be 'blink the light', but for whatever reason the lights don't blink, and I just want the serial number off the chassis
Show this thread -
Helpful replies in this thread plus futzing led me to a winning invocation: smartctl -d megaraid,0 -a /dev/sdb Which seems to work, where a vanilla "smartctl -a /dev/sdb" gave a nonsensical serial number. To all who helped me, long may your drives spin with no errors.
Show this thread
End of conversation
New conversation -
-
-
smartctl -i /dev/sda (or any path to the drive) should give you what you need
-
No, while this normally works on other machines, it's intercepted by the LSI controller here, which doesn't seem to expose the raw drive data to linux
- Show replies
New conversation -
-
-
such as smartctl -i /dev/disk/by-id/wwn-0x…
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
*sigh* I don't really want to turn on the megacli-using box here but I'm guessing you tried megacli -PDList -aALL megacli -EncInfo -aALL megacli -PDInfo -PhysDrv [E:S] -aALL ?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
MegaCli -AdpALLInfo -aAll
-
I have touched sooooooo many of these controllers over this decade.
End of conversation
New conversation -
-
-
I’m using the LSI storcli utility (which I think works with older boards as well), and with it /opt/MegaRAID/storcli/storcli64 /c0 show all gives drive s/n that match the label
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.