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.
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.
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.
lsvdiskmember vdisk_name | vdisk_id
where vdisk_name | vdisk_id is the name or ID of the volume copy. It displays a list of IDs that correspond to the MDisks that make up the volume copy.lsvdiskextent vdisk_name | vdisk_id
where vdisk_name | vdisk_id is the name or ID of the volume copy. It displays a table of MDisk IDs and the corresponding number of extents that each MDisk is providing as storage for the specified volume copy.lsmdiskmember mdisk_name | mdisk_id
where mdisk_name | mdisk_id is the name or ID of the MDisk. It displays a list of IDs that correspond to the volume copies that are using this MDisk.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. In the output, number_of_extents displays either a number (for fully allocated volumes in data reduction pools or volumes in regular pools) or a 1 (for thin-provisioned/compressed volumes in data reduction pools).lsmdiskextent -delim : mdisk0
The resulting output:
id:number_of_extents:copy_id 1:1:1