Use the lsdriveclass command to display all drive classes in the system.
lsdriveclass -filtervalue "IO_group_name=md*"
For more information about filtering attributes, see Attributes of the -filtervalue parameters.
This command displays all drive classes in a system. Drives are displayed if they are managed.
This table provides the attribute values that can be displayed as output view data.
Attribute | Possible Values |
---|---|
id | Indicates the drive class ID. |
RPM | Indicates the speed of the drive class. |
capacity | Indicates the capacity of the drive class. |
IO_group_id | Indicates the I/O group ID associated with the drive class. |
IO_group_name | Indicates the I/O group name that is associated with the drive class. |
tech_type | Indicates the technology type of the drive class. |
block_size | Indicates the block size of the drive class. |
candidate_count | Indicates the number of drives in the drive class that are in candidate state. |
superior_count | Indicates the total number of drives in this class and the drives that count as superior. (This value applies to distributed arrays created by using mkdistributedarray.) |
total_count | Indicates the total number of drives in the drive class. The drive state is irrelevant. |
lsdriveclass -filtervalue block_size=4096
The detailed resulting output:
id RPM capacity IO_group_id IO_group_name tech_type block_size candidate_count superior_count total_count
3 15000 600.5GB 2 io_group2 tier0_flash 4096 0 0 24
lsdriveclass -filtervalue io_group_ID=0:tech_type=tier_enterprise
The detailed resulting output:
id RPM capacity IO_group_id IO_group_name tech_type block_size candidate_count superior_count total_count
0 10000 300.9GB 0 io_group0 tier0_flash 512 30 3 30
lsdriveclass -delim ! -nohdr
The detailed resulting output:
0!10000!300.9GB!0!io_group0!tier_nearline!512!30!30 1!!600.5GB!0!io_group0!tier_nearline!512!10!50 2!15000!900.1GB!1!io_group1!tier_enterprise!512!60!60 3!15000!600.5GB!2!io_group2!tier_enterprise!4096!0!24
lsdriveclass 2
The detailed resulting output:
id 2
RPM 15000
capacity 900.1GB
IO_group_id 1
IO_group_name io_group1
tech_type tier0_flash
block_size 512
candidate_count 60
superior_count 5
total_count 60