blockmapping show

Prev Next

This command displays details of a mapping of a block host to a volume. The mapping can be a read-write volume mapping that enables the block host to access the data on the volume, or a read-only snapshot volume that enables the block host to access a specific snapshot of the volume.  

Usage

blockmapping show --id ID

Required Parameters

--id ID

Specifies which block mapping to display.

Example

vcli: admin> blockmapping show --id 113
+---------------+------------------------------+
| Id            | 113                          |
| Volume id     | 119                          |
| BlockHost id  | 1                            |
| Snapshot-data | {'id': 1, 'name': 'Vol1Snap'}|
+---------------+------------------------------+

Command Output

Id

The mapping ID.

Volume id

The ID of the volume mapped, by the mapping, to the specified host.

BlockHost id

The ID of the block host mapped, by the mapping, to the specified volume.

Snapshot-data

For a snapshot volume mapping, this shows the name and ID of which snapshot of the volume is mapped by the mapping.