N

Reference Material Broadcom (LSI/Avago) StorCLI Verbose Help

This is a companion post to Broadcom (LSI/Avago) StorCLI Reference/User Guide

StorCLI Command Verbose Help


Storage Command Line Tool Ver 007.0912.0000.0000 Dec 27, 2018

(c)Copyright 2018, AVAGO Technologies, All Rights Reserved.


NAME: Show maintenance

SYNTAX: storcli /cx show maintenance
DESCRIPTION:Displays the maintenance mode of the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set maintenance on controller

SYNTAX: storcli /cx set maintenance mode=normal|nodevices

DESCRIPTION: Sets maintenance mode of the controller with normal or nodevices
The possible values for mode are:Normal: FW will set to Normal Mode .
NoDevices: FW will not present LDs to host or communicate.
/cx - specifies the controller where X is the controller index


NAME : ADD Virtual Drive

SYNTAX:
storcli /cx add vd r[0|1|5|6|00|10|50|60][Size=<VD1_Sz>,<VD2_Sz>,..|all]
[name=<VDNAME1>,..] drives=e:s|e:s-x|e:s-x,y [PDperArray=x|auto]
[SED] [pdcache=on|off|default][pi] [DimmerSwitch(ds)=default|automatic(auto)|
none|maximum(max)|MaximumWithoutCaching(maxnocache)] [WT|WB|AWB][nora|ra]
[direct|cached] [cachevd] [unmap]
[Strip=<8|16|32|64|128|256|512|1024>] [AfterVd=X]
[Spares = [e:]s|[e:]s-x|[e:]s-x,y][force]
[Cbsize=0|1|2 Cbmode=0|1|2|3|4|7]

DESCRIPTION: Creates a virtual drive with user specified options and optionally
associates them to cachecade.

OPTIONS:
r - Sets the RAID type of the configuration. (RAID [0|1|5|6|00|10|50|60]).
size - Sets the size of each virtual drive, default value is for all drives.
name - Specifies the drive name for each virtual drive. (15 characters max)
drives - In e:s|e:s-x|e:s-x,y:
- e specifies the enclosure ID.
- s represents the slot in the enclosure.
- e:s-x is the range convention used to represent slots s to x in
the enclosure e.
pdperarray - Specifies the number of physical drives per array. The default
value is automatically chosen.(0 to 16)
sed - Creates security-enabled drives.
pdcache Enables or disables PD cache. (on|off|default)
cachevd Enables SSD caching on the create VD
unmap Enables SCSI unmap on the VD
pi - Enables protection information.
EmulationType :
0 - default
1 - None
2 - 512E-force
Cbsize :
0 - 64k cache bypass
1 - 128k cache bypass
2 - 256k cache bypass
Cbmode :
0 - Enable intelligent mode cache bypass
1 - Enable standard mode cache bypass
2 - Enable custom mode cache bypass 1
3 - Enable custom mode cache bypass 2
4 - Enable custom mode cache bypass 3
7 - Disable cache bypass
dimmerswitch - Specifies the power-saving policy. Sets to default automatically.
default: Logical device uses controller default power-saving policy.
automatic (auto): Logical device power savings managed by firmware.
none: No power-saving policy.
maximum (max): Logical device uses maximum power savings.
MaximumWithoutCaching (maxnocache): Logical device does not cache
write to maximize power savings.
direct|cached - Sets the logical drive cache policy.Direct I/O is the default.
cached: Cached I/O, direct: Direct I/O
WT|WB|AWB - Enables write through.Write back is the default.
wt: Write through, wb: Write back, Awb: Always write back
nora|ra - Disables read ahead.Enabled is the default.
ra: Read ahead, nora: No read ahead
strip - Sets the strip size for the RAID configuration in KB.
(8, 16, 32, 64, 128, 256, 1024)
aftervd - Creates the VD in the adjacent free slot next to the specified VD.
spares - Specifies the physical drives that are to be assigned to a disk group
for spares.
force — Forces a security-capable physical drive to be added to a drive group
without security.
ExclusiveAccess: If Specified ExclusiveAccess, the virtual disk will be
Exclusive Access.
ByDefault VD will be Shared Access.

CONVENTION:
/cx - specifies the controller where X is the controller index
e:s|e:s-x|e:s-x,y-'e' specifies the enclosure id and 's' represents the slot in
the enclosure. 'e:s-x' is the range convention used to represents slots 's' to
'x' in the enclosure 'e'. Enclosure id for directly attached drive is 'D'
e.g. D:x which can also be specified as x (without D:)


NAME : ADD RAID0 for Each Physical Drive

SYNTAX:
storcli /cx add vd each r0 [name=<VDNAME1>,..] [drives=e:s|e:s-x|e:s-x,y]
[SED] [pdcache=on|off|default][pi] [DimmerSwitch(ds)=default|automatic(auto)|
none|maximum(max)|MaximumWithoutCaching(maxnocache)] [WT|WB|AWB] [nora|ra]
[direct|cached] [ExclusiveAccess] [Cbsize=0|1|2 Cbmode=0|1|2|3|4|7]
strip - Sets the strip size for the RAID configuration in KB.
(8, 16, 32, 64, 128, 256, 1024)
DESCRIPTION: Creates RAID0 virtual drive individually on all/specified PDs
"drives" is optional when not specified all the unconfigured good PDs will be
configured as individual RAID0 volumes

OPTIONS:
SED - Creates security enabled drives
pdcache=on|off - enable/disable pd cache
EmulationType :
0 - default
1 - None
2 - 512E-force
Cbsize :
0 - 64k cache bypass
1 - 128k cache bypass
2 - 256k cache bypass
Cbmode :
0 - Enable intelligent mode cache bypass
1 - Enable standard mode cache bypass
2 - Enable custom mode cache bypass 1
3 - Enable custom mode cache bypass 2
4 - Enable custom mode cache bypass 3
7 - Disable cache bypass
DimmerSwitch(ds)=default|automatic(auto)|none|maximum(max) - power save policy
WT|WB|AWB - enable/disable write back
nora|ra - enable/disable read ahead
ExclusiveAccess: If Specified ExclusiveAccess, the virtual disk will be
Exclusive Access.
ByDefault VD will be Shared Access.CONVENTION:
/cx - specifies the controller where X is the controller index
e:s|e:s-x|e:s-x,y-'e' specifies the enclosure id and 's' represents the slot in
the enclosure. 'e:s-x' is the range convention used to represents slots 's' to
'x' in the enclosure 'e'.


NAME: ADD CacheCade virtual Drive

SYNTAX:storcli /cx add VD cachecade R[aid][0,1,10]
drives = [e:]s|[e:]s-x|[e:]s-x,y [WT| WB] [assignvds = 0,1,2]

DESCRIPTION:Creates a cachecade virtual drive and optionally associates existing
virtual drives to cachecade

OPTIONS:
cc|cachecade - Confirmation from user to create a cachecade vd
Wrcache - Write policy for the cc vd
assignvds - List of vds to be associated with the new CC vd

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID
Non spanned configuration e.g.:storcli /c0 add VD r0 drives=252:0,252:1
Spanned configuration e.g.: storcli /c0 add VD r10 drives=252:0-3 pdperarray=2


NAME: Display enclosure information.

SYNTAX: storcli /cx/ex show

DESCRIPTION: - Show status of each module in the enclosure

CONVENTION:
/cx - specifies the controller where X is the controller index
/ex - specifies the enclosure where X is the enclosure index


NAME: Display enclosure information.

SYNTAX: storcli /cx/ex show all

DESCRIPTION: - Show status of each module in the enclosure

CONVENTION:
/cx - specifies the controller where X is the controller index
/ex - specifies the enclosure where X is the enclosure index


NAME: Show the enclosure status

SYNTAX: storcli /cx/ex show status [extended]

DESCRIPTION: Show the enclosure status and the status of all the
enclosure elements

CONVENTION:
/cx - specifies the controller where X is the controller index
/ex - specifies the enclosure where X is the enclosure index
OPTIONS:
extended=Displays the extended enclosure status.


NAME: Show the enclosure/expander phy error counters

SYNTAX: storcli /cx/ex show phyerrorcounters

DESCRIPTION: Show the enclosure/expander phy error counters
CONVENTION:
/cx - specifies the controller where X is the controller index
/ex - specifies the enclosure where X is the enclosure index


NAME: Show the phy error counter details

SYNTAX: storcli /cx/px show phyerrorcounters

DESCRIPTION: Show the phy level error counters
CONVENTION:
/cx - specifies the controller where X is the controller index
/px - specifies the phy where X is the phy index
Note: This command supports only IT Controllers


NAME: Enable phy or Disable Phy

SYNTAX: storcli /cx/px set state=on|off

DESCRIPTION: Enable phy or Disable Phy interfaces
CONVENTION:
/cx - specifies the controller where X is the controller index
/px - specifies the phy where X is the phy index
Note: This command supports only IT Controllers


NAME: Reset Phy

SYNTAX: storcli /cx/px reset [hard]

DESCRIPTION: Reset phy or Hard Reset phy
CONVENTION:
/cx - specifies the controller where X is the controller index
/px - specifies the phy where X is the phy index
Note: This command supports only IT Controllers


NAME: Show the Drive/Slot error counters

SYNTAX: storcli /cx[/ex]/sx show errorcounters

DESCRIPTION: Show the Drive/Slot error counters
CONVENTION:
/cx - specifies the controller where X is the controller index
/ex - specifies the enclosure where X is the enclosure index


NAME: Delete event log.
SYNTAX: storcli /cx delete events
DESCRIPTION: This command deletes all records in the event log.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Event log.

