Use the lsmdiskmember command
to display a list of volumes that use extents on the specified MDisk.
That is, the volumes use extents on the managed disk that are specified
by the MDisk ID.
Syntax
lsmdiskmember [ -nohdr ] [ -delim delimiter ] { mdisk_id | mdisk_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 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.
- mdisk_id | mdisk_name
- (Required) Specifies the ID or name of the MDisk for which you
want a list of volumes that use extents of that MDisk.
Description
This
command displays a list of volumes that use extents on the managed
disk that are specified by the ID. The list displays 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.
Every volume is constructed from one or more MDisks. To determine the relationship between volume
copies and MDisks, issue the following command:
lsvdiskmember vdisk_id | vdisk_name
where
vdisk_id | vdisk_name is the name or ID of the volume copy. This action
displays a list of IDs that correspond to the MDisks that make up the
volume copy.
To determine the relationship between
volume copies and MDisks and the number of extents
that are provided by each MDisk, you must use the command-line interface. For each
volume
copy, issue the following command:
lsvdiskextent vdisk_id | vdisk_name
where
vdisk_id | vdisk_name is the name or ID of the volume copy. This command
displays a table of MDisk IDs and the corresponding number of extents that each MDisk provides as
storage for the volume copy.
To determine the relationship between MDisks and
volume copies, issue the following
command:
lsmdiskmember mdisk_id | mdisk_name
where
mdisk_id | mdisk_name is the name or ID of the MDisk. This command
displays a list of IDs that correspond to the volume copies that are using this MDisk.
To determine the relationship between MDisks and volume copies and the number of extents
that are used by each volume copy, you must use the command-line interface. For each MDisk
mdisk_id | mdisk_name, issue the following command:
lsmdiskextent mdisk_id | mdisk_name
where
mdisk_id | mdisk_name is the name or ID of the MDisk. This command
displays a table of volume copy IDs and the corresponding number of extents that are being used by
each volume copy.
An invocation example
lsmdiskmember -delim : 1
The
resulting output:
id:copy_id
0:0
1:0
2:0
3:0
4:0
5:0
6:0