lsvdisklba

The lsvdisklba command lists the VDisk and logical block address (LBA) for the specified MDisk LBA.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svcinfo -- -- lsvdisklba -- -- -mdisklba -- mdisklba -- ---->

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

>-- -mdisk -+- mdisk_id ---+-----------------------------------><
            '- mdisk_name -'   

Parameters

-mdisklba mdisklba
(Required) Specifies the 64-bit hexadecimal LBA on the MDisk.
-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.
-mdisk mdisk_id | mdisk_name
(Required) Specifies the MDisk name or ID.

Description

The lsvdisklba command returns the LBA of the VDisk that is associated with the MDisk LBA.

If applicable, the command also lists the range of LBAs on both the VDisk and MDisk that are mapped in the same extent, or for space-efficient disks, in the same grain.

Table 1 provides command output that depends on several variables.
Table 1. lsvdisklba command output scenarios
Field Typical scenario Quorum disk Space-efficient metadata Extent not allocated Formatting extent Extent allocated to space-efficient disk, LBA not used on space-efficient disk
copy_id yes no yes no yes yes
vdisk_id yes no yes no yes yes
vdisk_name yes no yes no yes yes
type allocated metadata metadata unallocated formatting unallocated
vdisk_lba yes no no no no no
vdisk_start yes no no no no no
vdisk_end yes no no no no no
mdisk_start yes yes yes yes yes yes
mdisk_end yes yes yes yes yes yes

An invocation example

svcinfo lsvdisklba -mdisk 1 -mdisklba 0x0

The resulting output

vdisk_id
vdisk_name
copy_id
type metadata
vdisk_lba 0x00090000
vdisk_start
vdisk_end
mdisk_start 0x00000000
mdisk_end 0x0000FFFF
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.