SYNTAX: storcli /cx show events [[type= <sincereboot| sinceshutdown|
includedeleted|latest=x| ccincon vd=<0,1,...>] filter=<[info],[warning],
[critical],[fatal]> file=<filepath> [logfile[=filename]]

DESCRIPTION:Gets event log entry details. The information shown consists of
total number of entries available at firmware side since the last clear
and details of each entry of the error log. Start_entry specifies the
initial event log entry when displaying the log.

OPTIONS:
latest=x:Dumps the latest x number of events, if any exist. The event
data will be written to the file in reverse order which includes
deleted events
ccincon:Dumps if any CC( ConsistencyCheck ) errors logged on a VD.
sincereboot: Dumps all the events since last adapter reboot.
sinceshutdown:Dumps all the events since last controller shutdown.
includedeleted:Dumps all events, including deleted events.
severity levels:
info:Informational message. No user action is necessary.
warning:Some component may be close to a failure point.
critical:A component has failed, but the system has not lost data.
fatal:A component has failed, and data loss has occurred or will occur.

file: file which collects all the events.
logfile - if file name is not specified it logs to storsas.log else to user given file

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Event log.
SYNTAX: storcli /cx show eventloginfo
DESCRIPTION:Displays overall event information such as
newest sequence number, oldest sequence number, shutdown sequence
number, reboot sequence number, and clear sequence number.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Delete security key
SYNTAX: storcli /cx delete securitykey
DESCRIPTION: This command deletes the security key of the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set KeyID Passphrase Security key
SYNTAX: storcli /cx set securitykey=xxxxxxxx {passphrase=xxxx} {keyid=xxx}
DESCRIPTION: This command sets the security key for the controller.
OPTIONS:
{passphrase=xxxx}: String that is linked to the controller and is used in the next boot up to encrypt the lock key
If the passphrase is not set, the controller generates it by default.
{keyid=xxx}: Unique ID set for different controllers to help you specify a passphrase to a specific controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Start Diagnostic on Adapter
SYNTAX: storcli /cx start Diag Duration=<Val> [type=0|1]
DESCRIPTION: Start Diagnostic on Adapter.
OPTIONS:
Duration : Run diagnostic for specified duration based on type.Duration value is in seconds.
Type : Type of diagnostic test to be executed.
0 - Default diagnostic test.
1 - Phy Loopback diagnostic test.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set keyID Security Key
SYNTAX: storcli /cx set securitykey keyid=xxx
DESCRIPTION: This command sets the key ID for the controller
OPTIONS:
keyid=xxx: The key ID is unique for every controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Compare Security key
SYNTAX: storcli /cx compare securitykey=xxxxxxxxxx
DESCRIPTION: This command compares and verifies the security key of the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set termlog on or off
SYNTAX: storcli /cx set termlog[=on|off|offthisboot]
DESCRIPTION: term log option can be enabled or disabled
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show termlog
SYNTAX: storcli /cx show termlog [type=config|contents] [logfile[=filename]]
DESCRIPTION: This command displays the firmware logs
OPTION:
type=config - the term log configuration (settings)
type=contents - the contents option displays the term log.
logfile - if file name is not specified it logs to storsas.log else to user given file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Delete termlog
SYNTAX: storcli /cx delete termlog
DESCRIPTION: This command clears the TTY(firmware log for issue troubleshooting)
logs
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set sesmonitoring on or off
SYNTAX: storcli /cx set sesmonitoring[=on|off]
DESCRIPTION: sesmonitoring can be enabled or disabled on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show sesmonitoring
SYNTAX: storcli /cx show sesmonitoring
DESCRIPTION: This command displays the sesmonitoring status
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set failpdonsmarterror on or off
SYNTAX: storcli /cx set failpdonsmarterror[=on|off]
DESCRIPTION: failpdonsmarterror can be enabled or disabled on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show failpdonsmarterror
SYNTAX: storcli /cx show failpdonsmarterror
DESCRIPTION: This command displays the failpdonsmarterror status
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set security key.
SYNTAX: storcli /cx set securitykey=xxxxxxxx oldsecuritykey=xxxxxxxx
{passphrase=xxxx} {keyid=xxx}
DESCRIPTION:This command changes the security key for the controller
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Delete virtual Drive

SYNTAX: storcli /cx/vx del [cachecade] [discardcache] [force]
DESCRIPTION: This command deletes a particular virtual drive or, when the vall
option is used, all the virtual drives and hotspares on the controller are
deleted.

OPTIONS:
cc|cachecade - Confirmation for deleting a cachecade virtual drive
force - deletes virtual drive with operating system.
discardcache - deletes virtual drive without flushing cached data.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID
NOTE: This command cannot be used to delete VD's with boot volume on DFF's.
However you can use the /vall option to delete both CCVD and BootVD


NAME: Delete configuration

SYNTAX: storcli /cx delete config [force]
DESCRIPTION: This command clears complete configuration on the controller.
OPTIONS:
force - deletes all the configuration if any virtual drives are associated or has OS/FS.
CONVENTION:
/cx - specifies the controller where X is the controller index
NOTE: This command cannot be used to delete configuration when any boot volume exists.


NAME: Show Diskgroup

SYNTAX: storcli /cx/dx show

DESCRIPTION: This command displays the topology information of the drive group.

OPTIONS:
CONVENTION:
/cx - specifies the controller where X is the controller index
/dx - specifies the disk group where X is the dg index


NAME: Show Diskgroup

SYNTAX: storcli /cx/dall show cachecade

DESCRIPTION:Displays all CacheCade virtual drive information.

OPTIONS:
CONVENTION:
/cx - specifies the controller where X is the controller index
/dall - specifies all the disk group


NAME: Show Mirror

SYNTAX: storcli /cx/dall show mirror

DESCRIPTION:displays the information about the mirror associated with the DG.

OPTIONS:
CONVENTION:
/cx - specifies the controller where X is the controller index
/dall - specifies all the disk group


NAME: Spilt Mirror

SYNTAX: storcli /cx/dall split mirror

DESCRIPTION:splits the mirror VDs apart.

OPTIONS:
CONVENTION:
/cx - specifies the controller where X is the controller index
/dall - specifies all the disk group


NAME: Join Mirror

SYNTAX: storcli /cx/dall add mirror src=<val> [force]

DESCRIPTION:joins the VD with its mirror.

OPTIONS:
CONVENTION:
/cx - specifies the controller where X is the controller index
/dall - specifies all the disk group
<val> - if val is 0, then data will be copied from existing VD to drives.
If val is 1 then data will be copied from drives to VD
If val is 2 then Import broken mirror as a new VD


NAME: Show Diskgroup

SYNTAX: storcli /cx/dx show all

DESCRIPTION: Shows physical & virtual drive information for the DG.

CONVENTION:
/cx - specifies the controller where X is the controller index
/dx - specifies the disk group where X is the dg index


NAME: Show Free space Information

DESCRIPTION: Displays the free space information from all disk
groups

SYNTAX: storcli /cx show freespace

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Foreign Configuration

DESCRIPTION: Displays the summary of the entire foreign configuration

SYNTAX: storcli /cx/fall show [all] [securityKey = xxx]

OPTIONS:
all - Displays the topology of foreign configuration
securityKey - security key for unlocking foreign configuration

CONVENTION:
/cx - specifies the controller where X is the controller index
/fall - specifies foreign configuration


NAME: Delete Foreign Configuration

DESCRIPTION: Deletes the specified foreign configuration

SYNTAX: storcli /cx/fall del|delete [securityKey = xxx]

OPTIONS:
securityKey - security key for unlocking foreign configuration

CONVENTION:
/cx - specifies the controller where X is the controller index
/fall - specifies foreign configuration


NAME: Import or Preview Foreign Configuration

DESCRIPTION: Imports foreign configuration or shows the preview of foreign
configuration

SYNTAX: storcli /cx/fall import [preview] [securityKey = xxx]

OPTIONS:
import - imports the specified foreign configuration
preview - this option overrides import and shows the preview of how the
configuration will look after import
securityKey - security key for unlocking foreign configuration

CONVENTION:
/cx - specifies the controller where X is the controller index
/fall - specifies foreign configuration


NAME: Toggle SSD caching

DESCRIPTION: Enable/Disable SSD caching on Virtual drive

SYNTAX: storcli /cx/vx set ssdcaching=on|off

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Make the Virtual drive hidden on or off

SYNTAX: storcli /cx/vx set hidden=on|off

DESCRIPTION: Enable/Disable hide property on specified Virtual drive

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Make the drive group Secure

SYNTAX: storcli /cx/dx set security=on

DESCRIPTION: Enable security on specified drive group

CONVENTION:
/cx - specifies the controller where X is the controller index
/dx - specifies the drive group where X is the drive group ID


NAME: Make the drive group hidden on or off

SYNTAX: storcli /cx/dx set hidden=on|off

DESCRIPTION: Enable/Disable hide on specified drive group

CONVENTION:
/cx - specifies the controller where X is the controller index
/dx - specifies the drive group where X is the drive group ID


NAME: Show virtual Drive Expansion

SYNTAX: storcli /cx/vx show expansion

DESCRIPTION: Displays VD expansion possibilities

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Expand virtual Drive

SYNTAX: storcli /cx/vx expand Size=<xx> [expandarray]

DESCRIPTION: Expands VD to the specified size in the array

OPTIONS:
expandarray - expand array if possible to accommodate the give size

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME : GET VPD

SYNTAX:
storcli /cx get vpd file=<fileName>

DESCRIPTION: Get the VPD data.Give the file name as input, data will populate in file.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Drive Information

SYNTAX: storcli /cx[/ex]/sx show

DESCRIPTION: This command shows the summary of the physical drive for specified
slot in the controller.If you use the all option, the command shows information
for all slots on the controller. x stands for a number, a list of numbers,
a range of numbers, or all numbers.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Detailed Drive Information

SYNTAX: storcli /cx[/ex]/sx show all

DESCRIPTION: This command shows all information of a physical drive for the
specified slot in the controller. If you use the all option, the command shows
information for all slots on the controller. x stands for a number, a list of
numbers, a range of numbers, or all numbers.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Start Drive Rebuild

SYNTAX: storcli /cx[/ex]/sx start rebuild

DESCRIPTION: This command starts a rebuild operation for a drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Stop Drive Rebuild

SYNTAX: storcli /cx[/ex]/sx stop rebuild

DESCRIPTION: This command stops a rebuild operation. You can run this command only
for a drive that is currently rebuilt.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Pause Drive Rebuild

SYNTAX: storcli /cx[/ex]/sx pause rebuild

DESCRIPTION: This command pauses an ongoing rebuild process. You can run this
command only for a drive that is currently rebuilt.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Resume Drive Rebuild

SYNTAX: storcli /cx[/ex]/sx resume rebuild

DESCRIPTION: This command resumes a paused rebuild process. You can run this
command only when a paused rebuild process for the drive exists.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Drive Rebuild Status

SYNTAX: storcli /cx[/ex]/sx show rebuild

DESCRIPTION: This command shows the progress of the rebuild process in
percentage.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Drive's accumulated power on hours

SYNTAX: storcli /cx[/ex]/sx show poh [ignoreselftest]

DESCRIPTION: This command performs self test and shows the accumlated power on hours of the drive.

The self test on the drive can be avoided by using option ignoreselftest

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Drive Smart information

SYNTAX: storcli /cx[/ex]/sx show smart

DESCRIPTION: This command shows the smart information of the drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Patrol read

SYNTAX: storcli /cx[/ex]/sx show patrolRead

DESCRIPTION: This command displays the current progress of the Patrol Read
and the estimated time to complete.
CONVENTION:
/cx - specifies the controller where X is the controller index
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Start Drive Copyback

SYNTAX: storcli /cx[/ex]/sx start copyback target=e:s

DESCRIPTION: This command starts a copyback operation for a drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Stop Drive Copyback

SYNTAX: storcli /cx[/ex]/sx stop copyback

DESCRIPTION: This command stops a copyback operation. You can run this command
only on drives that have the copyback operation running.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Pause Drive Copyback

SYNTAX: storcli /cx[/ex]/sx pause copyback

DESCRIPTION: This command pauses a copyback operation. You can run this command
only when there is a copyback operation for the drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Resume Drive Copyback

SYNTAX: storcli /cx[/ex]/sx resume copyback

DESCRIPTION: This command resumes a paused copyback operation.You can run this
command only when there is a paused copyback process for the drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Reset Drive PhyErrorCounters

SYNTAX: storcli /cx[/ex]/sx reset phyerrorcounters

DESCRIPTION: This command resets the drive phyerrorcounters
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Reset Drive/Slot ErrorCounters

SYNTAX: storcli /cx[/ex]/sx reset errorcounters type = <Value>

DESCRIPTION: This command resets the drive/slot errorcounters
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.
type - specifies whether to reset slot or drive error counters.
Value - Ranges from 1 to 2. When the drive is not present Value should always be 2.
1 - Drive error counters, 2 - Slot error counters.

NAME: Show Drive Copyback Status

SYNTAX: storcli /cx[/ex]/sx show copyback

DESCRIPTION: This command shows the progress of the copy back operation in
percentage.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Drive PhyErrorCounters

SYNTAX: storcli /cx[/ex]/sx show phyerrorcounters

DESCRIPTION: This command shows the drive phyerrorcounters
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Start Drive Initialization

SYNTAX: storcli /cx[/ex]/sx start initialization

DESCRIPTION: This command starts the initialization process on a drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Stop Drive Initialization

SYNTAX: storcli /cx[/ex]/sx stop initialization

DESCRIPTION: This command stops a initialization process running on the
specified drive. A stopped initialization process cannot be resumed.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Drive initialization Status

SYNTAX: storcli /cx[/ex]/sx show initialization

DESCRIPTION: This command displays the current progress of the initialization
progress in percentage, and the estimated time to completion.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Start Drive Locate

SYNTAX: storcli /cx[/ex]/sx start locate

DESCRIPTION: This command locates a drive and activates the drive’s LED.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Stop Drive Locate

SYNTAX: storcli /cx[/ex]/sx stop locate

DESCRIPTION: This command stops a locate operation and deactivates the drive’s
LED.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Drive KeyID

SYNTAX: storcli /cx[/ex]/sx show securitykey keyid

DESCRIPTION: This command shows the security keyID for secured physical drives.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Add Hot Spare Drive

SYNTAX: storcli /cx[/ex]/sx add hotsparedrive [DGs=<N|0,1,2...>]
[enclaffinity] [nonrevertible]

DESCRIPTION: This command creates a hotspare drive.

OPTIONS:
DGs - Specifies the drive group to which the hotspare drive is
dedicated.
enclaffinity - Specifies the enclosure to which the hotspare is associated
with. If this option is specified, affinity is set; if it is
not specified, there is no affinity.NOTE Affinity cannot be
removed once it is set for a hotspare drive.
nonrevertible- Sets the drive as a nonrevertible hotspare.
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Delete Hot Spare Drive

SYNTAX: storcli /cx[/ex]/sx delete hotsparedrive

DESCRIPTION: This command deletes a hotspare drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Spin Up Drive

SYNTAX: storcli /cx[/ex]/sx spinup

DESCRIPTION: This command spins up a spun-down drive and the drive state is
unconfigured good.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Spin Down Drive

SYNTAX: storcli /cx[/ex]/sx spindown

DESCRIPTION: This command spins down an unconfigured drive and prepares it for
removal. The drive state will be unchanged.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set Drive Online

SYNTAX: storcli /cx[/ex]/sx set online

DESCRIPTION: This command changes the drive state to online.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set Drive Offline

SYNTAX: storcli /cx[/ex]/sx set offline

DESCRIPTION: This command changes the drive state to offline.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set Drive Missing

SYNTAX: storcli /cx[/ex]/sx set missing

DESCRIPTION: This command marks a drive as missing.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set Drive JBOD

SYNTAX: storcli /cx[/ex]/sx set jbod

DESCRIPTION: This command sets the drive state to JBOD.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set Security on JBOD

SYNTAX: storcli /cx[/ex]/sx set security=on

DESCRIPTION: Sets Security on JBOD.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set Drive Good

SYNTAX: storcli /cx[/ex]/sx set good [force]

DESCRIPTION: This drive changes the drive state to unconfigured good. If the
drive has the operating system in it, use the force option.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Insert Drive to replace missing drive

SYNTAX: storcli /cx[/ex]/sx insert dg=A array=B row=C

DESCRIPTION: This command replaces the configured drive that is identified as
missing, and then starts an automatic rebuild.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.
A - Drive Group number
B - array number
C - row number in an array

NAME: Change Emulation Type setting

SYNTAX: storcli /cx/vx set emulationType=0|1|2

DESCRIPTION: This command sets the Emulation Type on a virtual drive to
default or none.

OPTIONS:
0 - default
1 - None
2 - 512E-force
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: set SCSI UNMAP setting

SYNTAX: storcli /cx/vx set Unmap=<On|Off>

DESCRIPTION: This command sets the SCSI UNMAP setting on a virtual drive to
On or Off.

OPTIONS:
On - enable
Off - disable
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show SCSI UNMAP setting

SYNTAX: storcli /cx/vx show Unmap

DESCRIPTION: This command shows the SCSI UNMAP setting on a virtual drive.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Sets the Cache bypass size and cache bypass mode setting

SYNTAX: storcli /cx/vx set cbsize=0|1|2 cbmode=0|1|2|3|4|7

DESCRIPTION: This command sets the Cache bypass size and cache bypass mode on a virtual drive
OPTIONS:
cbsize :
0 - 64k cache bypass
1 - 128k cache bypass
2 - 256k cache bypass
cbmode :
0 - Enable intelligent mode cache bypass
1 - Enable standard mode cache bypass
2 - Enable custom mode cache bypass 1
3 - Enable custom mode cache bypass 2
4 - Enable custom mode cache bypass 3
7 - Disable cache bypass
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID
Note: when cbmode is 7/Disable, user given cbsize will be ignored


NAME: Change Write cache setting

SYNTAX: storcli /cx/vx set wrcache=WT|WB|AWB

DESCRIPTION: This command sets the write cache policy on a virtual drive to
write back, write through, or always write back.

OPTIONS:
WT - Write Through
WB - Write Back
AWB - Write Back even in case of bad BBU also
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change Read cache setting

SYNTAX: storcli /cx/vx set rdcache=RA|NoRA

DESCRIPTION: This command sets the read cache policy on a virtual drive to
read ahead or no read ahead.

OPTIONS:
RA - Read Ahead
NoRA - No Read Ahead
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change IO Policy

SYNTAX: storcli /cx/vx set iopolicy=Cached|Direct

DESCRIPTION: This command sets the I/O policy on a virtual drive to cached I/O
or direct I/O.

OPTIONS:
Cached - IOs are cached
Direct - IOs are not cached
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change Access Policy

SYNTAX: storcli /cx/vx set access policy=RW|RO|Blocked|RmvBlkd

DESCRIPTION: This command sets the access policy on a virtual drive to
read write, read only, or blocked or rmvblkd (remove blocked).

OPTIONS:
RW - Access is Read Write
RO - Access is Read Only
Blocked - Access is Blocked
RmvBlkd - Remove Blocked Access
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change PD Cache Setting

SYNTAX: storcli /cx/vx set pdcache=On|Off|Default

DESCRIPTION: This command sets the current disk cache policy on a virtual drive
to on, off, or default setting.

OPTIONS:
On - Enables PD Caching
Off - Disables PD Caching
Default - PD Caching is set to Default
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change the VD name

SYNTAX: storcli /cx/vx set name=<NameString>

DESCRIPTION: This command names a virtual drive. The name is restricted to 15
characters.

OPTIONS:
NameString - VD name
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change the VD Host Access Property

SYNTAX: storcli /cx/vx set HostAccess=ExclusiveAccess|SharedAccess

DESCRIPTION: This command changes the Host-Access properties on a virtual drive

OPTIONS:
ExclusiveAccess - Host Access Policy as Exclusive Access
SharedAccess - Host Access Policy as Shared Access
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change Dimmer Switch Setting

SYNTAX: storcli /cx/vx set ds=Default|Auto|None|Max|MaxNoCache

DESCRIPTION:This command changes the power-saving properties on a virtual drive

OPTIONS:
Default - Controller Default Power saving options will be applied
Auto - Power Savings will be managed by Firmware
None - Power Savings will be disabled
Maximum - Maximum Power saving options will be applied
MaxNoCache - Maximum Power savings with no caching of writes will be applied
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Change auto BGI Setting

SYNTAX: storcli /cx/vx set autobgi=On|Off

DESCRIPTION: This command sets the auto background initialization setting for
a virtual drive to on or off.

OPTIONS:
On - Enables autobgi
Off - Disables autobgi
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Make Data Protection Disable

SYNTAX: storcli /cx/vx set pi=Off

DESCRIPTION: This command disables the data protection of a virtual drive.

OPTIONS:
Off - Disables Data protection
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show Virtual drive Information

SYNTAX: storcli /cx/vx show

DESCRIPTION: This command displays the summary of the virtual drive information

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show Virtual drive Information

SYNTAX: storcli /cx/vx show all [logfile[=filename]]

DESCRIPTION: This command displays all of the virtual drive information, which
includes virtual drive information, physical drives used for the
virtual drives, and virtual drive properties.

OPTION:
logfile - if file name is not specified it logs to storsas.log else to user given file
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show Initialization progress

SYNTAX: storcli /cx/vx show init

DESCRIPTION: This command displays the initialization progress of a virtual
drive in percentage.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show Check Consistency progress

SYNTAX: storcli /cx/vx show cc

DESCRIPTION: This command shows the progress of the consistency check
operation in percentage.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show erase progress

SYNTAX: storcli /cx/vx show erase

DESCRIPTION: This command shows the progress of the erase
operation in percentage.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Schedule a consistency check (CC) operation.

SYNTAX: storcli /cx set consistencycheck|cc=[off|seq|conc] [delay=value]
[starttime=yyyy/mm/dd hh] [excludevd=x-y,z|none]

DESCRIPTION: This command schedules a consistency check (CC) operation.
You can use the following options with the consistency check command:

OPTIONS:
consistencycheck|cc-Turns consistency checks on or off.
NOTE The concurrent mode slows I/O processing.
delay-Delay a scheduled consistency check. The value is in hours.
A value of 0 makes the CC run continuously with no delay(in a loop).
starttime-Start time of a consistency check is yyyy/mm/dd hh format.
excludevd-Excludes virtual drives from the consistency checks.To exclude
particular virtual drives, you can provide list of virtual drive IDs
(x,y, z format) or the range of virtual drives that you want to
exclude from a consistency check (x-y format). If this option is
not specified in the command, no virtual drives are excluded.
None: if user specifies as None, we will remove the Virtual drives
if any were excluded before.
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Get Scheduled CC Information.

SYNTAX: storcli /cx show cc|consistencycheck
DESCRIPTION: This command gets Scheduled ConsistencyCheck(CC) Information for the given adapter(s).
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Get Online Controller Reset Rate.

SYNTAX: storcli /cx show ocr
DESCRIPTION: This command gets Online Controller Reset Rate for the given adapter(s).

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Online Controller Reset Rate

SYNTAX: storcli /cx set ocr=<on|off>

DESCRIPTION: Enables Online Controller Reset Rate.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Get SESVPDAssociationTypeInMultiPathCfg value.

SYNTAX: storcli /cx show sesmultipathcfg
DESCRIPTION: Displays the association type for SES in Multipath config.

0 association type based on LUN

1 association type based on target port

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set SESVPDAssociationTypeInMultiPathCfg value

SYNTAX: storcli /cx set sesmultipathcfg=<on|off>

DESCRIPTION: Set the association type for SES in Multipath config.
0 association type based on LUN

1 association type based on target port

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Migrate operation progress

SYNTAX: storcli /cx/vx show migrate

DESCRIPTION: This command shows the progress of the virtual drive migrate
operation in percentage, and the time since the virtual drive migration
operation started.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show Background Initialization progress

SYNTAX: storcli /cx/vx show bgi

DESCRIPTION: This command displays the background initialization progress on
the specified virtual drive in percentage.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show Auto BGI setting

SYNTAX: storcli /cx/vx show autobgi

DESCRIPTION: This command displays the background initialization setting
for a virtual drive.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Start Initialization

SYNTAX: storcli /cx/vx start init[Full][Force]

DESCRIPTION: This command starts the initialization of a virtual drive.
The default initialization type is fast initialization. If the full
option is specified, then full initialization of the virtual drive starts.

OPTIONS:
Full - If specified then it is the full initialization otherwise it is Fast
initialization

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Securely erases virtual drives

SYNTAX: storcli /cx/vx start erase [simple| normal| thorough]
[patternA=<val>][patternB=<val>]

DESCRIPTION: Securely erases non-SED drives with specified erasepattern(s).

OPTIONS:
simple| normal| thorough - erase types
simple - Single pass, single pattern write
normal - Three pass, three pattern write
thorough - Nine pass, repeats the normal write 3 times
standard - Applicable only for NytroCache
PatternA|PatternB - an 8-Bit binary pattern to overwrite the data.
(Example:01001101)

CONVENTION:
/cx - specifies a controller where X is the controller index.
/vx - specifies the virtual drive where X is the vd ID


NAME: Start Check Consistency

SYNTAX: storcli /cx/vx start cc[Force]

DESCRIPTION: This command starts a consistency check operation for a
virtual drive. Typically, a consistency check operation is run on an
initialized virtual drive. The force option should be used to run a
consistency check on an uninitialized drive

OPTIONS:
Force - If specified then CC will start even if the VD is not initialized
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Start Migration

SYNTAX: storcli /cx/vx start migrate type=raidx [option=add|remove drives=[e:]s|[e:]s-x|[e:]s-x,y] [Force]

DESCRIPTION: Starts Migration on the specified virtual drive to a specified
raid level

OPTIONS:
raidx - Raid level to which migration needs to be done.
where x specifies the raid level value.
option -
add - adds the specified PD to the migrated raid level.
remove - removes the specified PD from the migrated raid level.
Drives - Specifies the list PD's which needs to be added or removed.
Force - If specified, then Migration will start even if any drive in the DG
is secured by FDE
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Stop Initialization

SYNTAX: storcli /cx/vx stop init

DESCRIPTION: This command stops the initialization of a virtual drive.
A stopped initialization cannot be resumed.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Stop Initialization

SYNTAX: storcli /cx/vx stop erase

DESCRIPTION: This command stops the erase operation of a virtual drive.
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Stop Check Consistency

SYNTAX: storcli /cx/vx stop cc

DESCRIPTION: This command stops a consistency check operation. You can run
this command only for a virtual drive that has a consistency check
operation running.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Stop Background Initialization

SYNTAX: storcli /cx/vx stop bgi

DESCRIPTION: This command stops a background initialization operation.
You can run this command only for a virtual drive that is currently
initialized.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Pause Check Consistency

SYNTAX: storcli /cx/vx pause cc

DESCRIPTION: This command pauses an ongoing consistency check process.
You can resume the consistency check at a later time. You can run this
command only on a virtual drive that has a consistency check operation
running.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Pause Background Initialization

SYNTAX: storcli /cx/vx pause bgi

DESCRIPTION: This command pauses a background initialization operation.
You can run this command only for a virtual drive that is currently initialized

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Resume Check Consistency

SYNTAX: storcli /cx/vx resume cc

DESCRIPTION: This command resumes a suspended consistency check operation.
You can run this command only when there is a paused consistency check
process for the virtual drive.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Resume Background Initialization

SYNTAX: storcli /cx/vx resume bgi

DESCRIPTION: This command resumes a suspended background initialization
operation.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: show system summary

SYNTAX: storcli show

DESCRIPTION: This command displays a summary of controller and
controller-associated information for the system. The summary
includes the number of controllers, the host name, the operating
system information, and the overview of existing configuration.



NAME: Controller count

SYNTAX: storcli show ctrlcount

DESCRIPTION: This command displays the number of controllers detected
in the server



NAME: Show version information of image

SYNTAX: storcli show file=<filepath>

DESCRIPTION: This command displays version information of key components
present in MR,IT firmware,and IT complete flash images which
are provided as input.



NAME: Show controller summary

SYNTAX: storcli /cx show

DESCRIPTION: This command shows the summary of the controller information.
The summary includes basic controller information,foreign
configurations, drive groups, virtual drives, physical drives,
enclosures, and BBU information.

CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Show controller information

SYNTAX: storcli /cx show all [logfile[=filename]]

DESCRIPTION: This command shows all of the controller information, which
includes basic controller information, bus information,controller
status, advanced software options, controller policies, controller
defaults, controller capabilities, scheduled tasks, miscellaneous
properties, foreign configurations, drive groups, virtual drives,
physical drives, enclosures, and BBU information.

OPTION:
logfile - if file name is not specified it logs to storsas.log else to user given file
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Show Preserved Cache

SYNTAX: storcli /cx show preservedcache

DESCRIPTION: Command displays list of vds that have pinned cache.
It also displays VD state i.e offline or missing.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/vx - specifies a virtual drive where X is the virtual drive ID.


NAME: Delete Preserved Cache

SYNTAX: storcli /cx/vx delete preservedcache[force]

DESCRIPTION: Command discards pinned cache of Vd.
It also displays VD state i.e offline or missing.

OPTION:
force - force option must be specified when preserved cache associated
with Offline vd(s) must be discarded.Offline VD(s) will be deleted
on discarding the preserved cache associated with them.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/vx - specifies a virtual drive where X is the virtual drive ID.


NAME: Download Drive Firmware

SYNTAX: storcli /cx[/ex]/sx download src=<filepath> [satabridge] [mode= 5|7] [parallel] [force]

DESCRIPTION: This command flashes the firmware with the specified file. The
satabridge option lets you download the SATA bridge firmware in online mode.

OPTIONS:
satabridge - must be specified if target device is SATA

mode - supported mode are 5 and 7. For Sandforce DFF's use mode 5

parallel - must be specified if parallel download is needed on selected drives

force - Use force download

Note: This command takes mode 7 as default. On failure to download using

mode 7 attempts to download drive firmware using mode 5.

For Sandforce DFF's use mode 5

NOTE: satabridge, parallel, force options are supported only for MRCONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Download Drive Firmware Status

SYNTAX: storcli /cx[/ex]/sx download status

DESCRIPTION: This command gets the firmware download status information.
OPTIONS:
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Download Enclosure Firmware

SYNTAX: storcli /cx/ex download src=<filepath> [forceActivate]

DESCRIPTION: This command flashes the firmware with the file specified at the
command line. The enclosure performs an error check after the operation.

OPTIONS:
forceActivate - This option is used primarily to activate Scotch Valley
Enclosures.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.


NAME: Download Drive Firmware

SYNTAX: storcli /cx[/ex]/sx download src=<filepath> mode= E offline [activatenow] [delay=<val>]

DESCRIPTION: This command flashes the firmware with the specified file. The
Mode E lets you download the firmware file without activation.

OPTIONS:
activatenow - must be specified if activation needs to happen immediately

The default delay will be 15 seconds. The user can enter any delay from 1 to 300 seconds. Delay is only
for activation and not for download. CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Download Drive Firmware

SYNTAX: storcli /cx[/ex]/sx download mode=F offline [delay=<value>]

DESCRIPTION: This command is for activation of the downloaded file
and it must be preceded by a Mode E download.

OPTIONS:
The default delay will be 15 seconds. The user can enter any delay from 1 to 300 seconds.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Securely Erase Drive

SYNTAX: storcli /cx[/ex]/sx secureerase [force]

DESCRIPTION: This command erases the drive's security configuration and securely
erases data on a drive. You can use the force option as a confirmation to erase
the data on the drive and the security information.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Securely erases non-SED Drives

SYNTAX: storcli /cx[/ex]/sx start erase
[simple| normal| thorough| standard| threepass | crypto]
[patternA=<val>][patternB=<val>]

DESCRIPTION: Securely erases non-SED drives with specified erasepattern(s).

OPTIONS:
simple| normal| thorough| standard| threepass- erase types
simple - Single pass, single pattern write
normal - Three pass, three pattern write
thorough - Nine pass, repeats the normal write 3 times
standard - Applicable only for DFF's
threepass - Three pass, pass1 random pattern write, pass2,3 write zero, verify
crypto - Applicable only for ISE capable drives
PatternA|PatternB - an 8-Bit binary pattern to overwrite the data.
(Example:01001101)

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Stops secure erase

SYNTAX: storcli /cx[/ex]/sx stop erase

DESCRIPTION: Stops secure erase on non-SED Drives.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show drive secure erase status.

SYNTAX: storcli /cx[/ex]/sx show erase

DESCRIPTION: Displays the status as percentage of secure erase completed.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show JBOD Drive Information

SYNTAX: storcli /cx[/ex]/sx show jbod
DESCRIPTION: This command shows the summary of the JBOD drive for specified
slot in the controller. If you use the all option, the command shows information
for all slots on the controller. x stands for a number, a list of numbers,
a range of numbers, or all numbers.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show Detailed JBOD Drive Information

SYNTAX: storcli /cx[/ex]/sx show jbod all
DESCRIPTION: This command shows all information of a JBOD drive for the
specified slot in the controller. If you use the all option, the command shows
information for all slots on the controller. x stands for a number, a list of
numbers, a range of numbers, or all numbers.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Delete JBOD Drive

SYNTAX: storcli /cx[/ex]/sx del jbod [force]
DESCRIPTION: This command deletes a particular JBOD drive or when the all
option is used, all the JBOD drives on the controller are deleted.

x stands for a number, list of numbers, range of numbers, or all numbers.

OPTIONS:
force - deletes JBOD drive with operating system.
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set/Unset physical drive as Boot Drive

SYNTAX: storcli /cx[/ex]/sx set bootdrive=<on|off>

DESCRIPTION: Sets or unsets a physical drive as Boot Drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Set/Unset Virtual Drive as Boot Drive

SYNTAX: storcli /cx/vx set bootdrive=<on|off>

DESCRIPTION: Sets or unsets a virtual drive as Boot Drive.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/vx - specifies a virtual drive where X is the target ID.


NAME: Show Boot Drive for the controller

SYNTAX: storcli /cx show bootdrive

DESCRIPTION: Show Boot Drive for the controller.

CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Set bootwithpinnedcache on controller

SYNTAX: storcli /cx set bootwithpinnedcache=<on|off>

DESCRIPTION: Set bootwithpinnedcache controller property to on or off.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show bootwithpinnedcache

SYNTAX: storcli /cx show bootwithpinnedcache
DESCRIPTION:Displays whether booting of controller with pinned cache
is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set activityforlocate on controller

SYNTAX: storcli /cx set activityforlocate=<on|off>

DESCRIPTION: Enables drive activity LED is toggled for LOCATE.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show activityforlocate

SYNTAX: storcli /cx show activityforlocate
DESCRIPTION:Displays whether use disk activity for locate is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set copyback=on on controller

SYNTAX: storcli /cx set copyback=<on|off> type=smartssd|smarthdd|all

DESCRIPTION: Set copyback controller property to on or off for the specified type.
If type is 'all',copyback property on controller is set for
both smartssd and smarthdd as well as controller copyback bit.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show copyback

SYNTAX: storcli /cx show copyback
DESCRIPTION:Displays whether copy back for drive types is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set jbod on controller

SYNTAX: storcli /cx set jbod=<on|off> [force]

DESCRIPTION: Enables or Disables JBOD mode. If Enabled, by default drives become system drives
OPTIONS:
force - It is used when the system has any JBOD with OS/FS on it.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show jbod

SYNTAX: storcli /cx show jbod
DESCRIPTION:Displays whether JBOD mode is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Assemblynumber On Controller

SYNTAX: storcli /cx set assemblynumber= xxxx

DESCRIPTION:The entire assembly value must be provided, and it
will be programmed directly to the controller
The value is 16 characters long and will be truncated
or padded with termination characters as needed.

CONVENTION:
/cx - specifies the controller where X is the controller index

Note: This command supports only IT Controllers


NAME: Show assemblynumber

SYNTAX: storcli /cx show assemblynumber

DESCRIPTION:Displays assemblynumber on the controller

CONVENTION:
/cx - specifies the controller where X is the controller index

Note: This command supports only IT Controllers


NAME: Set tracernumber on controller

SYNTAX: storcli /cx set tracernumber= xxxx

DESCRIPTION:The board tracer value must be provided on the command line
it will be programmed directly to the controller
The value is 16 characters long and will be truncated
or padded with termination characters as needed.
CONVENTION:
/cx - specifies the controller where X is the controller index

Note: This command supports only IT Controllers


NAME: Show tracernumber

SYNTAX: storcli /cx show tracernumber
DESCRIPTION:Displays tracernumber on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Set VPD information on Controller

SYNTAX: storcli /cx set updatevpd file=<input vpd file>
DESCRIPTION:Lets the caller program a vital product data file to the specified
controller. The file is provided on the command line, is parsed, and the data
is programmed to the appropriate location in non-volatile storage.
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Download EFI BIOS image

SYNTAX: storcli /cx download efibios file=<filepath>
DESCRIPTION:Downloads the EFI BIOS image
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Download CPLD image

SYNTAX: storcli /cx download cpld file=<filepath>
DESCRIPTION:Downloads the CPLD image
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Download BIOS image

SYNTAX: storcli /cx download bios file=<filepath>
DESCRIPTION:Downloads the BIOS image
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Download FCODE image

SYNTAX: storcli /cx download fcode file=<filepath>
DESCRIPTION:Downloads the FCODE image
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME:

SYNTAX: storcli /cx erase nvsram
DESCRIPTION:Clear or erase the NVSRAM region
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME:

SYNTAX: storcli /cx erase fwbackup
DESCRIPTION:Clear or erase the firmware backup region
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME:

SYNTAX: storcli /cx erase bootservices
DESCRIPTION:Clear or erase the boot services region.
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME:

SYNTAX: storcli /cx erase all [excludemfg] [file=filename]
DESCRIPTION:Clear or erase the complete flash region.
excludemfg - this option erases the flash region, but retains
the manufacturing data region
file - Bootloader image file(Applicable in case of MR controllers)
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports operational and non-operational IT Controllers
and only operational MR controllers.


NAME:

SYNTAX: storcli /cx erase perconfpage
DESCRIPTION:Clear or erase the persistent configuration page
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME:

SYNTAX: storcli /cx erase mpb
DESCRIPTION:Clear or erase the manufacturing region
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME:

SYNTAX: storcli /cx erase all [file=filename]
DESCRIPTION:Clear or erase the complete flash region
file - Bootloader image file(Applicable in case of MR controllers)
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports operational and non-operational IT Controllers
and only operational MR controllers.


NAME: Show boardname

SYNTAX: storcli /cx show boardname
DESCRIPTION:Displays boardname on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Set sasadd on controller

SYNTAX: storcli /cx set sasadd = xxxx [devicename] [methodport]

DESCRIPTION:The entire SAS address must be provided and
it will be programmed directly on the controller
devicename : Allow programming of DeviceName along with SAS address.
methodport : Set the SAS Address programming method to Port.
CONVENTION:
/cx - specifies the controller where X is the controller index

Note: This command supports only IT Controllers


NAME: Set sasaddhi and sasaddlow on controller

SYNTAX: storcli /cx set sasaddhi = xxxx sasaddlow = xxxx [devicename] [methodport]

DESCRIPTION:SAS address high command lets the caller program a SAS address
The sasaddhi will have 28 bits of the SAS address and
to the specified controller. saslow will have 36 bits and
the value will be programmed to the controller.
devicename : Allow programming of DeviceName along with SAS address.
methodport : Set the SAS Address programming method to Port.
CONVENTION:
/cx - specifies the controller where X is the controller index

Note: This command supports only IT Controllers


NAME: Show sasadd

SYNTAX: storcli /cx show sasadd
DESCRIPTION:Displays SAS address on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


NAME: Set autorebuild state

SYNTAX: storcli /cx set autorebuild=<on|off>
DESCRIPTION:Enables or disables automatic rebuild on the selected adapter(s).
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set ldlimit

SYNTAX: storcli /cx set ldlimit=<default|max>
DESCRIPTION: Configures ldlimit .
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show autorebuild state

SYNTAX: storcli /cx show autorebuild
DESCRIPTION:Displays whether automatic rebuild mode is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set autoconfig state

SYNTAX: storcli /cx set autoconfig [= < none | R0 [immediate] | JBOD > ]
[[sesmgmt=on/off] [securesed=on/off]
[multipath=on/off] [multiinit=on/off]]
DESCRIPTION:Enables or disables autoconfig on the selected adapter(s).
none - Disable autoconfig
r0 - Autoconfig for single PD as R0
jbod - Autoconfig each PD as JBOD
OPTIONS:
immediate - configure unconfigured-pds once and will not configure
any newly inserted UG drives and this option is only for R0

sesmgmt - enables | disables SES management.
securesed - enables | disables Security on SED
multiinit - enables | disables Multi init
multipath - enables | disables Multi path
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show autoconfig state

SYNTAX: storcli /cx show autoconfig
DESCRIPTION:Displays the type of autoconfig enabled
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set cachebypass on controller

SYNTAX: storcli /cx set cachebypass=<on|off>

DESCRIPTION: Enables cache-bypass-performance-improvement feature.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show cachebypass

SYNTAX: storcli /cx show cachebypass
DESCRIPTION:Displays whether cache-bypass-performance-improvement
feature is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set usefdeonlyencrypt on controller

SYNTAX: storcli /cx set usefdeonlyencrypt=<on|off>

DESCRIPTION: Enables FDE drive-based encryption.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show usefdeonlyencrypt

SYNTAX: storcli /cx show usefdeonlyencrypt
DESCRIPTION:Displays whether FDE drive-based encryption is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set prcorrectunconfiguredareas on controller

SYNTAX: storcli /cx set prcorrectunconfiguredareas=<on|off>

DESCRIPTION: Correct media errors during PR by writing 0s
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show prcorrectunconfiguredareas

SYNTAX: storcli /cx show prcorrectunconfiguredareas
DESCRIPTION:Displays whether correction of media errors during PR
by writing 0s is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set batterywarning on controller

SYNTAX: storcli /cx set batterywarning=<on|off>

DESCRIPTION: Enables battery warnings
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show batterywarning

SYNTAX: storcli /cx show batterywarning
DESCRIPTION:Displays whether battery warnings are enabled or disabled
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set abortcconerror on controller

SYNTAX: storcli /cx set abortcconerror=<on|off>

DESCRIPTION:Aborts consistency check when it detects an inconsistency.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show abortcconerror

SYNTAX: storcli /cx show abortcconerror
DESCRIPTION:Displays whether aborting of consistency check
when it detects an inconsistency is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set ncq on controller

SYNTAX: storcli /cx set ncq=<on|off>

DESCRIPTION: Enables native command queuing in SATA drives.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set ncq on controller

SYNTAX: storcli /cx set configautobalance=<on|off>

DESCRIPTION: Enables Configuration AutoBalance on controller .
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show ncq

SYNTAX: storcli /cx show ncq
DESCRIPTION:Displays whether native command queuing in SATA drives is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show ncq

SYNTAX: storcli /cx show configautobalance
DESCRIPTION:Displays Whether Configuration AutoBalance enabled or disabled on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set maintainpdfailhistory on controller

SYNTAX: storcli /cx set maintainpdfailhistory=<on|off>

DESCRIPTION: Maintains the physical drive fail history.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show maintainpdfailhistory

SYNTAX: storcli /cx show maintainpdfailhistory
DESCRIPTION:Displays whether maintaining of physical drive fail history is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set restorehotspare on controller

SYNTAX: storcli /cx set restorehotspare=<on|off>

DESCRIPTION: Becomes a hotspare on insertion of a failed drive.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show restorehotspare

SYNTAX: storcli /cx show restorehotspare
DESCRIPTION:Displays whether restoring of hotspare on
insertion of a failed drive is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set bios on controller

SYNTAX: storcli /cx set bios [state=<on|off>] [Mode=<SOE|PE|IE|SME>]
[abs=<on|off>] [DeviceExposure=<value>]

Only the following combinations are supported
a) storcli /cx set bios state=<on|off>
b) storcli /cx set bios Mode=<SOE|PE|IE|SME>
c) storcli /cx set bios abs=<on|off>
d) storcli /cx set bios DeviceExposure=<value>

