Skip to main content
  1. Posts/

Introduction into storcli

·198 words·1 min· loading · loading ·
Sysadmin Hardware Linux

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 X should be replaced with the device ID:
    • /cX - controller ID, field Ctl in storcli64 show output
    • /vX - virtual disk ID, field VD in storcli64 /cX show output
    • /eX - Enclosure Device ID, field EID in storcli64 /cX show output
    • /sX - slot Number, field Slt in storcli64 /cX show output
  • 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.:

1user@host:~$ storcli64 /c0/e18/s9 start locate
2
3Controller = 0
4Status = Success
5Description = Start Drive Locate Succeeded.
@soar
Author
@soar
Senior SRE/DevOps engineer

Related

Hello, FirewallD
·888 words·5 mins· loading · loading
Sysadmin Firewall Imho Linux
Just a CPU and a network card
·13 words·1 min· loading · loading
Sysadmin Hardware
Fighting with memory leaks
·10 words·1 min· loading · loading
Sysadmin Hardware