beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 74

background image

LSI Corporation

- 74 -

StorCLI Reference Manual

January 2013

Appendix B: MegaCLI Commands to StorCLI Command Conversion

Show the security key for secured
physical drives

MegaCli -GetKeyID
[-PhysDrv[E0:S0]] -aN

storcli /cx/ex/sx show securitykey
keyid

Start, stop, and show the progress of
a secure erase operation

MegaCli -SecureErase Start[
Simple|

[Normal [ |ErasePattern
ErasePatternA|ErasePattern
ErasePatternA ErasePattern
ErasePatternB]]|[Thorough [
|ErasePattern
ErasePatternA|ErasePattern
ErasePatternA ErasePattern
ErasePatternB]]]

| Stop| ShowProg| ProgDsply

[-PhysDrv [E0:S0,E1:S1,...] |
-Lx|-L0,1,2|-LALL]
-aN|-a0,1,2|-aALL

storcli /cx[/ex]/sx start erase
[simple| normal| thorough]
[erasepatternA=<val>]\n[erasepatternB=<
val>]

Examples:

storcli /cx/ex/sx start erase simple

storcli /cx/ex/sx start erase normal
erasepatterna=10101010

storcli /cx/ex/sx start erase thorough
erasepatterna=10101010
erasepatternb=10101111

storcli /cx/ex/sx stop erase

Enable/disable the direct physical
drive mapping mode.

Show the current state of the direct
physical drive mapping.

MegaCLI DirectPdMapping
-Enbl|-Dsbl|-Dsply
-aN|-a0,1,2|-Aall

storcli /cx set directpdmapping=off>

storcli /cx show directpdmapping

Table 21 Enclosure Commands

Description

MegaCLI Command

StorCLI Command

Show enclosure information.

MegaCli –EncInfo
-aN|-a0,1,2|-aALL

storcli /cx/ex show

storcli /cx/ex show all

Show enclosure status.

MegaCli –EncStatus
-aN|-a0,1,2|-aALL

storcli /cx/ex show status

Table 22 PHY Commands

Description

MegaCLI Command

StorCLI Command

Show PHY information.

MegaCli –PHYInfo -phyM
-aN|-a0,1,2|-aALL

storcli /cx/px(x|all) show

storcli /cx/px(x|all) show all

Set PHY link speed.

MegaCLI PhySetLinkSpeed -phyM
-speed -aN|-a0,1,2|-aALL

storcli /cx/px(x|all) set
linkspeed=0(auto)|1.5|3|6|12

Show the PHY error counters.

Megacli PhyErrorCounters -An

storcli /cx/px(x|all) show

storcli /cx/px(x|all) show all

Table 20 Physical Drive Commands (Continued)

Description

MegaCLI Command

StorCLI Command