DESCRIPTION: Set bios controller property to on or off.
Mode - Sets the BIOS Boot mode.

OPTIONS:
SOE - Stop on errors
PE - Pause on errors
IE - Ignore errors
SME - Safe mode on errors
abs - Enables|Disables the auto boot select.

DeviceExposure - Number of devices to be exposed.
value range is 0-255
Value 0 and 1: Expose all
Value 2 - 255: Actual number of devices to be exposed

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show bios

SYNTAX: storcli /cx show bios
DESCRIPTION:Displays the value of controller bios.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set alarm on controller

SYNTAX: storcli /cx set alarm=<on|off|silence>

DESCRIPTION: Enables alarm on critical errors.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show alarm

SYNTAX: storcli /cx show alarm
DESCRIPTION:Displays whether controller alarm is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set foreignautoimport on controller

SYNTAX: storcli /cx set foreignautoimport=<on|off>

DESCRIPTION: Imports foreign configuration automatically, at boot.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show foreignautoimport

SYNTAX: storcli /cx show foreignautoimport
DESCRIPTION:Displays whether importing of foreign configuration
automatically at boot is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set directpdmapping on controller

SYNTAX: storcli /cx set directpdmapping=<on|off>

DESCRIPTION: Enables direct physical drive mapping; disabling makes the
physical drive mapping persistent.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show directpdmapping

