HP MSA 2040 CLI Reference Guide

72 Alphabetical list of commands
access read-write|rw|read-only|ro|no-access
Optional. Access privilege that hosts have to these volumes: read-write (rw), read-only (ro), or
no-access. If no-access is specified, the volume is not mapped. The default is read-write.
ports
ports
Optional. The controller ports through which hosts can access the volumes using LUNs specified by
the baselun parameter. For port syntax, see "Command syntax" (page 20). If not all ports are
specified, the unspecified ports are not mapped. If the ports and baselun parameters are
omitted, the volumes are not mapped.
Example Create two unmapped, 100-GB volumes with base name data- in vdisk data, and show the
results:
# create volume-set count 2 size 100GB vdisk data basename data-
Info: The volume was created. (data-0000)
Info: The volume was created. (data-0001)
Success: Command completed successfully. (2012-01-20 14:24:09)
# show volume-maps
Volume View [Serial Number (
SN
) Name (data-0000) ] Mapping:
Ports LUN Access Host-Port-Identifier Nickname Profile
-----------------------------------------------------------------
not-mapped all other hosts Standard
Volume View [Serial Number (
SN
) Name (data-0001) ] Mapping:
Ports LUN Access Host-Port-Identifier Nickname Profile
-----------------------------------------------------------------
not-mapped all other hosts Standard
Success: Command completed successfully. (2012-01-20 14:24:27)