lshostclustervolumemap

Use the lshostclustervolumemap command to display a list of volumes that are mapped to all host clusters (or to a specific host cluster).

Syntax

 lshostclustervolumemap  [  -nohdr  ] [  -delim  delimiter  ]   {  hostcluster_id  |  hostcluster_name  }

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.
-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 one-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.
hostcluster_id | hostcluster_name
(Required) Specifies the ID or name for the host cluster being mapped to a volume. The command displays a list of all the volumes that are mapped to the specified host cluster and additionally indicates the Small Computer System Interface (SCSI) ID through which they are mapped. If you do not enter a host cluster ID or name, the command displays a list of all recognized host clusters and volume mappings. The value for the ID must be a number and the value for the name must be an alphanumeric string.

Description

This command displays a list of volumes that are mapped to all host clusters or to a specific host cluster.

This table provides the attribute values that can be displayed as output view data.
Table 1. lshostclustervolumemap output
Attribute Description
id Indicates the host cluster ID. The value must be a number from 0 - 127.
name Indicates host cluster name. The value must be an alphanumeric string of no more than 64 characters.
SCSI_id Indicates the unique ID (volume ID) that is mapped from a host cluster to an I/O group volume. The value must be a number from 0 - 2047.
volume_id Indicates the unique ID of the volume that is mapped to the host cluster. The value must be a number.
volume_name Indicates the name for a volume that is mapped to a host cluster. The value must be an alphanumeric string.
volume_UID Indicates the unique UID of a volume. The value must be an alphanumeric string.
IO_group_id Indicates the unique ID from the I/O group that the host cluster and volume (from the mapping) are part if. The value must be a number from 0 - 3.
IO_group_name Indicates the I/O group name. The value must be an alphanumeric string.

A concise invocation example

lshostclustervolumemap

The detailed resulting output:

name         SCSI_id volume_id volume_name volume_UID                       IO_group_id IO_group_name 
 0  hostcluster0 0       0         vdisk0      60050764009900082000000000000000 0           io_grp0       
0  hostcluster0 1       1         vdisk1      60050764009900082000000000000001 0           io_grp0       
0  hostcluster0 2       2         vdisk2      60050764009900082000000000000002 0           io_grp0       
0  hostcluster0 3       3         vdisk3      60050764009900082000000000000003 0           io_grp0       
1  hostcluster1 0       4         vdisk4      60050764009900082000000000000004 0           io_grp0       
1  hostcluster1 1       5         vdisk5      60050764009900082000000000000005 0           io_grp0  

A concise invocation example

lshostclustervolumemap 0

The detailed resulting output:

 id name         SCSI_id volume_id volume_name volume_UID                       IO_group_id IO_group_name 
0  hostcluster0 0       0         vdisk0      60050764009900082000000000000000 0           io_grp0       
0  hostcluster0 1       1         vdisk1      60050764009900082000000000000001 0           io_grp0       
0  hostcluster0 2       2         vdisk2      60050764009900082000000000000002 0           io_grp0       
0  hostcluster0 3       3         vdisk3      60050764009900082000000000000003 0           io_grp0 

A concise invocation example

lshostclustervolumemap hostcluster1

The detailed resulting output:

id id name         SCSI_id volume_id volume_name volume_UID                       IO_group_id IO_group_name 
1  hostcluster1 0       4         vdisk4      60050764009900082000000000000004 0           io_grp0       
1  hostcluster1 1       5         vdisk5      60050764009900082000000000000005 0           io_grp0