blockmapping map_volume_path

Prev Next

This command creates a block volume of a volume snapshot and assigns it to block hosts.

Usage

blockmapping map_volume_path --volume-full-path PATH
                             --blockhost-ids IDS
                             --snapshot-id ID

Required Parameters

--volume-full-path PATH

Specifies the full path to the volume. For example, if the volume is provisioned on a view of the path /subsystem1, and the volume name is a/b/c, then specify PATH as /subsystem1/a/b/c/.

--blockhost-ids IDS

Specifies one or more block host(s) to assign to the snapshot volume. Separate multiple host IDs with commas.

--snapshot-id ID

Specifies the snapshot of the specified volume path that you want to make accessible to the block hosts.

Example

vcli: admin> blockmapping map_volume_path --volume-full-path /myblocksubsystem/myvolume --snapshot-id 81 --blockhost-ids 2,3,4