SYNTAX: storcli /cx show directpdmapping
DESCRIPTION:Displays whether direct physical drive mapping is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set rebuildrate on controller

SYNTAX: storcli /cx set rebuildrate=<value>

DESCRIPTION: Set the rebuildrate percentage to the value specified.
value range is 0-100
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show rebuildrate

SYNTAX: storcli /cx show rebuildrate
DESCRIPTION:Displays rebuild rate of the drive in percentage.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set loadbalancemode on controller

SYNTAX: storcli /cx set loadbalancemode=<on|off>

DESCRIPTION: Enables automatic load balancing.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show loadbalancemode

SYNTAX: storcli /cx show loadbalancemode
DESCRIPTION:Displays whether automatic load balancing is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set eghs on controller

SYNTAX: storcli /cx set eghs [state=<on|off>] [eug=<on|off>] [smarter=<on|off>]

DESCRIPTION:
state : Enables use of hotspare drives for emergency feature.
eug : Enables use of unconfigured good drives for emergency feature.
smarter: Enables use of emergency spares for copy back during SMART errors.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show eghs

SYNTAX: storcli /cx show eghs
DESCRIPTION:
Displays whether use of hotspare drives for
emergency feature is enabled or disabled.
Enables use of unconfigured good drives for emergency feature.
Displays whether use of emergency spares for copy back
during SMART errors is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set cacheflushinterval on controller

