Use the lsmdiskextent command to display
the extent allocation between managed disks and volumes. The output
lists a volume ID, volume copy ID, and the number of extents.
Syntax
lsmdiskextent [ -nohdr ] [ -delim delimiter ] { mdisk_name | mdisk_id }
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.
- -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.
- mdisk_name | mdisk_id
- (Required) Specifies the specific object ID or name of the given
type.
Description
The
command displays a list, in which each entry contains a volume ID,
volume copy ID, and the number of extents. These volume copies are
using extents on the specified MDisk. The number of extents being
used on each MDisk is also shown.
Every volume copy 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.
To determine
the relationship between volume copies and MDisks, issue
the following command for each volume copy: lsvdiskmember vdisk_name | vdisk_id
where
vdisk_name
| vdisk_id is the name or ID of the
volume copy.
This 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_name | vdisk_id
where
vdisk_name
| vdisk_id is the name or ID of the
volume copy.
This displays a table of MDisk IDs and the corresponding number of
extents that each MDisk is providing as storage for the given
volume
copy.
To determine the relationship between MDisks and
volume
copies, issue the following command for each MDisk:
lsmdiskmember mdisk_name | mdisk_id
where
mdisk_name
| mdisk_id is the name or ID of the MDisk. This 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, issue the following command:
lsmdiskextent mdisk_name | mdisk_id
where
mdisk_name
| mdisk_id 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
lsmdiskextent -delim : mdisk0
The
resulting output:
id:number_of_extents:copy_id
1:1:1