Determining the relationship between VDisks and MDisks
using the CLI
This task provides step-by-step
instructions for determining the relationship between VDisks and MDisks.
Every VDisk is constructed from one or more mdisks. At times
you may need to determine the relationship between the two objects. The following
procedure allows you to determine the relationships.
Steps
Perform the following steps to determine the relationship
between VDisks and MDisks:
- For a given VDisk <vdiskname/id>, issue the following command:
svcinfo lsvdiskmember <vdiskname/id>
where <vdiskname/id> is the name or ID of the VDisk. This will return a
list of IDs that correspond to the MDisks that make up the VDisk.
Steps
Perform the following steps to determine the relationship
between VDisks and MDisks and the number of extents provided by each MDisk:
If you wish more details, you can also determine the number of extents
that make are being provided by each MDisk. This procedure can only be performed
using the command line interface.
- For a given VDisk <vdiskname/id>, issue the following command:
svcinfo lsvdiskextent <vdiskname/id>
where <vdiskname/id> is the name or ID of the VDisk. This will return a
table of MDisk IDs and the corresponding number of extents each MDisk is providing
as storage for the given VDisk.
Steps
Perform the following steps to determine the relationship
between MDisks and VDisks:
- For a given MDisk <mdiskname/id>, issue the following command:
svcinfo lsmdiskmember <mdiskname/id>
where <mdiskname/id> is the name or ID of the MDisk. This will return a
list of IDs that correspond to the VDisks that are using this MDisk.
Steps
Perform the following steps to determine the relationship
between MDisks and VDisks and the number of extents used by each VDisk:
If you wish more details, you can also determine the number of extents
that this MDisk is providing for each VDisk. This procedure can only be performed
using the command line interface.
- For a given MDisk <mdiskname/id>, issue the following command:
svcinfo lsmdiskextent <mdiskname/id>
where <mdiskname/id> is the name or ID of the MDisk. This returns a table
of VDisk IDs and the corresponding number of extents being used by each VDisk.