SYNTAX: storcli /cx set cacheflushint=<value>

DESCRIPTION: Set cache flush interval in seconds.
value range is 0-255
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show cacheflushint

SYNTAX: storcli /cx show cacheflushint
DESCRIPTION:Displays cache flush interval in seconds.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set prrate on controller

SYNTAX: storcli /cx set prrate=<value>

DESCRIPTION: Sets patrol read rate of the virtual drives in percentage.
value range is 0-100
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show prrate

SYNTAX: storcli /cx show prrate
DESCRIPTION:Dislays patrol read rate of the virtual drives in percentage.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set ccrate on controller

SYNTAX: storcli /cx set ccrate=<value>

DESCRIPTION: Sets check consistency rate in percentage.
value range is 0-100
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show ccrate

SYNTAX: storcli /cx show ccrate
DESCRIPTION:Displays consistency check rate in percentage.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set bgirate on controller

SYNTAX: storcli /cx set bgirate=<value>

DESCRIPTION: Sets background initialization rate in percentage.
value range is 0-100
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show bgirate

SYNTAX: storcli /cx show bgirate
DESCRIPTION:Displays background initialization rate in percentage.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set DPM on controller

SYNTAX: storcli /cx set dpm=<on|off>

DESCRIPTION: Enables Drive Performance Monitoring on controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show dpm

SYNTAX: storcli /cx show dpm
DESCRIPTION:Displays Drive Performance Monitoring on controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set sgpioforce on controller

SYNTAX: storcli /cx set sgpioforce=<on|off>

DESCRIPTION: Enables force sgpio on controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show sgpioforce

SYNTAX: storcli /cx show sgpioforce
DESCRIPTION:show force sgpio on controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set migraterate on controller

SYNTAX: storcli /cx set migraterate=<value>

DESCRIPTION: Sets data migration rate in percentage.
value range is 0-100
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Patrol read for SSD drives

SYNTAX: storcli /cx set supportssdpatrolread=<on|off>

DESCRIPTION: Enables or Disables Patrol read for SSD drives
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show migraterate

SYNTAX: storcli /cx show migraterate
DESCRIPTION:Displays data migration rate in percentage.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set spinupdrivecount on controller

SYNTAX: storcli /cx set spinupdrivecount=<value>

DESCRIPTION: Sets number of drives that are spun up.
value range is 0-255
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show spinupdrivecount

SYNTAX: storcli /cx show spinupdrivecount
DESCRIPTION:Displays number of drives that are spun up.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show wbsupport

SYNTAX: storcli /cx show wbsupport
DESCRIPTION:Displays write back support on the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set spinupdelay on controller

SYNTAX: storcli /cx set spinupdelay=<value>

DESCRIPTION: Sets spin up delay in seconds.
value range is 0-255
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show spinupdelay

SYNTAX: storcli /cx show spinupdelay
DESCRIPTION:Displays spin up delay in seconds.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set coercion on controller

SYNTAX: storcli /cx set coercion=<value>

DESCRIPTION: Sets drive capacity in coercion mode.
coercion : value can [(0)No coercion | (1)128MB | (2)1GB]
CONVENTION :
/cx - specifies the controller where X is the controller index


NAME: Show coercion

SYNTAX: storcli /cx show coercion
DESCRIPTION:Displays the value of coercion mode
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set limitMaxRateSATAto3G on controller

SYNTAX: storcli /cx set limitMaxRateSATA=on|off

DESCRIPTION: Sets controllers limitMaxRateSATAto3G.
value can be on or off
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show limitMaxRateSATAto3G

SYNTAX: storcli /cx show limitMaxRateSATA
DESCRIPTION:Displays the value of limitMaxRateSATAto3G
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set HDDThermalPollInterval on controller

SYNTAX: storcli /cx set HDDThermalPollInterval=<value>

DESCRIPTION: Set time for HDD Thermal Poll interval in seconds.
value range is 1-65535
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show HDDThermalPollInterval

SYNTAX: storcli /cx show HDDThermalPollInterval
DESCRIPTION:Displays the value of HDD Thermal poll interval in seconds.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set SSDThermalPollInterval on controller

SYNTAX: storcli /cx set SSDThermalPollInterval=<value>

DESCRIPTION: Set time for SSD Thermal Poll interval in seconds.
value range is 1-65535
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show SSDThermalPollInterval

SYNTAX: storcli /cx show SSDThermalPollInterval
DESCRIPTION:Displays the value of SSH Thermal poll interval in seconds.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set smartpollinterval on controller

SYNTAX: storcli /cx set smartpollinterval=<value>

DESCRIPTION: Set time for polling of SMART errors in seconds.
value range is 0-65535
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show smartpollinterval

SYNTAX: storcli /cx show smartpollinterval
DESCRIPTION:Displays the value of polling of SMART errors in seconds.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set eccbucketsize on controller

SYNTAX: storcli /cx set eccbucketsize=<value>

DESCRIPTION: Sets size of ECC single-bit-error bucket (logs event when full).
value range is 0-255
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show eccbucketsize

SYNTAX: storcli /cx show eccbucketsize
DESCRIPTION:Displays the size of ECC single-bit-error bucket.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set eccbucketleakrate on controller

SYNTAX: storcli /cx set eccbucketleakrate=<value>

DESCRIPTION: Sets leak rate of the single-bit bucket in minutes
(one entry removed per leak-rate).
value range is greater than 0 and less than 65535
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show eccbucketleakrate

SYNTAX: storcli /cx show eccbucketleakrate
DESCRIPTION:Displays the value of leak rate of the single-bit bucket in minutes.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set backplane on controller

SYNTAX: storcli /cx set backplane mode=<value> expose=<on/off>

DESCRIPTION: Detects backplane of controller.
mode : value can [(0)autosgpioi2c|(1)autosgpio|(2)autoi2c|(3)all]
expose: Enables device drivers to expose enclosure devices.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show backplane

SYNTAX: storcli /cx show backplane
DESCRIPTION:Displays the value of backplane of controller.
Displays whether device drivers to expose enclosure
devices is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show perfmode

SYNTAX: storcli /cx show perfmode
DESCRIPTION:Displays the value of Performance tuning for the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set perfmode on controller

SYNTAX: storcli /cx set perfmode=<value> [maxflushlines=<value> numiostoorder=<value>]

DESCRIPTION: Performance tuning parameter setting for the controller.
value for perfmode must be 0 or 1
value for maxflushlines must be 0 to 255
value for numiostoorder must be 0 to 25
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show perfmode values

SYNTAX: storcli /cx show perfmodevalues
DESCRIPTION:Displays the value of Performance tuning parameter for the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Data Protection state on controller

SYNTAX: storcli /cx set pi [state=<on|off>] [import=<on|off>]

