beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 66

background image

LSI Corporation

- 66 -

StorCLI Reference Manual

January 2013

Appendix B: MegaCLI Commands to StorCLI Command Conversion

Set properties on the selected
controllers (continued)

spinupencdrvcnt

sdsmartcpybkenbl

usediskactivityforlocate

usefdeonlyencrypt

Show the number of controllers
connected.

MegaCLI -adpCount

storcli show ctrlcount

Show all information about the
adapter, such as cluster state, BIOS,
alarm, firmware, version, and so on.

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

storcli /cx show all

Show the freespace available in the
controller.

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

storcli /cx show freespace

Download the controller firmware.

MegaCli -AdpFwFlash -f filename
[-NoSigChk] [-NoVerChk]

[-ResetNow] -aN|-a0,1,2|-aALL

storcli /cx download file=<filepath>
[fwtype=<val>] [nosigchk]
[noverchk][resetnow]

Show the preserved cache status.

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

storcli /cx show preservedcache

Set the controller time

MegaCLI –AdpSetTime yyyymmdd
hh:mm:ss -aN|-a0,1,2|-aALL

storcli /c(x|all) set time=<yyyymmdd
hh:mm:ss | systemtime>

Show the controller time.

MegaCLI –AdpGetTime -aN

storcli /cx show time

Table 13 Patrol Read Commands

Description

MegaCLI Command

StorCLI Command

Show the patrol read status and
patrol read parameters, if any in
progress.

MegaCli -AdpPR -info

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

storcli/cx show patrolRead

Set the patrol read options on a
single adapter, multiple adapters, or
all adapters.

(x = single controller).

MegaCli -AdpPR

–Dsbl|EnblAuto|EnblMan|Start|Stop|

Info|Suspend|Resume|Stop|

SSDPatrolReadEnbl |
SSDPatrolReadDsbl

|{SetDelay Val}|{-SetStartTime
yyyymmdd hh}|{maxConcurrentPD Val}

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

storcli /cx set patrolread {=on
mode=}|{off}

storcli /cx set patrolread
[starttime=< yyyy/mm/dd hh>]
[maxconcurrentpd=<value>]
[includessds=]
[uncfgareas=on|off]

storcli /cx set patrolread
delay=<value>

Disable patrol read.

MegaCli -AdpPR -Dsbl

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

storcli /cx set patrolread=off

Enable automatic patrol read.

MegaCli -AdpPR -EnblAuto

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

storcli /cx set patrolread=on
mode=auto

Enable manual patrol read.

MegaCli -AdpPR -EnblMan

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

storcli /cx set patrolread=on
mode=manual

Start patrol read.

MegaCli -AdpPR -Start

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

storcli /cx start patrolRead

Suspend a running patrol read.

MegaCli -AdpPR -Suspend

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

storcli /cx suspend patrolread

Resume a suspended patrol read.

MegaCli -AdpPR -Resume

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

storcli /cx resume patrolread

Table 12 Controller Commands (Continued)

Description

MegaCLI Command

StorCLI Command