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])
Table 1. List hard disk drive This table shows the parameters used to list the hard disk drives.
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.