>>- svcinfo -- -- lsmdiskextent -- --+----------+-- ------------> '- -nohdr -' >--+-----------------------+-- --+- mdisk_name -+-------------->< '- -delim -- delimiter -' '- mdisk_id ---'
| Note: If there is no data to be displayed (for example, an empty view has been returned), then headings are not displayed irrespective of whether the -nohdr option was used or not. |
The command returns a list, in which each entry contains a VDisk ID and the number of extents. These VDisks are using extents on the specified MDisk. The number of extents being used on each MDisk is also shown.
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.
Determining 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.
Determining 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.
Determining 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.
Determining 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.
An invocation example
svcinfo lsmdiskextent 2
The resulting output
id number_of_extents 1 1 2 1