When identifying drives, there are optional parameters that you can include to narrow the scope of the drives from which to obtain information. 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 commands:
shmcli list drives
To retrieve information about all of the drives visible to an adapter:
shmcli list drives -a=<(SASAddress | AdapterIndex)>
To retrieve information about all of the drives in a specific enclosure:
shmcli list drives -a=<(SASAddress | AdapterIndex)> -enc=<(WWN | EnclIndex)>
To retrieve information about all of the drives in a drawer within an enclosure:
shmcli list drives -a=<(SASAddress | AdapterIndex)> -enc=<(WWN | EnclIndex)> -w=<DrawerIndex>