binary usually located in /opt/MegaRAID/storcli/storcli64
storcli show all
/c0 stands for controller with id 0
storcli /c0 show all
storcli /c0/vall show all
/v0 stands for volume with id 0
storcli /c0/v0 show all
storcli /c0/eall show
/e133 stands for volume with id 133
storcli /c0/e133 show all
storcli /c0/e133/sall show
GHS = Global Hot Spare
storcli /c0/e133/s0 show all
storcli /c0/pall show all
details:
storcli /c0 add vd r6 name=alicedisk drives=133:0-6 Strip=1024
Usually initialization or rebuild. Weird thing is that initialization is not shown properly when in background mode.
storcli/c0/v0 show bgi
storcli/c0/v0 show init
One needs to identify the enclosure for this to work and list all physical drives.
This adds s7
storcli /c0/e133/s7 add hotsparedrive
storcli /c0 show cc