The lsmdiskextent command displays the extent allocation between managed disks and virtual disks. The output lists a VDisk ID, VDisk copy ID, and the number of extents.
>>- svcinfo -- -- lsmdiskextent -- --+----------+-- ------------> '- -nohdr -' >--+-----------------------+-- --+- mdisk_name -+-------------->< '- -delim -- delimiter -' '- mdisk_id ---'
The command displays a list, in which each entry contains a VDisk ID, VDisk copy ID, and the number of extents. These VDisk copies are using extents on the specified MDisk. The number of extents being used on each MDisk is also shown.
Every VDisk 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.
svcinfo lsvdiskmember vdisk_name | vdisk_id
where vdisk_name | vdisk_id is the name or ID of the VDisk copy. This displays a list of IDs that correspond to the MDisks that make up the VDisk copy.svcinfo lsvdiskextent vdisk_name | vdisk_id
where vdisk_name | vdisk_id is the name or ID of the VDisk copy. This displays a table of MDisk IDs and the corresponding number of extents that each MDisk is providing as storage for the given VDisk copy.svcinfo 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 VDisk copies that are using this MDisk.svcinfo lsmdiskextent mdisk_name | mdisk_id
where mdisk_name | mdisk_id is the name or ID of the MDisk. This command displays a table of VDisk copy IDs and the corresponding number of extents that are being used by each VDisk copy.An invocation example
svcinfo lsmdiskextent -delim : mdisk0
The resulting output
id:number_of_extents:copy_id 1:1:1