lsvdisklba
Use the lsvdisklba command to list the volume and logical block address (LBA) for the specified storage pool LBA.
Syntax
Parameters
- -delim delimiter
- (Optional) Specify a delimiter to separate data in the output.
- -nohdr
- (Optional) Suppress the headings in the output.
- -mdisklba mdisklba
- (Required) Specifies the 64-bit hexadecimal LBA on the MDisk. The LBA must be specified in hex, with a 0x prefix.
- -mdisk mdisk_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.
Note: If lsvdisklba is run during a
software upgrade, the command fails and an error message is displayed.
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.
This table provides command output that depends on several variables.
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 |