lsvdiskextent

The lsvdiskextent command lists the MDisk extents that are provided for the specified VDisks.

Syntax

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

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

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

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_name | vdisk_id
(Required) Specifies one or more virtual disk IDs or names.

Description

The lsvdiskextent command displays a list of MDisk IDs and the number of extents that each MDisk provides to the specified VDisks.

Each VDisk is constructed from one or more MDisks. To determine the relationship between a VDisk and its MDisks, issue the following command:

svcinfo lsvdiskmember vdisk_name | vdisk_id

where vdisk_name | vdisk_id is the name or ID of the VDisk. This command displays a list of MDisk IDs that make up the VDisk.
To determine the number of extents that are provided by each MDisk, issue the following command:

svcinfo lsvdiskextent vdisk_name | vdisk_id

where vdisk_name | vdisk_id is the name or ID of the VDisk. This command displays a table of MDisk IDs and the corresponding number of extents that each MDisk provides as storage for the given VDisk.
To determine the relationship between MDisks and VDisks, issue the following command for each MDisk:

svcinfo lsmdiskmember mdisk_name | mdisk_id

where mdisk_name | mdisk_id is the name or ID of the MDisk. This command displays a list of IDs that corresponds to the VDisks that are using this MDisk.
To determine the relationship between MDisks and VDisks, and the number of extents that are used by each VDisk, you must use the command-line interface. For each MDisk, issue the following command:

svcinfo lsmdiskextent mdisk_name | mdisk_id

where mdisk_name | mdisk_id is the name or ID of the MDisk. This command displays a table of VDisk IDs and the corresponding number of extents that are used by each VDisk.

An invocation example

svcinfo lsvdiskextent -delim : vdisk0

The resulting output

id:number_extents 
0:0
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.