The lsvdisklba command lists the VDisk and logical block address (LBA) for the specified MDisk LBA.
>>- svcinfo -- -- lsvdisklba -- -- -mdisklba -- mdisklba -- ----> >--+-----------------------+-- --+----------+-- ----------------> '- -delim -- delimiter -' '- - nohdr-' >-- -mdisk -+- mdisk_id ---+----------------------------------->< '- mdisk_name -'
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.
| 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