Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)
Chapter 3 Command Descriptions 95
Example
On a SAS system, map volume V1 on ports A0 and B0 with LUN 10 and read-
write access for all hosts that are not explicitly mapped.
On an FC or iSCSI system, map volume V1 on port 1 with LUN 5 and read-write
access for all hosts that are not explicitly mapped. The port is on the controller that
owns the volume’s virtual disk.
On an FC or iSCSI system, map volume V2 on ports 0 and 1 with LUN 2 and read-
only access for host MyHost. The ports are on the controller that owns the volume’s
virtual disk.
host host Optional. For FC and SAS, this specifies the host’s nickname
or 16-hex-digit WWPN. For iSCSI, this specifies the iSCSI
host initiator’s node name (typically the IQN) or nickname. For
the nickname syntax to use, see “Host Nickname Syntax” on
page 27. If this parameter is omitted, the mapping applies to
the all-hosts mapping and applies to all hosts that are not
explicitly mapped.
access
read-write|rw|
read-only|ro|
none
Optional. Specifies the access permission available to hosts
connected to the controller for this volume: read-write (rw),
read-only (ro), or none.
When a volume is mapped with no
access, the volume is
masked. The default is read-write.
If this parameter is omitted, either the lun parameter or the
mapping parameter must be specified.
# map volume V1 mapping a0,b0.10
Success: volume mapped successfully
# map volume V1 mapping 1.5
Success: volume mapped successfully
# map volume V2 mapping 0-1.2 host MyHost access ro
Success: volume mapped successfully
Parameter Description