StorCLI is a successor of MegaCLI, an utility for LSI controllers configuration. The syntax is a bit different now, so here is a quick overview.
Common rules#
- Below
Xshould be replaced with the device ID:/cX- controller ID, fieldCtlinstorcli64 showoutput/vX- virtual disk ID, fieldVDinstorcli64 /cX showoutput/eX- Enclosure Device ID, fieldEIDinstorcli64 /cX showoutput/sX- slot Number, fieldSltinstorcli64 /cX showoutput
- All these parameters should be defined in a path-like style, without spaces, e.g.:
storcli64 /cX/eX/sX command [parameters]
Commands#
System level#
- Brief info:
storcli64 show - Full information:
storcli64 show all
Controller level#
- Brief info:
storcli64 /cX show - Full information:
storcli64 /cX show all
Virtual disks level#
For example, to delete a virtual disk:
1echo test
2storcli64 /c0/v1 del
3
4Controller = 0
5Status = Success
6Description = Delete VD succeeded
Physical disks level#
For example, to locate a disk (LED will blink):
- Start locating:
storcli64 /cX/eX/sX start locate - Stop:
storcli64 /cX/eX/sX stop locate
e.g.:
