lsvdisklba

Use the lsvdisklba command to list the volume and logical block address (LBA) for the specified storage pool LBA.

Syntax

lsvdisklba -mdisklbamdisklba [ -delimdelimiter ] [ - nohdr ] -mdisk { mdisk_id | mdisk_name }

Parameters

-mdisklbamdisklba
(Required) Specifies the 64-bit hexadecimal LBA on the MDisk. The LBA must be specified in hex, with a 0x prefix.
-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.
-delimdelimiter
(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.
-mdiskmdisk_id | mdisk_name
(Required) Specifies the MDisk name or ID.

Description

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

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

The vdisk_lba field provides the corresponding LBA on the virtual capacity for the input LBA. For compressed volume copies it is blank, and the system provides the ranges of virtual LBAs that are compressed into the input LBA.

Table 1 provides command output that depends on several variables.
Table 1. lsvdisklba command output scenarios
Field Typical scenario Quorum disk Thin-provisioned metadata Extent not allocated Formatting extent Extent allocated to thin-provisioned disk, LBA not used on thin-provisioned 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

lsvdisklba -mdisk 1 -mdisklba 0x100123

The resulting output:

vdisk_id vdisk_name copy_id type      vdisk_lba  vdisk_start vdisk_end  mdisk_start        mdisk_end
0        vdisk0     0       allocated 0x00000123 0x00000000  0x000FFFFF 0x0000000000100000 0x00000000001FFFFF