lsmdisklba
Use the lsmdisklba command to list the MDisk and logical block address (LBA) for the specified volume LBA.
Syntax
Parameters
- -delim delimiter
- (Optional) Specify a delimiter to separate data in the output.
- -nohdr
- (Optional) Suppress the headings in the output.
- -vdisklba vdisklba
- (Required) Specifies the 64-bit hexadecimal logical block address (LBA) on the volume. The LBA must be specified in hex, with a 0x prefix.
- -copy id
- (Optional) Specifies the volume copy ID to list the MDisk and LBA for. If this parameter is not specified, the command lists MDisks and LBAs for all volume copies.
- vdisk_id | vdisk_name | vdisk_uid
- (Required) Specifies the volume name, ID, or UID.
Description
The lsmdisklba command returns the logical block address (LBA) of the MDisk that is associated with the volume LBA. For mirrored volume, the command lists the MDisk LBA for both the primary and the copy.
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. If a thin-provisioned volume is offline and the specified LBA is not allocated, the command displays the volume LBA range only.
The mdisk_lba field provides the corresponding LBA on the real capacity for the input LBA. For compressed volume copies it is empty, and the system displays only the range of physical LBAs where the compressed input LBA is located.
| Field | standard-provisioned, single copy volume | LBA not allocated on thin-provisioned volume | Mirrored volume with one normal copy and one offline thin-provisioned copy | |
|---|---|---|---|---|
| Normal copy | Thin-provisioned copy | |||
copy_id |
yes | yes | yes | yes |
mdisk_id |
yes | no | yes | no |
mdisk_name |
yes | no | yes | no |
type |
allocated | unallocated | allocated | offline |
mdisk_lba |
yes | no | yes | no |
mdisk_start |
yes | no | yes | no |
mdisk_end |
yes | no | yes | no |
vdisk_start |
yes | yes | yes | yes |
vdisk_end |
yes | yes | yes | yes |
