Administrator Guide

Identifying drives
When identifying drives, there are other optional parameters that you can include to narrow the scope of
the drives to obtain information from. You can identify drives from the adapter (all down-chain
enclosures attached to a specified HBA), all the drives in a specific enclosure, or all the drives in a
specified drawer in a specified enclosure. To get information about all the drives visible to an adapter, run
the following command:
To get information about all the drives on the machine:
shmcli list drives
To get information about all the drives visible to an adapter:
shmcli list drives -a=<(SASAddress | AdapterIndex)>
For all the drives visible to an adapter:
Figure 5. Identifying drives visible to an adapter
To get information about all the drives in a specific enclosure:
shmcli list drives -a=<(SASAddress | AdapterIndex)> -enc=<(WWN | EnclIndex)>
Output
For all the drives in a specific enclosure:
Figure 6. Identifying drives in a specific enclosure
To get information about all the drives in a drawer within an enclosure:
shmcli list drives -a=<(SASAddress | AdapterIndex)> -enc=<(WWN | EnclIndex)> -
w=<DrawerIndex>
Output
For all the drives in a drawer within an enclosure:
Figure 7. Identifying drives in a drawer within an enclosure
The relevant information to record from the list drives command are the Enclosure Slot Index and
the WWN. These values are required to perform actions on a specific drive such as updating the firmware
or making the LED of a drive to blink for identification purposes.
18