lsmdiskextent
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
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 no data exists 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_name | mdisk_id
- (Required) Specifies the specific object ID or name of the specified 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 that are being used on each MDisk is also shown.
- Thin-provisioned or compressed volumes, the number extents that are shown is not accurate.
- standard-provisioned volumes, the number of extents that are shown is accurate.
A thin-provisioned or compressed volume in a data reduction pool cannot display how many extents are on an MDisk that is in a data reduction pool.
Every volume copy is constructed from one or more MDisks. At times, you might have to determine the relationship between the two objects.
To determine the relationship between volume copies and MDisks, issue the following command for each volume copy:
lsvdiskmember vdisk_name | vdisk_idTo 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_idTo determine the relationship between MDisks and volume copies, issue the following command for each MDisk:
lsmdiskmember mdisk_name | mdisk_idTo 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_id1 (for
thin-provisioned/compressed volumes in data reduction pools).
An invocation example
lsmdiskextent -delim : mdisk0The resulting output:
id:number_of_extents:copy_id
1:1:1