LSI: LSI StorCli Cheatsheet

From Define Wiki
Revision as of 13:12, 3 November 2016 by David (talk | contribs)
Jump to navigation Jump to search

Install Process

  unzip 1.19.04_StorCLI.zip 
  cd storcli_all_os/
  cd Linux
  rpm -ivh ./storcli-1.19.04-1.noarch.rpm 
  rpm -qpl storcli-1.19.04-1.noarch.rpm 

# Files are in /opt/MegaRAID/storcli/ 
# add this to you $PATH

Query

  • Get everything
storcli64 /c0 show all
# and for a list of options; storcli64 /c0 show help

Configuring

  • Example for setting up a RAID60 (on 36 Drives, 18 Drives per array)
[root@oswald ~]# storcli64 /c0 add vd type=raid60 drives=85:0-23,88:0-11 pdperarray=18 
Controller = 0
Status = Success
Description = Add VD Succeeded