Assigning Block Hosts to Volumes

Prev Next

Assigning a block host to a volume enables the host to discover the volume. Assignments are managed by a mapping of hosts to volumes on the same tenant.

Managing Host-Volume Mappings in the VAST Web UI

To manage the mapping of hosts to a volume:

  1. In the Volumes tab, right-click the volume and select Manage Mappings.

    Details of block hosts are listed. Hosts that are already mapped to the volume are selected.

  2. Select any hosts that you want to assign to the volume. Deselect any hosts that you want to unmap from the volume.

  3. Click Save Mapping.

    The mapping task begins and you can track it in the Activities page.

When the mapping is complete, you can see:

  • which hosts are assigned to a volume in the Assigned Hosts column of the Volumes tab.

  • which volumes are assigned to a host in the Assigned Volumes column of the Hosts tab.

Managing Host-Volume Mappings in the VAST CLI

To view mappings: blockmapping list, blockmapping show

To map one or more block hosts to a volume: blockmapping map_volume_to_hosts

To map one or more volumes to a host: blockmapping map_host_to_volumes

To unmap one or more volumes from a host: blockmapping unmap_host_volumes

To unmap one or more hosts from a volume: blockmapping unmap_volume_hosts