rmvolumehostclustermap

Use the rmvolumehostclustermap command to remove an existing host cluster mapping to a volume on a clustered system.

Syntax

 rmvolumehostclustermap     -hostcluster  {  hostcluster_id  |  hostcluster_name  } [  -makeprivate  {  host_id_list  |  host_name_list  } ] {  volume_id  |  volume_name  }

Parameters

-hostclusterhostcluster_id | hostcluster_name
(Required) Specifies the host cluster (by ID or name) to remove from the volume mapping. The value for the ID must be a number and the value for the name must be an alphanumeric string.
-makeprivatehost_id_list | host_name_list
(Optional) Specifies the host or hosts that acquire private mappings from the volume that is being removed from the host cluster. The value for the ID must be a number and the value for the name must be an alphanumeric string.
volume_id | volume_name
(Required) Specifies the volume by ID or name. The value for the ID must be a number and the value for the name must be an alphanumeric string.

Description

This command removes an existing host cluster mapping on a host cluster. The volume is then inaccessible for input or output (I/O) transactions from the specified host cluster.

An invocation example that moves a mapping from host cluster 0 to volume 0

rmvolumehostclustermap -hostcluster 0 0

The resulting output:

No feedback

A detailed invocation example that removes a mapping from host cluster myhostcluster and adds it to volume myvolume1

rmvolumehostclustermap -hostcluster myhostcluster myvolume1

The resulting output:

No feedback

A detailed invocation example that removes a mapping from host cluster myhostcluster and adds it to volume myvolume1

This example allows hosts myhost1 and myhost2 to acquire the private mappings from myvolume1.

rmvolumehostclustermap -hostcluster myhostcluster -makeprivate myhost1:myhost2 myvolume1

The resulting output:

No feedback