HP P2000 G3 MSA System CLI Reference Guide
71
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
map volume
and
unmap volume
commands.
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
Command syntax
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
show cli-parameters
command.
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
Command syntax
on page 22. 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.
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...