blockmapping map_volume_to_hosts

Prev Next

This command creates a mapping of a single block volume to one or more block hosts.

Usage

blockmapping map_volume_to_hosts --volume-id
                                --blockhost-ids IDS

Required Parameters

--volume-id

Specifies the block volume to map to hosts.

--blockhost-ids IDS

Specifies block hosts to map to the specified volume.

Example

vcli: admin> blockmapping map_host_to_volumes --volume-id 5 --blockhost-ids 1  --snapshot-id 122

Waiting ...
Waiting ... \
[2025-02-27 22:50:59] mapping host Host1 to volume sub1block5, clone_id=1000000123 in subsystem Block1
[2025-02-27 22:50:59] mapping host Host1 to volume sub1block5 finished,remote_mapping_object_id=5, remote_volume_object_id=7
[2025-02-27 22:50:59] bulk mapping finished successfully ... |

Completed