lsdriveclass
Use the lsdriveclass command to display all drive classes in the system.
Syntax
Parameters
- -nohdr
- (Optional) By default, headings are displayed for each column of data
in a concise style view, and for each item of data in a detailed style
view. The -nohdr parameter suppresses the display of
these headings.Note: If there is no data to be displayed, headings are not displayed.
- -filtervalue attribute=value
- (Optional) Specifies a list of one or more filter attributes that match the specified values; see -filtervalue? for the supported attributes.
- -filtervalue?
- (Optional) Includes all of the valid filter attributes in the report.
The following filter attributes are valid for the
lsdriveclass command:
- id
- RPM
- capacity
- IO_group_id
- IO_group_name
- tech_type
- block_size
- candidate_count
- superior_count
- total_count
For more information about filtering attributes, see Attributes of the -filtervalue parameters.
- -delim delimiter
- (Optional) By default, in a concise view all columns of data are space-separated, with the width of each column set to the maximum width of each item of data. In a detailed view, each item of data is an individual row, and if you display headers, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. Specify -delim : on the command line, and the colon character (:) separates all items of data in a concise view (for example, the spacing of columns does not occur); in a detailed view, the specified delimiter separates the data from its header.
- drive_class_id
- (Optional) The identity of the drive class.
Description
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. |
transport_protocol | Indicates the transport protocol of the drive. Blank for
Flashsystem V9000 AE1 and AE2 enclosures. The possible values are:
|
compressed | Indicates whether the drive is compressed. |
physical_capacity | For compressed drives, this output represents the total amount of
physical storage on the drive. This value can be smaller than the
logical capacity presented by the capacity value.
For non-compressed drives, the physical_capacity is the same as the logical capacity. |
A concise invocation example
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
A concise invocation example
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
A concise invocation example
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
A detailed invocation example
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