Difference between revisions of "LSI: LSI StorCli Cheatsheet"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== Install Process == * Search for 'StorCli' here: http://www.avagotech.com/support/download-search <syntaxhighlight> unzip 1.19.04_StorCLI.zip cd storcli_all_os/ cd Linux rpm -...")
 
Line 20: Line 20:
  
 
== Configuring ==
 
== Configuring ==
 +
* Example for setting up a RAID60 (on 36 Drives, 18 Drives per array)
 +
<syntaxhighlight>
 +
[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
 +
</syntaxhighlight>

Revision as of 13:12, 3 November 2016

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