Avago Technologies MegaRAID SAS 9240-4i User Manual
Page 71

LSI Corporation
- 71 -
StorCLI Reference Manual
January 2013
Appendix B: MegaCLI Commands to StorCLI Command Conversion
Table 19 Virtual Drive Commands
Show the virtual drive information.
MegaCli –LDInfo –Lx|-L0,1,2|-Lall
-aN|-a0,1,2|-aALL
storcli /cx/v(x|all) show
storcli /cx/v(x|all) show all
Set virtual drive properties.
MegaCli –LDSetProp WT | WB|NORA |RA
| ADRA|-Cached|Direct|
CachedBadBBU|NoCachedBadBBU} |
-RW|RO|Blocked |
{-Name nameString} |
-EnDskCache|DisDskCache –Lx|
-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) set
wrcache=WT|WB|AWB
storcli /cx/v(x|all) set
rdcache=RA|NoRA
storcli /cx/v(x|all) set
iopolicy=Cached|Direct
storcli /cx/v(x|all) set
accesspolicy=RW|RO|Blocked|RmvBlkd
storcli /cx/v(x|all) set
pdcache=On|Off|Default
storcli /cx/v(x|all) set
name=<NameString>
"
Set power-saving (dimmer switch)
properties.
MegaCli -LDSetPowerPolicy -Default|
-Automatic| -None| -Maximum|
-MaximumWithoutCaching
-Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) set
ds=Default|Auto|None|Max|MaxNoCache
Show virtual drive expansion
information.
MegaCli -getLdExpansionInfo
-Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) show expansion
Expand the virtual drive within the
existing array; also use if you replace
the drives with larger drives, beyond
the size of the existing array.
MegaCli -LdExpansion -pN
-dontExpandArray -Lx|-L0,1,2|-Lall
-aN|-a0,1,2|-aALL
storcli /cx/v(x|all) expand
Size=<value> [expandarray]
Secure the virtual drive.
MegaCLI --LDMakeSecure
-Lx|-L0,1,2,...|-Lall –An
storcli /cx/vx set security=on
Show specific properties of virtual
drives.
MegaCli –LDGetProp -Cache | -Access
| -Name | -DskCache
-Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/vx show
Start virtual drive initialization.
MegaCli –LDInit –Start [Fast|Full]
-Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) start
init[Full]
Stop a running virtual drive
initialization.
MegaCli –LDInit -Abort
-Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) stop init
Show the initialization progress.
MegaCli –LDInit –ShowProg
-Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) show init
Start a consistency check on an
uninitialized virtual drive.
MegaCli –LDCC –Start
–Lx|-L0,1,2|-Lall -aN|-a0,1,2|-aALL
storcli /cx/v(x|all) start cc[Force]
Start, stop, suspend, resume, and
show the progress of a consistency
check operation.
MegaCli -LDCC -Start|-Abort|
-Suspend|-Resume|-ShowProg|
-ProgDsply -Lx|-L0,1,2|-LALL
-aN|-a0,1,2|-aALL
storcli /cx/v(x|all) start cc
storcli /cx/v(x|all) stop cc
storcli /cx/v(x|all) pause cc
storcli /cx/v(x|all) resume cc
storcli /cx/v(x|all) show cc
- MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9266-4i MegaRAID SAS 9266-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-24i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID SAS 9285-8ecv