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

LSI Corporation
- 72 -
StorCLI Reference Manual
January 2013
Appendix B: MegaCLI Commands to StorCLI Command Conversion
Enable/disable automatic
background initialization. Show, stop,
pause, resume, and show the
progress of the background
initialization.
MegaCLI -LDBI -Enbl|-Dsbl|
-getSetting|-Abort|-Suspend|
-Resume|-ShowProg|-ProgDsply
-Lx|-L0,1,2|-LALL -aN|-a0,1,2|-Aall
storcli /cx/v(x|all) set
autobgi=On|Off
storcli /cx/v(x|all) show autobgi
storcli /cx/v(x|all) stop bgi
storcli /cx/v(x|all) pause bgi
storcli /cx/v(x|all) resume bgi
storcli /cx/v(x|all) show bgi
Start and show progress for a migrate
operation.
MegaCli –LDRecon {–Start –Rx [Add
| Rmv PhysDrv[E0:S0,E1:S1,...] ] }
| –ShowProg|-ProgDsply –Lx –aN
storcli /cx/vx start migrate
type=raidx [option=add|remove
drives=[e:]s|[e:]s-x|[e:]s-x,y]
[Force]
storcli /cx/v(x|all) show migrate
Delete preserved cache.
MegaCLI -DiscardPreservedCache
-Lx|-L0,1,2|-Lall -force
-aN|-a0,1,2|-aALL
storcli /cx/v(x|all) delete
preservedcache[force]
Assign the CacheCade virtual drive.
MegaCLI -Cachecade -assign|-remove
-Lx|-L0,1,2|-LALL -aN|-a0,1,2|-aALL
storcli /cx/vx|all set
ssdCaching=on|off
Table 20 Physical Drive Commands
Description
MegaCLI Command
StorCLI Command
Show drive information.
MegaCli -pdInfo -
PhysDrv[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /cx/ex/sx show
storcli /cx/ex/sx show all
Start, stop, pause, resume, or show
the progress of a rebuild operation.
MegaCLI PDRbld -Start|-Stop
|-Suspend|-Resume|-ShowProg
|-ProgDsply -PhysDrv
[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /cx/ex/sx start rebuild
storcli /cx/ex/sx stop rebuild
storcli /cx/ex/sx pause rebuild
storcli /cx/ex/sx resume rebuild
storcli /cx/ex/sx show rebuild
Start, stop, pause, resume, or show
the progress of a copyback operation.
MegaCLI PDCpyBk -Start|-Stop
|-Suspend|-Resume|-ShowProg
|-ProgDsply -PhysDrv
[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /cx/ex/sx start copyback
target=exx:sxx
storcli /cx/ex/sx stop copyback
storcli /cx/ex/sx pause copyback
storcli /cx/ex/sx resume copyback
storcli /cx/ex/sx show copyback
Mark a drive as missing
.
MegaCli -PdMarkMissing
-physdrv[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /cx/ex/sx set missing
Show missing drive information.
MegaCli -PdGetMissing
-aN|-a0,1,2|-aALL
storcli /cx/ex/sx show all
NOTE This information is shown as part of the show all
command.
Replace the configured drive that is
identified as missing, and then start
an automatic rebuild.
MegaCli -PdReplaceMissing
-physdrv[E0:S0] -arrayA, -rowB
-aN
storcli /cx/ex/sx insert array=x row=y
Set the drive state to online
MegaCli –PDOnline -
PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2
storcli /cx/ex/sx set online
Table 19 Virtual Drive Commands (Continued)
- 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