Users guide
251 IntelĀ® RAID Software User Guide
10.4 StorCLI Command Syntax
This chapter describes the StorCLI command syntax and the valid values for each
parameter in the general command syntax.
Note: T
o get the output in JSON format, add J at the end of the command syntax.
Example: storcli /cx show <property1>|<property2> J
Note: JSON format output is not supported in the EFI operating system. The EFI platform
ignores the J when it is added at the end of the command syntax.
Note: Backgr
ound operations are blocked in the EFI and HII environments and these operations
are resumed in the operating system environments.
The StorCLI syntax uses the following general format:
<[object identifier]> <verb> <[adverb | attributes | properties] >
<[key=value]>
The StorCLI tool supports the object identifiers listed in the following table.
Table 17. Object Identifiers in the StorCli Command Syntax
Object Identifier Description
No object identifier
specified
If there is no object identifier,
the command is a system command.
/cx This object identifier is for controller x.
/cx/vx This object identifier is for a virtual drive
x on controller x.
/cx/va
ll This object identifier is for all virtual drives on controller x.
/cx/ex This object identifier is for an enclosure
x on controller x.
/cx/ea
ll This object identifier is for all enclosures on controller x.
/cx/fx This object identifier is for a foreign configuration
x on controller x.
/cx/fa
ll This object identifier is for all foreign configurations on controller x.
/cx/ex/sx This object identifier is for the drive is slot
x on enclosure x on controller x.
/cx/sx This object identifier represents the drives that are directly attached to
c
ontroller
x.
/cx/ex/sall This object identifier is for
all the drives on enclosure x on controller x.
/cx/dx This object identifier is for the drive group
x on enclosure x on controller x.
/cx/da
ll This object identifier is for the all drive groups on enclosure x on controller
x.
/cx/px This object identifier is for a PHY operation
x on controller x.