lsvdiskmember

You can use the lsvdiskmember command to return a list of MDisks that are members of the specified VDisk.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svcinfo -- -- lsvdiskmember -- --+----------+-- ------------>
                                     '- -nohdr -'

>--+-----------------------+-- --+- vdisk_id ---+--------------><
   '- -delim -- delimiter -'     '- vdisk_name -'

Parameters

-nohdr
By default, headings are displayed for each column of data (in a concise style view), and each item of data (in a detailed style view). Using the -nohdr parameter will suppress the display of these headings.
Note: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.
-delim delimiter
By default in a concise view, all columns of data are space separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed the data is separated from the header by a space. Using the -delim parameter will override this behavior. Valid input for the -delim parameter is a one byte character. If, for example, you entered -delim : a colon will be used to separate all items of data in a concise view (for example, the spacing of columns does not occur) and in a detailed view the data is separated from its header by a colon.
vdisk_id | vdisk_name
Specifies the name or ID of the VDisk for which the user requires the list of member MDisks.

Description

This command returns a list of managed disks, which provide extents that make up the virtual disk specified by the ID.

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.

If the command used is the svcinfo lsmdiskmember command, the concise view will return a list of virtual disks. These are the virtual disks that are using extents on the managed disk specified by the ID. The list returned is 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 returned.

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.

Possible failures

Examples

An invocation example

svcinfo lsvdiskmember 1