beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 69

background image

LSI Corporation

- 69 -

StorCLI Reference Manual

January 2013

Appendix B: MegaCLI Commands to StorCLI Command Conversion

Table 17 RAID Configuration Commands

Create a RAID configuration of RAID
type 0, 1, 5, and 6.

MegaCli –CfgLDAdd

-R0|-R1|-R5|-R6[E0:S0,E1:S1,...]

[WT | WB] [NORA | RA | ADRA]

[Direct | Cached]
[CachedBadBBU|NoCachedBadBBU]

[-szXXXXXXXX [-szYYYYYYYY [... ]]]
[-strpszM] [–Hsp[E5:S5,...]]

[–afterLdX] -aN

storcli /cx add vd
type=raid[0|1|5|6]
[Size=<VD1_Sz>,<VD2_Sz>,..|*all]

[name=<VDNAME1>,..]

drives=e:s|e:s-x|e:s-x,y;e:s-x,y,z
[PDperArray=x]

[SED] [pdcache=on|off|*default][pi]
[DimmerSwitch(ds)=default|automatic
(auto)|*none|maximum(max)
|MaximumWithoutCaching(maxnocache)]
[wt|*wb] [nora|*ra] [*direct|cached]
[CachedBadBBU|*NoCachedBadBBU]

[strip=<8|16|32|64|128|256|512|1024
] [AfterVd=X]

[Spares=[e:]s|[e:]s-x|[e:]s-x,y]
[force]

Create a CacheCade virtual drive.

MegaCLI -CfgCacheCadeAdd [-rX]

-Physdrv[E0:S0,...] {-Name
LdNamestring} [WT|WB|ForcedWB]

[-assign -LX|L0,2,5..|LALL]

-aN|-a0,1,2|-Aall

storcli /cx add vd cachecade|cc
Type=[0,1,10]

drives=[e:]s|[e:]s-x|[e:]s-x,y

[ < WT| WB> ] [assignvds=0,1,2]

Create a RAID configuration of RAID
type 10, 50, and 60.

MegaCli –CfgSpanAdd

-aN|-a0,1,2|-aALL

-R10|-R50|R60

–Array0[E0:S0,E1:S1,...]

–Array1[E0:S0,E1:S1,...] [...]

[WT | WB] [NORA | RA | ADRA]

[Direct | Cached]
[CachedBadBBU|NoCachedBadBBU]

[-szXXXXXXXX [-szYYYYYYYY [... ]]]
[-strpszM] [–afterLdX] -aN

storcli /cx add vd
type=raid[10|50|60]
[Size=<VD1_Sz>,<VD2_Sz>,..|*all]

[name=<VDNAME1>,..]

drives=e:s|e:s-x|e:s-x,y;e:s-x,y,z
[PDperArray=x]

[SED] [pdcache=on|off|*default][pi]
[DimmerSwitch(ds)=default|automatic
(auto)|*none|maximum(max)
|MaximumWithoutCaching(maxnocache)]
[wt|*wb] [nora|*ra] [*direct|cached]
[CachedBadBBU|*NoCachedBadBBU]

[strip=<8|16|32|64|128|256|512|1024
] [AfterVd=X]

[Spares=[e:]s|[e:]s-x|[e:]s-x,y]
[force]

Delete a virtual drive.

MegaCli -CfgClr [-Force]

-aN|-a0,1,2|-aALL

storcli /cx/vall delete

Show the topology information of
the drive group.

MegaCLI -CfgDsply

-aN|-a0,1,2|-Aall

storcli /cx/dall show [all]

Show information for a CacheCade
virtual drive.

MegaCLI -CfgCacheCadeDsply

-aN|-a0,1,2|-Aall

storcli /cx/dall show CacheCade(cc)