DESCRIPTION:
state :Enables or disables Data protection on controller.
import:Enables or disables import Data protection drives on controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Data Protection

SYNTAX: storcli /cx show pi
DESCRIPTION:Displays whether the Data Protection is enabled on controller.
Displays the state of Import Data Protection on controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set controller time

SYNTAX: storcli /cx set time=<options>

DESCRIPTION: Sets the controller time to your input value or the system time.
Where options are,
time=yyyymmdd hh:mm:ss, set time to specified time.
time=systemtime, set controller time to the system time.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show time

SYNTAX: storcli /cx show time
DESCRIPTION:Displays the controller time.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Dimmer Switch options on controller

SYNTAX: storcli /cx set DS(Dimmer Switch) option

Only the following combinations are supported.
a)storcli /cx set ds=OFF type=1|2|3|4
b)storcli /cx set ds=ON type=1|2 [properties]
c)storcli /cx set ds=ON type=3|4 DefaultLdType=<val> [properties]
d)storcli /cx set ds [properties]

DESCRIPTION: Set power saving option in controller.
Where type=[ 1(unconfigured) | 2(HotSpare)| 3(VirtualDisk)| 4(all) ]
properties =[DisableLdPS=starttime(hh:mm) interval=hh]
[SpinDownTime=30-1440 (min)]
[SpinUpEncDrvCnt=<val> where val ranges from 0-255]
[SpinUpEncDelay=<val>]
DefaultLdType =[ auto| none| max| maxnocache ]

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Dimmer Switch option on controller


SYNTAX: storcli /cx show ds(DimmerSwitch)

DESCRIPTION:Displays the current dimmer switch setting on controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Advanced Software Options (aso) on controller

SYNTAX: storcli /cx set aso option

Only the following combinations are supported.
a)storcli /cx set aso key=<key value> preview
b)storcli /cx set aso key=<key value>
c)storcli /cx set aso transfertovault
d)storcli /cx set aso rehostcomplete
e)storcli /cx set aso deactivatetrialkey

DESCRIPTION: Advanced Software Options in controller.
Where option
a)If preview, displays the preview of the advanced software options
that gets enabled after applying this key on the Controller else
apply the value of the activation key to enable the ASO.
b)If deactivatestrialkey,deactivate the trail key on the Controller.
c)If transfertovault,transfers the ASO to key vault.
d)If rehostcomplete,does the rehosting on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show the Safeid of controller


SYNTAX: storcli /cx show safeid

DESCRIPTION:Displays the Safeid on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show the Host Information on controller


SYNTAX: storcli /cx show rehostinfo

DESCRIPTION:Display there host information and if re-hosting is necessary,
show the controller and key vault serial number.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show pci info

SYNTAX: storcli /cx show pci
DESCRIPTION:Displays the pci information for the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Shows the Advanced Software Options (ASO) that are enabled on the
controller

SYNTAX: storcli /cx(x|all) show ASO.
DESCRIPTION: This command shows the Advanced Software Options (ASO) that are
enabled on the controller including the ones in trial mode.
NOTE Mode Column indicates whether the software is "Secured" or "Trail" or
"Factory installed" depending upon the current status of controller
Firmware. "Unsupported" will be shown along with the above said mode
when that particular software is not supported by the firmware.
But these values will be shown only if there is a key vault present.
Otherwise '-' will be shown.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: sets factory defaults on the controller.

SYNTAX:
storcli /cx set factory defaults

DESCRIPTION: Command sets the factory defaults on the selected adapter(s).
/cx - specifies the controller where X is the controller index


NAME: Download or Flash controller firmware

SYNTAX:
storcli /cx download file=<filepath> [fwtype=<val>] [ResetNow] [nosigchk] [noverchk] [force]

DESCRIPTION: Download or Flash controller firmware.
a)If resetNow, Invokes Online f/w Update
b)If nosigchk, flashes the f/w even if the check word on the
file does not match the required check word for the ctrl.
c)If noverchk,flashes the controller f/w without checking
the version of the f/w image.
e)fwtype=[0(APP) | 1(TMMC) | 2(GG-Enhanced)]. Default - 0(APP).
f)If force, flashes the f/w even if it is unsupported.
g)file should be the abs path for f/w image.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Download or Flash the IT controller firmware

SYNTAX:
storcli /cx download file=<filepath> [noverchk] [noreset] [forcehcb]

DESCRIPTION: Download or Flash controller firmware.
a)If noverchk,Downgrade the controller f/w without checking
the version of the f/w image between the phases .
b)If noreset,Reset will not be issued,provided certain conditions are met.
c)If forcehcb, Performs hostboot forcefully.The forcehcb option is supported only in UEFI
d)file should be the abs path for f/w image.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Flush Adapter/Drive cache

SYNTAX:
storcli /cx flush|flushcache

DESCRIPTION: Flushes the adapter cache and/or disk caches.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Flush Adapter/Drive cache

SYNTAX:
storcli /cx [start] flush|flushcache [cachecade | ALL]

DESCRIPTION: Flushes the adapter cache and/or disk caches.
CONVENTION:
/cx - specifies the controller where X is the controller index
With cachecade option starts flushing the cache
With ALL option starts flushing Adapter, disk cache


NAME: Stop Flushing Drive cache

SYNTAX:
storcli /cx stop flush|flushcache cachecade

DESCRIPTION: Stops flushing the adapter cache on cachecade drives.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Flush Drive cache status

SYNTAX:
storcli /cx show flush|flushcache cachecade

DESCRIPTION: Show the number of Dirty Windows and flush count.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set PHY Link speed on controller

SYNTAX: storcli /cx/px set linkspeed=0|1.5|3|6|12

DESCRIPTION: Set phy linkspeed on the controller.
Where 0,1.5,3,6,12 are the speed in Gb/s

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set PCIe lane speed on controller

SYNTAX: storcli /cx/lnx set lanespeed=0|2.5|5|8|16

DESCRIPTION: Set lanespeed on the controller.
Where 0,2.5,5,8,16 are the speed in GT/s

CONVENTION:
/cx - specifies the controller where X is the controller index
/lnx - specifies the lane where X is the lane index


NAME: Compare PHY Linkspeed on controller

SYNTAX: storcli /cx/px compare linkspeed=yy

DESCRIPTION: Compare phy linkspeed on the controller.
CONVENTION:
/cx - specifies the controller where x is the controller index
/px - specifies the PHY where x is the PHY number
yy - specifies the linkspeed
<speed> can be 0,1,2,3,4,5,6,or 7 where 0-(Link-Down), 1-(3Gbps), 2-(6Gbps), 3-(12Gbps), 4-(2.5GTps), 5-(5.0 GTps), 6-(8.0 GTps), 7-(16.0 GTps)


NAME: Compare BIOS version on the controller

SYNTAX: storcli /cx compare bios ver =<bios version>

DESCRIPTION : Compare BIOS version of the controller with the user provided version.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Compare Firmware product ID version on the controller

SYNTAX: storcli /cx compare fwprodid ver =<fw product id version>

DESCRIPTION : Compare FW product ID of the controller with the user provided version.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Compare SSID version on the controller

SYNTAX: storcli /cx compare ssid ver =<ssid version>

DESCRIPTION : Compare SubSystemID of the controller with the user provided version.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Compare firmware version on the controller

SYNTAX: storcli /cx compare firmware ver =<firmware version>

DESCRIPTION : Compare firmware version of the controller with the user provided version.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Upload BIOS image

SYNTAX: storcli /cx get bios file=<filename>
DESCRIPTION : Uploads BIOS image from the controller to the specified file.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Upload Firmware image

SYNTAX: storcli /cx get firmware file=<filename>
DESCRIPTION : Uploads Firmware image from the controller to the specified file.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Upload MPB image

SYNTAX: storcli /cx get mpb file=<filename>
DESCRIPTION : Uploads MPB image from the controller to the specified file.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Upload FWbackup image

SYNTAX: storcli /cx get fwbackup file=<filename>
DESCRIPTION : Uploads FWbackup image from the controller to the specified file.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Upload NVDATA image

SYNTAX: storcli /cx get nvdata file=<filename>
DESCRIPTION : Uploads NVDATA image from the controller to the specified file.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Upload Flash image

SYNTAX: storcli /cx get flash file=<filename>
DESCRIPTION : Uploads Flash image from the controller to the specified file.
CONVENTION:
/cx - specifies the controller where x is the controller index


NAME: Set SBR
SYNTAX: storcli cx set sbr
DESCRIPTION: Sets SBR
CONVENTION:
Compares Current
Mfg Page 2 with Default Mfg Page2. If there is a mis-match between
these two, then Default version will be written to the NVRAM.
This will in-turn update the SBR, so that SBR values match with the Persistent
Mfg Page2 values after an reset/reboot has been done manually
/cx - specifies the controller where X is the controller index


NAME: Show PHY information.

SYNTAX: storcli /cx/px show

DESCRIPTION:Show basic PHY layer information

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Lane information.

SYNTAX: storcli /cx/lnx show

DESCRIPTION:Show pcie lane information

CONVENTION:
/cx - specifies the controller where X is the controller index
/lnx - specifies the controller where X is the lane index


NAME: Show Link config information.

SYNTAX: storcli /cx show linkconfig

DESCRIPTION:Show pcie link information

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set PCIe Link configuration.

SYNTAX: storcli /cx set linkconfig [connname=cx,cy] configid=<val>

DESCRIPTION:Set pcie link configuration

CONVENTION:
/cx - specifies the controller where X is the controller index
cx,cy - specifies the connector name


NAME: Show PHY information.

SYNTAX: storcli /cx/px show all

DESCRIPTION:Show all PHY layer information and PHY error counter

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set BBU properties on controller

SYNTAX:
a) storcli /cx/bbu set <options>
b) storcli /cx/bbu start learn

DESCRIPTION: Set bbu properties on the controller bbu.
Where <options> are,
a)learnDelayInterval=<val>, no. of hours to delay a learn cycle
not greater than 7 days
b)bbuMode=<val>, val range 0-255
c)autolearnmode=<val>, 0-Enabled,1-Disabled,2-WarnViaEvent
d)learnStartTime=[DDD HH | off], DDD is day of the week{SUN,MON,....SAT}
HH is 0-23 hours, off: sets learn start to off,
e)powermode=sleep,
f)writeaccess=sealed

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Available BBU Modes

SYNTAX: storcli /cx/bbu show modes

DESCRIPTION: Shows the available battery modes with the details of the
battery modes in terms of data retention time, service life, maximum
supported temperature and whether the learn cycles are transparent.

CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Show BBU properties on controller

SYNTAX: storcli /cx/bbu show properties
DESCRIPTION: Show the battery learn properties on the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Show BBU properties on controller

SYNTAX: storcli /cx/bbu show gasgauge Offset= xxxx Numbytes=n
DESCRIPTION:Returns the data of EEPROM starting from Offset
with n= number of bytes retrieved
CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Learning Cycle on BBU

SYNTAX: storcli /cx/bbu start learn
DESCRIPTION: Start a Learning cycle on the BBU
CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Show Battery Backup Unit status

SYNTAX: storcli /cx/bbu show

DESCRIPTION: This command shows the summary information for the BBU of a controller.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/bbu - Battery Backup Unit.


NAME: Show Battery Backup Unit status

SYNTAX: storcli /cx/bbu show all

DESCRIPTION: This command shows all the information of a BBU.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/bbu - Battery Backup Unit.


NAME: Show Battery Backup Unit status

SYNTAX: storcli /cx/bbu show status

DESCRIPTION: This command shows the battery information, firmware status
and the gas gauge status.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/bbu - Battery Backup Unit.


NAME: Learning Cycle on BBU

SYNTAX: storcli /cx/bbu start learn
DESCRIPTION: Start a Learning cycle on the BBU
CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Learning Cycle on cache vault

SYNTAX: storcli /cx/cv start learn
DESCRIPTION: Start a Learning cycle on the cache vault
CONVENTION:
/cx - specifies the controller where X is the controller index
/cv - Cache vault.


NAME: Show cache vault status

SYNTAX: storcli /cx/cv show

DESCRIPTION: This command shows the summary information for the cache vault of a controller.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/cv - Cache vault.


NAME: Show cache vault status

SYNTAX: storcli /cx/cv show all

DESCRIPTION: This command shows all the information of a cache vault.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/cv - Cache vault.


NAME: Show cache vault status

SYNTAX: storcli /cx/cv show status

DESCRIPTION: This command shows the battery information, firmware status
and the gas gauge status.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/cv - Cache vault.


NAME: Show cache vault learn

SYNTAX: storcli /cx/cv show learn

DESCRIPTION: This command shows the cv learn information.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/cv - Cache vault.


NAME: Show Drive KeyID

SYNTAX: storcli /cx show securitykey keyid

