lsmdisklba

Use the lsmdisklba command to list the MDisk and logical block address (LBA) for the specified volume LBA.

Syntax

Read syntax diagramSkip visual syntax diagram lsmdisklba -vdisklba vdisklba -copyid -vdiskvdisk_idvdisk_namevdisk_uid

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.

This table summarizes the data that can be returned with this command.
Table 1. lsmdisklba command output
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