Use the lsvdisklba command to list the volume and logical block address (LBA) for the specified storage pool LBA.
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.
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 |
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