336 Alphabetical list of commands
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 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 and SAS, 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
Names or serial numbers of the volumes to unmap. For volume syntax, see
Command syntax
on
page 22.
Example
Delete explicit mappings of
Host1
to volumes
V1
and
V3
(leaving the default mappings
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 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
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...