DESCRIPTION: This command shows the security keyID on the controller.

CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Start Patrol read

SYNTAX: storcli /cx start patrolread

DESCRIPTION: This command starts the patrol read operation.
This command starts a patrol read immediately.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Stop Patrol read

SYNTAX: storcli /cx stop patrolread

DESCRIPTION: This command stops a running patrol read operation.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Pause Patrol read

SYNTAX: storcli /cx pause patrolread

DESCRIPTION: This command pauses a running patrol read operation.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Resume Patrol read

SYNTAX: storcli /cx resume patrolread

DESCRIPTION: This command resumes a suspended patrol read operation.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Patrol read

SYNTAX: storcli /cx show patrolRead

DESCRIPTION:This command displays patrol read status if any in progress
and patrol read parameters
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show PowerMonitoring Info

SYNTAX: storcli /cx show powermonitoringinfo

DESCRIPTION:This command displays the power drawn by controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show LD restriction Info

SYNTAX: storcli /cx show ldlimit

DESCRIPTION:This command displays the state of ld restriction.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Patrol read option

SYNTAX: storcli /cx set patrolread = {{on mode=<auto|manual> }|{off}}

DESCRIPTION: This command turns the patrol read scheduling on
and sets the mode of the patrol read to automatic or manual.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Patrol read option

SYNTAX: storcli /cx set patrolread [starttime=< yyyy/mm/dd hh>]
[maxconcurrentpd =<value>] [includessds = <on|onlymixed|off>]
[uncfgareas= on|off] [excludevd=x-y,z|none]
DESCRIPTION: This command schedules a patrol read operation.
You can use the following options for patrol read command:
OPTIONS:
starttime - A valid date and hour in 24 hours format
Sets the start time in yyyy/mm/dd hh format.
maxconcurrentpd - Sets the number of physical drives that can be patrol read at a
single time.
includessds-Include SSDs in the patrol read.
uncfgareas-Include the areas not configured in the patrol read.
excludevd-Excludes virtual drives from the patrolread. To exclude
particular virtual drives, you can provide list of virtual drive IDs
(x,y, z format) or the range of virtual drives that you want to
exclude from a patrolread (x-y format). If this option is
not specified in the command, no virtual drives are excluded.
None: if user specifies as None, we will remove the Virtual drives
if any were excluded before.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Patrol read option

SYNTAX: storcli /cx set patrolread delay = <value>.
DESCRIPTION: This command delays the scheduled patrol read in hours.
A value of 0 makes the PR run continuously with no delay(in a loop).
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Shows the controllers BadBlocks

SYNTAX: storcli /cx show badblocks.
DESCRIPTION: This command shows the bad blocks on the controller.
/cx - specifies the controller where X is the controller index


NAME: Erases the flash on Adapter.

SYNTAX:
storcli /cx flasherase

DESCRIPTION: Erases the flash memory on the adapter.
/cx - specifies the controller where X is the controller index


NAME: Shutdown the adapter.

SYNTAX:
storcli /cx shutdown

DESCRIPTION: Shutdown the adpater.All background operations are put on
hold for resume. The controller cache is flushed, all disk drive
caches are flushed.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Command sets connector mode on selected controllers

SYNTAX:
storcli /cx/mx set mode=<Internal | External | Auto>

DESCRIPTION: Command sets connector mode on selected controllers.
The possible parameters are:External: Set Multiplexer to select External port. e.g. scan external bus.
Internal: Set Multiplexer to select Internal port. e.g. scan SAS bus for connected devices.
/cx - specifies the controller where X is the controller index
/mx - specifies the mux port of the controller


NAME: Show the connector mode .

SYNTAX:
storcli /cx/mx show

DESCRIPTION:Command display connector mode(Internal/External) on selected controllers
/cx - specifies the controller where X is the controller index
/mx - specifies the mux port of the controller


NAME: Downgrades the Firmware on Adapter.

SYNTAX:
storcli /cx transform iMR

DESCRIPTION: Downgrades the firmware memory on the adapter.
/cx - specifies the controller where X is the controller index


NAME: Restarts the Adapter.

SYNTAX:
storcli /cx restart

DESCRIPTION: Restarts the adapter without system reboot.
/cx - specifies the controller where X is the controller index


NAME: Shows information about the Bad Block Table.

SYNTAX: storcli /cx/vx show BBMT

DESCRIPTION: Shows information about the Bad Block Entries
of virtual disk(s) on the selected adapter(s).

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Clears Bad Block Table.

SYNTAX: storcli /cx/vx Delete BBMT

DESCRIPTION: This command clears the LDBBM table entries for
the logical drive(s) on the given adapter(s).

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Show dequeuelog
SYNTAX: storcli /cx show dequeuelog file=<filepath>
DESCRIPTION: This command displays the debug queue (DeQueue) logs
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set personality on controller

SYNTAX: storcli /cx set personality=RAID|HBA|JBOD

DESCRIPTION: Set the personality of the controller to either RAID, HBA or JBOD mode.
CONVENTION:
/cx - specifies the controller where X is the controller index
Caution: The process can take up to 5 seconds to complete, do not power off or reset the system until complete.


NAME:Show personality

SYNTAX: storcli /cx show personality
DESCRIPTION:Displays the current personality set on the controller.
Also displays the requested personality if set by user.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set profile on controller

SYNTAX: storcli /cx set profile profileid=<id>

DESCRIPTION: Set the profile of the controller to user provided profileid setting.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show profile list

SYNTAX: storcli /cx show profile
DESCRIPTION:Displays the profile list supported on the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set immediateio on controller

SYNTAX: storcli /cx set immediateio=<on|off>

DESCRIPTION: Enable or Disable Immediate IO.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set largeiosupport on controller

SYNTAX: storcli /cx set largeiosupport=<on|off>

DESCRIPTION: Enable or Disable largeiosupport on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set SCSI unmap on controller

SYNTAX: storcli /cx set unmap=<on|off>

DESCRIPTION: Enable or Disable SCSI unmap on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set driveactivityled on controller

SYNTAX: storcli /cx set driveactivityled=<on|off>

DESCRIPTION: Set Drive Activity LED to on or off.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Enable Flush writeverify on controller

SYNTAX: storcli /cx set flushwriteverify=<on|off>

DESCRIPTION: Set Flush writeverify to on or off.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show flushwriteverify

SYNTAX: storcli /cx show flushwriteverify
DESCRIPTION:Displays whether flushwriteverify
is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show SCSI unmap

SYNTAX: storcli /cx show unmap

DESCRIPTION:Displays whether SCSI unmap is enabled or disabled on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show largeiosupport

SYNTAX: storcli /cx show largeiosupport

DESCRIPTION:Displays whether largeiosupport is enabled or disabled on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set driveactivityled on controller

SYNTAX: storcli /cx set driveactivityled=<on|off>

DESCRIPTION: Set Drive Activity LED to on or off.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show immediateio

SYNTAX: storcli /cx show immediateio
DESCRIPTION:Displays whether Immediate IO
is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show driveactivityled

SYNTAX: storcli /cx show driveactivityled
DESCRIPTION:Displays whether drive activity LED
is enabled or disabled.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Write cache on JBODs.

SYNTAX: storcli /cx set jbodwritecache=on|off|default

DESCRIPTION: changes Write cache setting on all JBOD drives.
CONVENTION:
/cx - specifies the controller where X is the controller index
OPTIONS:
on - enables the write cache on all JBOD drives.
off - disables the write cache on all JBOD drives.
default - changes the write cache to disk's default setting.


NAME:Show Write cache

SYNTAX: storcli /cx show jbodwritecache
DESCRIPTION:Displays the Write cache setting for JBODs.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show PD Fail Event log.
SYNTAX: storcli /cx show pdfailevents [lastoneday] [lastseqnum=<val>] [file=<filepath>]
DESCRIPTION: Displays overall PD predictive failures event information. The
information shown consists of total PD failures event entries available
at firmware side since the last clear and details of each entry of the error log.
OPTIONS:
lastoneday:Dumps the latest x number of events in last 24 hours
lastseqnum:Dumps the latest x number of events from given seq number
file: file which collects all the events.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set pd failure event options on controller

SYNTAX: storcli /cx set pdfaileventoptions [detectionType=<val>]
[correctiveaction=<val>] [errorThreshold=<val>]

DESCRIPTION: Sets details of PD predictive failures event information
such as detection type, corrective action and error threshold values set
on the controller.
OPTIONS:
detectionType : Enables detection of errors.
0 - Disabled
1 - enabled, high latency for reads
2 - enabled, aggressive reads
3 - enabled, use NVDATA specified value
correctiveaction : Enables to log events or corrective action based on SMARTer.
0 - only log events
1 - take corrective action based on SMARTer
errorThreshold : Error logging durations 0-8hours, 1-1hour, 2-15mins, 3-5mins.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: show pd failure event options

SYNTAX: storcli /cx show pdfaileventoptions
DESCRIPTION:Displays details of PD predictive failures event information
such as detection type, corrective action and error threshold values set
on the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show VD VF mapping

SYNTAX: storcli /cx/vx show vfmap

DESCRIPTION: This command displays the VF mapping of a virtual
drive and its access policy.

CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: Sets VD VF mapping

DESCRIPTION: Sets the VF accesspolicy on a Virtual drive

SYNTAX: storcli /cx/vx set vfmap [VF=<val> | PF] access=RW|RO|Blocked|Hidden

OPTIONS:
RW - Access is Read Write
RO - Access is Read Only
Blocked - Access is Blocked
Hidden - Access is Hidden
CONVENTION:
/cx - specifies the controller where X is the controller index
/vx - specifies the virtual drive where X is the vd ID


NAME: show every information of the controller

DESCRIPTION:Displays controller information, the configuration present on it,
events generated and the termlog on the controller.
SYNTAX: storcli /cx show AliLog [logfile[=filename]]
OPTIONS:
logfile - if file name is not specified it logs to storsas.log else to user given file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME : SET Controller Config

SYNTAX:
storcli /cx set config file=<fileName>

DESCRIPTION: Reads the configuration from the file and loads it on the controller
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME : GET Controller Config

SYNTAX:
storcli /cx get config file=<fileName>

DESCRIPTION: Command saves the configuration
of the selected controller to the given filename.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Make the drive group Transport Ready/Clear

SYNTAX: storcli /cx/dx set transport=on/off [EDHSP=on/off] [SDHSP=on/off]
DESCRIPTION: Transports specified drive group or clears.

CONVENTION:
/cx - specifies the controller where X is the controller index
/dx - specifies the drive group where X is the drive group ID
EDHSP - specifies whether to include the Exclusive Dedicated HSP's
SDHSP - specifies whether to include the Shared Dedicated HSP's


NAME: Set largeQueueDepth on controller

SYNTAX: storcli /cx set largeQD=<on|off>

DESCRIPTION: Enable or Disable large Queue Depth on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME:Show largeQueueDepth

SYNTAX: storcli /cx show largeQD

DESCRIPTION:Displays whether largeQueueDepth is enabled or disabled on the controller.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME : Enable Firmware Debug Variables

SYNTAX:
storcli /cx set debug type=<value> option=<value> [level=<value in hex>]

DESCRIPTION: To enable the firmware debug variables.
CONVENTION:
/cx - specifies the controller where X is the controller index
type - takes the value form 0-128 mapping each number to particular debug variable in FW
option - takes values form 0-4 [ 0-NA | 1-SET | 2-CLEAR | 3-CLEAR ALL | 4-DEBUG DUMP]
level - supports multiple levels of debugging in FW

NAME : Resetting the Firmware Debug Variables

SYNTAX:
storcli /cx set debug reset all

DESCRIPTION: To enable the firmware debug logs from the application.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show SCSI UNMAP setting

SYNTAX: storcli /cx/jbodx show Unmap

DESCRIPTION: This command shows the SCSI UNMAP setting of a JBOD drive.

CONVENTION:
/cx - specifies the controller where X is the controller index
/jbodx - specifies a JBOD drive where X is the target ID.


NAME: Set/set unmap on a JBOD

storcli /cx/jbodx set unmap=<on|off>
DESCRIPTION: Sets or unsets a Unmap on a JBOD.

CONVENTION:
/cx - specifies a controller where X is the controller index.
/jbodx - specifies a JBOD drive where X is the target ID.


NAME: Show Snapdump information

SYNTAX: storcli /cx show snapdump
DESCRIPTION: Shows the controller Snapdump information.

CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Sets Snapdump state information

SYNTAX: storcli /cx set snapdump state=on|off
DESCRIPTION: Enables or disables the snapdump on controller
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Sets Snapdump information

