The lsvdiskmember command displays a list of MDisks that are members of the specified VDisk.
>>- svcinfo -- -- lsvdiskmember -- --+--------------------+-----> '- -copy -- copy_id -' >-- --+----------+-- --+-----------------------+-- -------------> '- -nohdr -' '- -delim -- delimiter -' >--+- vdisk_id ---+-------------------------------------------->< '- vdisk_name -'
This command displays a list of managed disks, which provide extents that make up the virtual disk that is specified by the ID.
Every VDisk 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.
If you use the svcinfo lsmdiskmember command, the concise view displays a list of virtual disks. These are the virtual disks 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; that is, if they are in offline state, they are still displayed.
svcinfo lsvdiskmember vdisk_id | vdisk_name
where vdisk_id | vdisk_name is the name or ID of the VDisk. This displays a list of IDs that correspond to the MDisks that make up the VDisk.svcinfo lsvdiskextent vdisk_id | vdisk_name
where vdisk_id | vdisk_name is the name or ID of the VDisk. This displays a table of MDisk IDs and the corresponding number of extents that each MDisk provides as storage for the specified VDisk.svcinfo lsmdiskmember mdisk_id | mdisk_name
where mdisk_id | mdisk_name is the name or ID of the MDisk. This displays a list of IDs that correspond to the VDisks that are using this MDisk.svcinfo lsmdiskextent mdisk_id | mdisk_name
where mdisk_id | mdisk_name is the name or ID of the MDisk. This displays a table of VDisk IDs and the corresponding number of extents that are used by each VDisk.An invocation example
svcinfo lsvdiskmember 1
The resulting output
id 2