HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 346
unmap volume, parameter is omitted, mapping changes apply to all hosts not explicitly mapped
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 346 highlights
unmap volume Description Deletes explicit mappings or the default mapping for specified volumes. When an explicit mapping is deleted, access by that host to the volume is controlled by the volume's default mapping (described in help for create volume). When a default mapping is deleted, access by hosts to the volume is controlled by any explicit mappings of those hosts to the volume. If neither mapping exists, the volume is unavailable to hosts. If you want to mask access for a specific host to a specific volume, use the map volume command and set the access parameter to no-access. Syntax unmap volume [host hosts] volumes Parameters host hosts Optional. For FC, the nickname or 16-hex-digit WWPN of each host to unmap the volumes from. For iSCSI, the iSCSI node name (typically the IQN) or nickname of each initiator to unmap the volumes from. If the host parameter is omitted, mapping changes apply to all hosts not explicitly mapped (that is, to the default mapping). volumes A comma-separated list of the names or serial numbers of the volumes to unmap. For volume syntax, see "Command syntax" (page 20). Example Delete explicit mappings for Host1 to volumes V1 and V3 (leaving the default mappings, if any, unchanged): # unmap volume host Host1 V1,V3 Info: The volume was unmapped. (V1) (2012-01-20 14:34:24) Info: The volume was unmapped. (V3) (2012-01-20 14:34:24) Success: Command completed successfully. - The volume(s) were unmapped. (2012-01-20 14:34:24) Delete volume V2's default mapping (leaving explicit mappings, if any, unchanged): # unmap volume V2 Info: The volume was unmapped. (V2) (2012-01-20 14:34:34) Success: Command completed successfully. - The volume(s) were unmapped. (2012-01-20 14:34:24) See also • map volume • show host-maps • show hosts • show volume-maps • show volumes 346