Create Volume-Set - HP P2000 G3 Cli Reference Manual

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

Advertisement

create volume-set

Description Creates a specified number of volumes in a vdisk. You must specify a base name and a size for the
volumes. You can create the volumes unmapped or set their default mapping. Default mapping
settings apply to all hosts, unless overridden by an explicit mapping between a host and the volume.
You can later change mappings by using the
By default, this command will not map the created volumes.
Syntax
create volume-set
vdisk vdisk
basename base-name
count #
size size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
[baselun base-LUN]
[access read-write|rw|read-only|ro|no-access]
[ports ports]
Parameters vdisk vdisk
Name or serial number of the vdisk to create the volumes in. For vdisk syntax, see
on page 22.
basename base-name
A name to which a number will be appended to generate a different name for each volume. A name
is case sensitive; cannot include a comma, double quote, left angle bracket, or backslash; and can
have a maximum of 16 bytes. A name that includes a space must be enclosed in double quotes.
Resulting volumes are numbered sequentially starting with 000. If volumes with the specified
basename already exist, names of new volumes start with the first available name in the sequence.
For example: for basename vd1_v, if vd1_v000 and vd1_v002 exist, the next volumes created
will be vd1_v001 and vd1_v003.
count #
The number of volumes to create, from 1 to 128. Volumes are created up to the maximum number
supported per vdisk.
size size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Sets the size for each volume using the current base, as shown by the
The unit can be specified as follows:
If base 2 is in use: B (bytes), KiB (kibibytes), MiB (mebibytes), or GiB (gibibytes).
If base 10 is in use: B (bytes), KB (kilobytes), MB (megabytes), or GB (gigabytes).
If no unit is specified, the unit is 512-byte blocks. If the combined size of the volumes exceeds the
capacity of the vdisk, an error message is displayed and no volumes are created.
baselun base-LUN
Optional. The first in a sequence of LUNs to assign to map the volumes through ports specified by
the ports parameter. If the baselun and ports parameters are omitted, the volumes are not
mapped. If a LUN to be assigned to a volume is already in use, an error message is displayed and
that volume and any subsequent volumes are not mapped.
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
specified, the unspecified ports are not mapped. If the ports and baselun parameters are
omitted, the volumes are not mapped.
map volume
and
unmap volume
show cli-parameters
Command syntax
on page 22. If not all ports are
HP P2000 G3 MSA System CLI Reference Guide
commands.
Command syntax
command.
71

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents