lsdriveclass

Use the lsdriveclass command to display all drive classes in the clustered system (system).

Syntax

lsdriveclass [ -nohdr ] [ -filtervalue? ] [ -filtervalueattribute=value ] [ -delimdelimiter ] [ drive_class_id ]

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.
-filtervalueattribute=value
(Optional) Specifies a list of one or more filter attributes that match the specified values; see -filtervalue? for the supported attributes.
Note: Some filters allow the use of a wildcard when entering the command. The following rules apply to the use of wildcards when using the CLI:
  • The wildcard character is an asterisk (*).
  • The command can contain a maximum of one wildcard, which must be the first or last character in the string.
  • When using a wildcard character, you must enclose the filter entry within double quotation marks (""), as follows:
    lsdriveclass -filtervalue  "IO_group_name=md*"
-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
Any parameters that are specified with the -filtervalue? parameter are ignored.

For more information about filtering attributes, see Attributes of the -filtervalue parameters.

-delimdelimiter
(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. Enter -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.

Table 1 provides the attribute values that can be displayed as output view data.

Table 1. lsdriveclass output
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 those that count as superior. (This applies to distributed arrays created using mkdistributedarray.)
total_count Indicates the total number of drives in the drive class. The drive state is irrelevant.

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      sas_hdd    4096        0                0                24

A concise invocation example

lsdriveclass -filtervalue io_group_ID=0:tech_type=sas_hdd

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      sas_hdd    512         30               3              30

A concise invocation example

lsdriveclass -delim ! -nohdr

The detailed resulting output:

0!10000!300.9GB!0!io_group0!sas_hdd!512!30!30
1!!600.5GB!0!io_group0!sas_ssd!512!10!50
2!15000!900.1GB!1!io_group1!sas_hdd!512!60!60
3!15000!600.5GB!2!io_group2!sas_hdd!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 sas_hdd
block_size 512
candidate_count 60
superior_count 5
total_count 60