lsvdiskaccess

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

Syntax

lsvdiskaccess [ -filtervalueattribute_value ] [ -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*"
-filtervalue?
(Optional) Displays the valid filter attributes for the -filtervalue parameter:
  • IO_group_id
  • IO_group_name
  • scope
  • status
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 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