lsvdiskextent

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

Syntax

Read syntax diagramSkip visual syntax diagram lsvdiskextent -copycopy_idvdisk_namevdisk_idvdisk_uid

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-copy copy_id
(Optional) Displays a list of MDisks that are members of the specified volume copy.
vdisk_name | vdisk_id | vdisk_uid
(Required) Specifies one or more volume IDs, names, or UIDs.

Description

Note: You cannot specify this command for a thin-provisioned or compressed volume or a volume copy that is in a data reduction storage pool.

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.
Note: If the MDisk specified is in a data reduction pool, the output includes all thin-provisioned and compressed volumes in the pool without displaying the number of extents in each.