This command displays mappings of block volumes to hosts.
Usage
blockmapping list [--tenant-id ID]
Options
| Specifies for which tenant to display block mappings. Defaults to the default tenant. |
Example
vcli: admin> blockmapping list
+----+-----------+--------------+-------------------------------+
| Id | Volume id | BlockHost id | Snapshot-data |
+----+-----------+--------------+-------------------------------+
| 1 | 3 | 1 | {'id': None, 'name': 'N/A'} |
| 3 | 8 | 1 | {'id': 1, 'name': 'Vol1Snap'} |
| 4 | 9 | 1 | {'id': 5, 'name': 'CatsSnap'} |
| 5 | 7 | 1 | {'id': None, 'name': 'N/A'} |
+----+-----------+--------------+-------------------------------+
Command Output
| The identifier of the mapping. |
| The identifier of a block volume. |
| The identifier of a block host that is mapped to the volume specified in the |
| The ID and name of a snapshot of the mapped volume that is mapped to the specified host. |