HP P2000 Reference Manual page 95

Msa system
Hide thumbs Also See for P2000:
Table of Contents

Advertisement

host hosts
Optional. For FC and SAS, the nickname or 16-hex-digit WWPN of each host to map the volumes to.
For iSCSI, the node name (typically the IQN) or nickname of each initiator to map the volumes to.
For nickname syntax, see
mapping parameter or both the lun and ports parameters must be specified. If the host
parameter is omitted, the mapping applies to all hosts that are not explicitly mapped.
volumes
Names or serial numbers of the volumes to map. For volume syntax, see
page 21.
Example Map volume v2 with read-only access for Host1, using port A1 and LUN 100:
# map volume access ro ports a1 lun 100 host Host1 v2
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v2 with LUN
100. (v2)
Success: Command completed successfully.
Map volumes v2 and v3 with read-write access for Host2, using ports A1 and B1 and LUN 101:
# map volume access rw ports a1,b1 lun 101 host Host2 v2,v3
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v2 with LUN
101. (v2)
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v3 with LUN
102. (v3)
Success: Command completed successfully.
Mask volume v4 from Host1 and Host3:
# map volume v4 access no-access host Host1,Host3
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v4 with LUN
0. (v4)
Info: Mapping succeeded. Host 207000c0ff001123 was mapped for volume v4 with LUN
0. (v4)
Success: Command completed successfully.
Map volumes v1 and v2 to hosts Host1 and Host2, using ports A1 and B1 starting with LUN 6,
and view the results:
# map volume ports a1,b1 lun 6 host Host1,Host2 v1,v2
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v1 with LUN
6. (v1)
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v1 with LUN
6. (v1)
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v2 with LUN
7. (v2)
Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v2 with LUN
7. (v2)
Success: Command completed successfully.
# show volume-maps
Volume View [Serial Number (SN) Name (v1) ] Mapping:
Ports LUN
-----------------------------------------------------------------
A1,B1 6
A1,B1 6
Command syntax
Access
Host-Port-Identifier Nickname Profile
read-write
207000c0ff001121
read-write
207000c0ff001122
not-mapped
all other hosts
on page 21. If the host parameter is specified, either the
Host1
Host2
HP P2000 G3 MSA System CLI Reference Guide
Command syntax
on
Standard
Standard
Standard
95

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2000 g3

Table of Contents