LSI: LSI StorCli Cheatsheet

From Define Wiki
Revision as of 11:00, 8 August 2022 by Antony (talk | contribs) (add howto reset status from UBad to UGood)
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

Reset UBad to UGood

storcli /c0 /e252 /sall set good

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