lsvdiskaccess

Use the lsvdiskaccess command to display a list of all input/output (I/O) groups in the volume access set.

Syntax

 lsvdiskaccess    [  -filtervalue  attribute_value  ] [  -nohdr  ]   [  -delim  delimiter  ]   [  -filtervalue?  ]   [ {  vdisk_id  |  vdisk_name  } ]

Parameters

-filtervalueattribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
Note: Some filters allow the use of a wildcard when you enter the command. The following rules apply to the use of wildcards:
  • The wildcard character is the asterisk (*).
  • The command can contain a maximum of one wildcard.
  • When you use a wildcard, enclose the filter entry within double quotation marks (""): lsvdiskaccess -filtervalue "IO_group_name=io*"
-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.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, 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. If you enter -delim : on the command line, 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 data is separated from its header by the specified delimiter.
-filtervalue?
(Optional) Displays the valid filter attributes for the -filtervalue parameter:
  • IO_group_id
  • IO_group_name
vdisk_id | vdisk_name
(Optional) Specifies the volume for which to list access I/O groups.

Description

The lsvdiskaccess command lists the I/O groups in a volume access set. An accessible volume in an I/O group does not indicate that the volume is mapped to any hosts. There is a detailed view and concise view, but the detailed view does not contain more information than the concise view.

This command returns values for the following volume attributes:
VDisk_id
Identifies the volume ID.
VDisk_name
Identifies the volume name.
IO_group_id
Identifies an I/O group ID in the volume access set.
IO_group_name
Identifies an I/O group name in the volume access set.

A detailed invocation example

lsvdiskaccess 0

The resulting output:

vdisk_id vdisk_name IO_group_id IO_group_name
0        vdisk0     0           io_grp0
0        vdisk0     1           io_grp1
0        vdisk0     2           io_grp2

A concise invocation example

lsvdiskaccess

The resulting output:

vdisk_id vdisk_name IO_group_id IO_group_name
0        vdisk0     0           io_grp0
0        vdisk0     1           io_grp1
0        vdisk0     2           io_grp2
3        vdisk3     1           io_grp1
7        vdisk7     0           io_grp0
7        vdisk7     2           io_grp2