lsvdiskmember

The lsvdiskmember command displays a list of MDisks that are members of the specified VDisk.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svcinfo -- -- lsvdiskmember -- --+--------------------+----->
                                     '- -copy -- copy_id -'   

>-- --+----------+-- --+-----------------------+-- ------------->
      '- -nohdr -'     '- -delim -- delimiter -'      

>--+- vdisk_id ---+--------------------------------------------><
   '- vdisk_name -'   

Parameters

-copy copy_id
(Optional) Displays a list of MDisks that are members of the specified VDisk copy.
-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) 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. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
vdisk_id | vdisk_name
(Required) Displays a list of MDisks that are members of the specified VDisk.

Description

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.

To determine the relationship between VDisks and MDisks, issue the following command:

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.
To determine he relationship between VDisks and MDisks, and the number of extents that are provided by each MDisk, you must use the command-line interface. Issue the following command:

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.
To determine the relationship between MDisks and VDisks, issue the following command:

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.
To determine he relationship between MDisks and VDisks, and the number of extents that are used by each VDisk, you must use the command-line interface. For a specified MDisk, issue the following command:

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
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.