LSI Corporation
- 394 -
12Gb/s MegaRAID SAS Software User Guide
March 2014
Appendix C: MegaCLI Commands to StorCLI Command Conversion
Battery Commands
C.8
Physical Drive Commands
Table 77 Physical Drive Commands
Description
MegaCLI Command
StorCLI Command
Show drive information.
MegaCli -pdInfo
-PhysDrv[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
show
storcli /c
x
/e
x
/s
x
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 /c
x
/e
x
/s
x
start rebuild
storcli /c
x
/e
x
/s
x
stop rebuild
storcli /c
x
/e
x
/s
x
pause rebuild
storcli /c
x
/e
x
/s
x
resume rebuild
storcli /c
x
/e
x
/s
x
shnow 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 /c
x
/e
x
/s
x
start copyback target =
e
xx
:s
xx
storcli /c
x
/e
x
/s
x
stop copyback
storcli /c
x
/e
x
/s
x
pause copyback
storcli /c
x
/e
x
/s
x
resume copyback
storcli /c
x
/e
x
/s
x
show copyback
Mark a drive as missing.
MegaCli -PdMarkMissing
-physdrv[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
set missing
Show missing drive information.
MegaCli -PdGetMissing
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
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 /c
x
/e
x
/s
x
insert array=
x
row=
y
Set the drive state to online
MegaCli –PDOnline
-PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2
storcli /c
x
/e
x
/s
x
set online
Set the drive state to offline.
MegaCli –PDOffline
-PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
set offline
Set the drive state to JBOD
MegaCli –PDMakeGood
-PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
set good [force]
Set the drive state to JBOD
MegaCli -PDMakeJBOD
-PhysDrv[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
set jbod
Add and delete hot spare drives.
MegaCli –PDHSP {–Set
[{-Dedicated -ArrayN
|-Array0,1...}] [-EnclAffinity]
[-nonRevertible] } | -Rmv
-PhysDrv[E0:S0,E1:S1,...]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
add hotsparedrive
[dgs=<N|0,1,2..>] enclaffinity
nonrevertible
storcli /c
x
/e
x
/s
x
delete hotsparedrive
Start, stop, pause, resume or
show the progress of an
initialization process.
MegaCli –PDClear -Start |-Stop|
-ShowProg |-ProgDsply -
PhysDrv[E0:S0,E1:S1....]
-aN|-a0,1,2|-aALL
storcli /c
x
/e
x
/s
x
start initialization
storcli /c
x
/e
x
/s
x
stop initialization
storcli /c
x
/e
x
/s
x
pause initialization
storcli /c
x
/e
x
/s
x
resume initialization
storcli /c
x
/e
x
/s
x
show initialization
Summary of Contents for ThinkServer RD650
Page 1: ...ThinkServer 12 Gb s MegaRAID SAS Software User Guide ...
Page 417: ......
Page 418: ......