lsvdiskextent

Use the lsvdiskextent command to list the MDisk extents that are provided for the specified volumes.

Syntax

 lsvdiskextent    [  -copy  copy_id  ]   [  -nohdr  ]   [  -delim  delimiter  ]   {  vdisk_name  |  vdisk_id  }

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 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.
vdisk_name | vdisk_id
(Required) Specifies one or more volume IDs or names.

Description

The lsvdiskextent command displays a list of MDisk IDs and the number of extents that each MDisk provides to the specified volumes.

Each volume is constructed from one or more MDisks. To determine the relationship between a volume and its MDisks, issue the following command:

lsvdiskmember vdisk_name | vdisk_id

where vdisk_name | vdisk_id is the name or ID of the volume. This command displays a list of MDisk IDs that make up the volume.
To determine the number of extents that are provided by each MDisk, issue the following command:

lsvdiskextent vdisk_name | vdisk_id

where vdisk_name | vdisk_id is the name or ID of the volume. This command 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 for each MDisk:

lsmdiskmember mdisk_name | mdisk_id

where mdisk_name | mdisk_id is the name or ID of the MDisk. This command displays a list of IDs that corresponds 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 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 IDs and the corresponding number of extents that are used by each volume.

An invocation example

lsvdiskextent -delim : vdisk0
The resulting output
id:number_extents 
0:0