Use the lsvdiskmember command to display a list of MDisks that are members of the specified volume.
This command displays a list of managed disks, which provide extents that make up the volume that is specified by the ID.
Every volume is constructed from one or more MDisks. At times, you might have to determine the relationship between the two objects. The following procedure determines the relationships.
If you use the lsmdiskmember command, the concise view displays a list of volumes. These volumes are the ones that are using extents on the managed disk that is specified by the ID. The list displays the members of the respective object and is independent of the state of the individual members. If they are in an offline state, they are still displayed.
lsvdiskmember vdisk_id | vdisk_name
Where vdisk_id | vdisk_name is the name or ID of the volume. It displays a list of IDs that correspond to the MDisks that make up the volume.lsvdiskextent vdisk_id | vdisk_name
Where vdisk_id | vdisk_name is the name or ID of the volume. It displays a table of MDisk IDs and the corresponding number of extents that each MDisk provides as storage for the specified volume.lsmdiskmember mdisk_id | mdisk_name
Where mdisk_id | mdisk_name is the name or ID of the MDisk. It displays a list of IDs that correspond to the volumes that are using this MDisk.lsmdiskextent mdisk_id | mdisk_name
Where mdisk_id | mdisk_name is the name or ID of the MDisk. It displays a table of volume IDs and the corresponding number of extents that are used by each volume.lsvdiskmember 1
The resulting output:
id 2