Parameters
Table 7. List physical enclosure
Parameter
Description
-a
Specifies the adapter used for the command. This is either SAS WWID or
AdapterIndex.
-h
Provides more information about the command, description, and usage.
-outputformat
You can specify the following output formats: XML or JSON.
Command examples
•
list physical enclosures
•
list physical enclosures -a = 1
•
list physical enclosures -a = 500abcdefgh12345
List drives
Description
Shows the list of HDDs or SSDs and related information for the specified device. If no device is specified to obtain drives for, all drives
accessible by supported adapters in the local system are listed.
Command syntax
shmcli (list drives | listdrives | ld) ([-a=<(SAS WWID | AdapterIndex)>] [-enc=<(WWN |
EnclIndex)> [-w=<DrawerIndex>]] [-outputformat=<SupportedOutputFormats>] [-verbose] | -
enc=<WWN> [-w=<DrawerIndex>] [-outputformat=<SupportedOutputFormats>] [-verbose] | [-h])
Parameters
Table 8. List hard disk drive
Parameter
Description
-a
Specifies the adapter used for the command. This is either SAS
WWID or I.
-enc
Specifies the enclosure used for the command. This is either WWN
or EnclIndex.
-w
Specifies the drawer index used for the command.
-h
Provides more information about the command, description, and
usage.
-outputformat
You can specify the following output formats: XML or JSON.
24
CLI reference