Remove volume LUN mapping
The remove lunMapping command removes the logical unit number (LUN) mapping from one or more volumes.
Supported Arrays
This command applies to an individual DE2000H, DE4000H, DE4000F, DE6000H, or DE6000F storage array.
Roles
To execute this command on an storage array, you must have the Storage Admin role.
Syntax
remove (volume ["<var id="GUID-B8C31091-E314-40CE-A51A-9368A7552755__V1111690" className="keyword varname">volumeName</var>"] | accessVolume) lunMapping
(host="<var id="GUID-B8C31091-E314-40CE-A51A-9368A7552755__V1111693" className="keyword varname">hostName</var>" | hostGroup=("<var id="GUID-B8C31091-E314-40CE-A51A-9368A7552755__V1111694" className="keyword varname">hostGroupName</var>" | defaultGroup)
Syntax for removing LUN mapping from more than one volume LUN mapping
remove (allVolumes | volumes [<var id="GUID-B8C31091-E314-40CE-A51A-9368A7552755__V1111691" className="keyword varname">volumeName1</var> ... <var id="GUID-B8C31091-E314-40CE-A51A-9368A7552755__V1111692" className="keyword varname">volumeNameN</var>])
lunMapping
Parameters
Parameter | Description |
---|---|
volume | The name of a volume from which you are removing the LUN mapping. Enclose the volume name double quotation marks (" ") inside square brackets ([ ]). |
accessVolume | This parameter removes the access volume. |
allVolumes | This parameter removes the LUN mapping from all of the volumes. |
volumes | The names of several volumes from which you are removing the LUN mapping. Enter the names of the volumes using these rules:
If the volume names have special characters or consist only of numbers, enter the names using these rules:
|
host | The name of the host to which the volume is mapped. Enclose the host name in double quotation marks (" "). This parameter works only when you are removing LUN mapping from one volume. |
hostGroup | The name of the host group that contains the host to which the volume is mapped. Enclose the host group name in double quotation marks (" "). The defaultGroup value is the host group that contains the host to which the volume is mapped. This parameter works only when you are removing LUN mapping from one volume. |
Notes
The access volume is the volume in a SAN environment that is used for communication between the storage management software and the storage array controller. The access volume uses a LUN address and consumes 20 MB of storage space that is not available for application data storage. An access volume is required only for in-band managed storage arrays.
You must use the host parameter and the hostGroup parameter when you specify a non-access volume or an access volume. The Script Engine ignores the host parameter or the hostGroup parameter when you use the allVolumes parameter or the volumes parameter.