Removing mappings from host clusters

You can use the management GUI or the CLI to remove mappings from a host cluster.

When you change volume mappings in a host cluster, the changes apply to the shared mappings only. For example, when a volume mapping is added to the host cluster, it becomes a shared mapping among all the hosts within the cluster. When a mapping is removed, the volume is removed from the shared mappings for the host cluster. However, you can select specific hosts that retain access to that volume as a private mapping.

Using the management GUI

When you remove a volume mapping from a host cluster, hosts in that host cluster lose access to that volume, unless you indicate that the volume mapping becomes a private mapping to each host in the host cluster. Hosts in the host cluster will continue to have access to the volumes that remain mapped to the host cluster, and any volumes that have private mappings to the host.  To remove a mapping from a host cluster, complete these steps:
  1. In the management GUI, select Hosts > Host Clusters.
  2. On the Host Cluster page, select a host cluster and select Actions > Modify Shared Volume Mappings.
    Note: You can also modify shared mappings for host clusters on the Mapping page.
  3. On the Modify Volume Mapping page, select the volume to remove from the host cluster and click Remove Volume Mappings.
  4. If you want the volume mapping to be removed from all hosts in the host cluster, click Continue without selecting any hosts. All hosts in the host cluster lose access to that volume.

    If there are specific hosts that you want to retain the mapping to the volume, select those hosts from the list to keep the volume a private mapping. Private mappings apply only to the selected hosts and not the entire cluster. You can also convert all volumes to private mappings by selecting all the hosts that are displayed. Click Continue.

  5. On the Summary page, verify the changes and select Remove Volumes.

Using the command-line interface

To remove a volume mapping for all the hosts in the host cluster, enter the following command:
rmvolumehostclustermap -hostcluster host_cluster_id_or_name volume_name_or_id
where host_cluster_id_or_name is the ID or name of the host cluster and volume_name_or_id is the name or ID of the volume that is being removed from all the hosts in the host cluster. None of the hosts in the host cluster has access to the volume after the command is issued.
To remove a volume mapping from host cluster but retain the volume as private mappings for selected hosts in the host cluster, enter the following command:
rmvolumehostclustermap -hostcluster host_cluster_id_or_name -makeprivate host_id_or_name_list volume_name_or_id
where host_cluster_id_or_name is the ID or name of the host cluster, host_id_or_name_list is the name or ID of hosts to retain access to the volume with a private mapping, and volume_name_or_id is the name or ID of the volume that is being removed from the host cluster. Only the specified hosts have access to the volume after the command is issued.
To remove the volume as a shared mapping and convert it to a private mapping for all the hosts in the host cluster, enter the following command:
rmvolumehostclustermap -hostcluster host_cluster_id_or_name -makeprivate volume_name_or_id
where host_cluster_id_or_name is the ID or name of the host cluster and volume_name_or_id is the name or ID of the volume that is being converted to a private mapping for all the hosts within the host cluster. Access to the volume is removed from the host cluster, but individual hosts retain access through private mappings.