Use the lsvdiskmember command to display a list
of MDisks that are members of the specified volume.
Syntax
lsvdiskmember [ -copy copy_id ] [ -nohdr ] [ -delim delimiter ] { vdisk_id | vdisk_name }
Parameters
- -copycopy_id
- (Optional) Displays a list of MDisks that are members of the specified volume copy.
- -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.
- -delimdelimiter
- (Optional) By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum possible
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.
- vdisk_id | vdisk_name
- (Required) Identifies the specific volume to query..
Description
This
command displays a list of managed disks, which provide extents that
make up the volume that is specified by the
ID.
Every volume is constructed from
one or more MDisks. At times, you might have to determine the relationship
between the two objects. The following procedure allows you to determine
the relationships.
If you use the lsmdiskmember command,
the concise view displays a list of volumes.
These are the volumes that are using extents
on the managed disk that is specified by the ID. The list displays
the members of the respective object and is independent of the state
of the individual members; that is, if they are in offline state,
they are still displayed.
To determine the relationship
between volumes and MDisks, issue the
following command:
lsvdiskmember vdisk_id | vdisk_name
where
vdisk_id
| vdisk_name is the name or ID of the
volume.
This displays a list of IDs that correspond to the MDisks that make
up the
volume.
To determine the
relationship between volumes and MDisks, and
the number of extents that are provided by each MDisk, you must use
the command-line interface. Issue the following command:
lsvdiskextent vdisk_id | vdisk_name
where
vdisk_id
| vdisk_name is the name or ID of the
volume.
This displays a table of MDisk IDs and the corresponding number of
extents that each MDisk provides as storage for the specified
volume.
To determine the relationship
between MDisks and volumes, issue the
following command:
lsmdiskmember mdisk_id | mdisk_name
where
mdisk_id
| mdisk_name is the name or ID of the MDisk. This displays
a list of IDs that correspond to the
volumes
that are using this MDisk.
To determine the relationship
between MDisks and volumes, and the number
of extents that are used by each volume, you
must use the command-line interface. For a specified MDisk, issue the
following command:
lsmdiskextent mdisk_id | mdisk_name
where
mdisk_id
| mdisk_name is the name or ID of the MDisk. This displays
a table of
volume IDs and the corresponding
number of extents that are used by each
volume.
An invocation example
lsvdiskmember 1
The
resulting output:
id
2