Difference between revisions of "LSI: LSI StorCli Cheatsheet"
Jump to navigation
Jump to search
m (add howto reset status from UBad to UGood) |
|||
| Line 31: | Line 31: | ||
Description = Add VD Succeeded | Description = Add VD Succeeded | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
| + | == Extend a RAID6 array (TT) == | ||
| + | <pre> | ||
| + | [root@storage1 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v239 start migrate type=r6 option=add drives=252:0-1 | ||
| + | CLI Version = 007.1705.0000.0000 Mar 31, 2021 | ||
| + | Operating system = Linux 3.10.0-1127.el7.x86_64 | ||
| + | Controller = 0 | ||
| + | Status = Success | ||
| + | Description = Start VD Operation Success | ||
| + | </pre> | ||
Revision as of 12:59, 31 October 2023
Install Process
- Search for 'StorCli' here: http://www.avagotech.com/support/download-search
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 $PATHQuery
- Get everything
storcli64 /c0 show all
# and for a list of options; storcli64 /c0 show helpReset UBad to UGood
storcli /c0 /e252 /sall set goodConfiguring
- 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 SucceededExtend a RAID6 array (TT)
[root@storage1 ~]# /opt/MegaRAID/storcli/storcli64 /c0/v239 start migrate type=r6 option=add drives=252:0-1 CLI Version = 007.1705.0000.0000 Mar 31, 2021 Operating system = Linux 3.10.0-1127.el7.x86_64 Controller = 0 Status = Success Description = Start VD Operation Success