SYNTAX: storcli /cx set snapdump [ savecount=<value> | delayocr=<value> ]
DESCRIPTION: Sets the propeties of snapdump information on controller
OPTIONS:
savecount - Number of times snapdump persists on the controller across reboots.
value range is 0-255
delayocr - Driver to trigger OCR after the specified delay
. value range is 15-60 sec
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Gets Snapdump information

SYNTAX: storcli /cx get snapdump [id=[ all | <value> file=<fileName> ] [norttdump] ]
DESCRIPTION: Gets the controller Snapdump data based on the id provided or all
and saves to a file,including ondemand snapdumps.

OPTIONS:
ID - ID of the snapdump from the data displayed with show snapdump command.
if all is specified all available snapdumps will be extracted in zip format.
If ID suboption is not specified, then it is a request to generate a new snapdump
and download all the snapdumps present.
fileName - file to be saved in zip format and later to be extracted
norttdump - rttdump is applicable only for windows. By default driver dump is
saved to a file in windows. if norttdump is specified driver
dump will not be saved
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Delete Snapdump information

SYNTAX: storcli /cx delete snapdump [force]
DESCRIPTION: Deletes the controller Snapdump information.

CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Download or Flash complete flash image on the controller

SYNTAX: storcli /cx download completeflash [fileone=<firmware image/IT bootloader image>] [filetwo=<flash image/firmware package>] [file=<cbb-concatenated-image>]

DESCRIPTION: Performs complete flash of the flash image/firmware package on the controller
a)fileone:For IT controllers,Firmware image should be given.For MR controllers,IT bootloader image should be given.
b)filetwo:For IT controllers,Flash image should be given.For MR controllers,Firmware package i.e.,nopad/16MB/32MB
should be given.
c)file: Only for MR Controllers. This file option should be used to download cbb-concatenated-images
d)Either fileone and filetwo options or file option should only be provided
e)All file paths should be absolute.

CONVENTION:
/cx - specifies the controller where X is the controller index
Note : This command supports both IT and MR controllers


NAME: Show vpd information

SYNTAX: storcli /cx show vpd
DESCRIPTION:Displays the contents of the VPD for the specified controller

CONVENTION:
/cx - specifies the controller where X is the controller index
Note: This command supports only IT Controllers


StorCLIO Command Verbose Help

NAME: Set Sasaddress
SYNTAX: storclio /cx set sasaddress=xxxxxxxx
DESCRIPTION: Command Sets 64B length SAS Address to the controller.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Get Factory settings
SYNTAX: storclio /cx get factorysettings file=<filepath>
DESCRIPTION: Get/write all Factory settings to a given file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Factory settings
SYNTAX: storclio /cx set factorysettings file=<filepath>
DESCRIPTION: set/read all Factory settings from a given ini file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME : SET VPD

SYNTAX:
storclio /cx set vpd file=<fileName>

DESCRIPTION: Set the VPD data. Give the vpd file as input.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set OOB mode on controller

SYNTAX: storclio /cx set oob mode=i2c|pcie maxpayloadsize=xxxx maxpacketsize=xxxx

DESCRIPTION:Set out of band management communication mode
with the transport mode parameters
mode : Mode of transport. Can be i2c or pcie
maxpayloadsize : Maximum payload size to be set for OOB communication.
maxpacketsize : Maximum packet size to be set for OOB communication.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show OOB mode on controller

SYNTAX: storclio /cx show oob

DESCRIPTION:Shows Out Of Band management communication mode
with the transport mode parameters
mode : Mode of transport. Can be i2c or pcie
maxpayloadsize : Maximum payload size to be set for OOB communication.
maxpacketsize : Maximum packet size to be set for OOB communication.
CONVENTION:
/cx - specifies the controller where X is the controller index

Note: This command supports both IT and MR Controllers


NAME: Set pcilinkspeed
SYNTAX: storclio cx set pcilinkspeed = <speed>
DESCRIPTION: sets pcilinkspeed
CONVENTION:
<speed> can be 1,2 or 3 where 1-(2.5GT/s), 2-(5GT/s, 3-(8GT/s)
/cx - specifies the controller where X is the controller index



NAME: Show SubOEMId of the controller

SYNTAX: storclio /cx show SubOEMId

DESCRIPTION: Displays the SubOEMId of the controller

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set SubOEMId of the controller

SYNTAX: storclio /cx set SubOEMId=<val>

DESCRIPTION: This command sets Sub OEM ID field of the MFC features to <val>.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set MFG data of the controller

SYNTAX: /cx set MFG file=<fileName>

DESCRIPTION: This command sets MFG data from the given file.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Clears NVRAM on Adapter.

SYNTAX: storclio /cx delete NVRAM

DESCRIPTION: This command Clears the NVRAM on Adapter.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Get Hardware Device page

SYNTAX: storclio /cx get HWDevice deviceType=<val>[bus=<val> slaveAddress=<val>]
[[offset=<val>] size=<val>] file=<filepath> [fileone=<filepath> filetwo=<filepath>]

DESCRIPTION: This command gets the hardware device information and fills
the user specified file.

OPTIONS:
bus: Bus from which data to be read
slaveAddress: slave address of the device in Hex
offset: Starting Offset value in Hex.
size : Total size in bytes.If the size is zero,then all data on the device
will be got.
device type. The values are:
TMM-EEPROM - 3
SBR - 4
Generic EEPROM device - 5
fileone:This optional file option is used to specify the hostboot image when the firmware is in non-operational state.
filetwo:This optional file option is used to specify the filename to which the data should be written
when the firmware is in non-operational state.
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Set Hardware Device page

SYNTAX: storclio /cx set HWDevice deviceType=<val> [bus=<val> slaveAddress=<val>]
[offset=<val>] file=<filepath> [fileone=<filepath> filetwo=<filepath>]

DESCRIPTION: This command sends the user specified file to firmware to
modify the hardware device information.

OPTIONS:
bus: Bus from which data to be read
slaveAddress: slave address of the device in Hex
offset: Starting Offset value in Hex.
device type. The values are:
TMM-EEPROM - 3
SBR - 4
Generic EEPROM device - 5
fileone:This optional file option is used to specify the hostboot image when the firmware is in non-operational state.
filetwo:This optional file option is used to specify the filename from which the data should be read and written to the respective devicepage
when the firmware is in non-operational state.
CONVENTION:
/cx - specifies a controller where X is the controller index.


Unlisted StorCLI Command Verbose Help

NAME: Gets rttdump information
SYNTAX: storcli get rttdump
DESCRIPTION: Gets all the controllers rttdump data and saves to a file.


NAME: Compare Factory settings
SYNTAX: storcli /cx Compare factorysettings file=<filepath>
DESCRIPTION: Compare all Factory settings from a given ini file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Compare Raw Factory settings
SYNTAX: storcli /cx Compare factorysettings raw file=<filepath>
DESCRIPTION: Compare raw Factory settings from a given ini file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Compares factory data on the controller.
SYNTAX: storcli /cx Compare factory file=<filepath>
DESCRIPTION: Command compares the factory data on the selected controller(s)
based on the contents in the input file
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: sets factory data on the controller.
SYNTAX: storcli /cx set factory [mfcdata|mfgdata|pcidata|sasaddress] file=<filepath>
DESCRIPTION: Command sets the factory data on the selected adapter(s)
based on the contents in the input file
/cx - specifies the controller where X is the controller index


NAME : SET PersistentPage
SYNTAX: storcli /cx set persistentpage file=<fileName>
DESCRIPTION: Set the Persistent Page Data.Give the file name as input.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set personality on controller
SYNTAX: storcli /cx set personality=RAID|HBA|eHBA
DESCRIPTION: Set the personality of the controller to either RAID, HBA or eHBA mode.
CONVENTION:
/cx - specifies the controller where X is the controller index
Caution: The process can take up to 5 seconds to complete, do not power off or reset the system until complete.


NAME: Show fwbootregion
SYNTAX: storclio /cx show fwbootregion
DESCRIPTION:Displays whether FW is running from primary flash location
or secondary flash location
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set fwbootregion on controller
SYNTAX: storclio /cx set fwbootregion = [Primary | Secondary]
DESCRIPTION: Sets the controller to boot from either primary or secondary flash location
Primary: controller booted from PRIMARY flash region.
Secondary: controller booted from SECONDARY flash region.
/cx - specifies the controller where X is the controller index


NAME: Upload complete flash image of the controller
SYNTAX: storcli /cx get flash fileone=<IT bootloader image> filetwo=<filename>
DESCRIPTION: Uploads complete flash of the controller to user specified file
a)fileone:IT bootloader image should be given.
b)filetwo:Filename of the file in which the complete flash image of the controller should be to uploaded.
c)All file paths should be absolute.
CONVENTION:
/cx - specifies the controller where X is the controller index
Note : This command is supported only on non-operational/jumpered MR controllers.


NAME: Download individual flash component(s) on to the controller
SYNTAX: storcli /cx download component fileone=<Hostboot image(CBB-Concatenated)> filetwo=<Flash component(s)>
DESCRIPTION: Performs component based download of the individual flash images on to the controller
a)fileone:Concatenated image with CBB(hostboot) component should be given.
b)filetwo:Individual flash component(s) which has to be downloaded
e)All file paths should be absolute.

CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Download or Flash controller firmware
SYNTAX:
storcli /cx download file=<filepath> Package
DESCRIPTION: Download or Flash controller firmware.
a)File should be the abs path for f/w image.
b)Please reboot the system for the changes to take effect
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Show Energypack
SYNTAX: storcli /cx show Energypack
DESCRIPTION:Displays Energy pack status.
CONVENTION:
/cx - specifies the controller where X is the controller index


NAME: Set Challenge Value
SYNTAX: storclio /cx set challengeVal
DESCRIPTION: Set the 16 byte challenge value and 1 byte keyindex on the controller.
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Verify Challenge Value
SYNTAX: storclio /cx verify challengeVal
DESCRIPTION: Verify challenge value on the controller.
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Show Cache Offload information
SYNTAX: storcli /cx show colinfo
DESCRIPTION: Shows the Cache Offload information.
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Deletes Cache Offload information
SYNTAX: storcli /cx delete colinfo
DESCRIPTION: Deletes the Cache Offload information.
CONVENTION:
/cx - specifies a controller where X is the controller index.


NAME: Shows all the available Controller Memory Scrub patterns
SYNTAX: storcli /cx show memscrubpatterns.
DESCRIPTION: This command gives the list of pattern Ids supported to scrub
controller memory.
/cx - specifies the controller where X is the controller index


NAME: Set Controller Memory Scrub pattern
SYNTAX: storcli /cx set memscrubpattern = <value> [force].
DESCRIPTION: This command scrubs the controller memory with the user
specified pattern.
/cx - specifies the controller where X is the controller index


NAME: Retention Test on BBU
SYNTAX: storcli /cx/bbu start retentiontest
DESCRIPTION: Starts the Retention Test on BBU ,Restart required.
CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Set the date and time for the Battery
SYNTAX: storcli /cx/bbu set mfg file=<file path>
DESCRIPTION: Resets the Manufacturing Date and Manufacture Name of the
BBU as per the contents of the file
-file : specifies the name of the file that contains the
Manufacture Name(First line, last three characters) and
CONVENTION:
/cx - specifies the controller where X is the controller index
/bbu - Battery Backup Unit.


NAME: Show Smart Carrier Information
SYNTAX: storcli /cx[/ex]/sx show scnvram
DESCRIPTION: Show Nvram Smart Carrier Information of the smart drive
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Clear Smart Carrier Information
SYNTAX: storcli /cx[/ex]/sx clear scnvram
DESCRIPTION: Clear Nvram Smart Carrier Information of the smart drive
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Show drive sanitize status.
SYNTAX: storcli /cx[/ex]/sx show sanitize
DESCRIPTION: Displays the status as percentage of sanitize completed.
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Sanitize the Drives
SYNTAX: storcli /cx[/ex]/sx start sanitize [cryptoerase| overwrite| blockerase] [ause]
DESCRIPTION: Sanitize drives with specified pattern(s).
OPTIONS:
cryptoerase| overwrite| blockerase - sanitize types
cryptoerase - Keys gets corrupted on the drive.
overwrite - Overwritten by all zero's.
blockerase - Data is cleared by the drive.
ause - Allow Unrestricted Sanitize Exit.
CONVENTION:
/cx - specifies a controller where X is the controller index.
/ex - specifies an enclosure where X is the enclosure device ID.
/sx - specifies a physical drive where X is the slot number.


NAME: Retention Test on cache vault
SYNTAX: storcli /cx/cv start retentiontest
DESCRIPTION: Starts the Retention Test on cache vault ,Restart required.
CONVENTION:
/cx - specifies the controller where X is the controller index
/cv - Cache vault.

  • Like
Reactions: nthu9280
Author
nezach
Views
268
First release
Last update
Rating
0.00 star(s) 0 ratings