--- title: "Assigning Block Hosts to Volumes" slug: "assigning-block-hosts-to-volumes" updated: 2026-10-27T17:23:57Z published: 2026-10-27T17:23:57Z canonical: "docs.vastdata.com/assigning-block-hosts-to-volumes" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Assigning Block Hosts to Volumes 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](/docs-5-3/docs/en/assigning-block-hosts-to-volumes#managing-host-volume-mappings-in-thevast-web-ui) - [Managing Host-Volume Mappings in the VAST CLI](/docs-5-3/docs/en/assigning-block-hosts-to-volumes#managing-host-volume-mappings-in-thevast-cli) ## 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](/docs-5-3/docs/en/blockmapping-list), [blockmapping show](/docs-5-3/docs/en/blockmapping-show) To map one or more block hosts to a volume: [blockmapping map_volume_to_hosts](/docs-5-3/docs/en/blockmapping-map-volume-to-hosts) To map one or more volumes to a host: [blockmapping map_host_to_volumes](/docs-5-3/docs/en/blockmapping-map-host-to-volumes) To unmap one or more volumes from a host: [blockmapping unmap_host_volumes](/docs-5-3/docs/en/blockmapping-unmap-host-volumes) To unmap one or more hosts from a volume: [blockmapping unmap_volume_hosts](/docs-5-3/docs/en/blockmapping-unmap-volume-hosts)