HP P2000 G3 MSA System CLI Reference Guide
49
create master-volume
Description
Creates a volume that is enabled for snapshots. The master volume is created in a specified vdisk
and is associated with a specified snap pool. You can either associate the master volume with an
existing snap pool owned by the same controller, or optionally specify the size of a new snap pool to
automatically create. The vdisk and snap pool must be owned by the same controller.
For use with remote replication, you can create a replication-prepared volume that is intended to be
added to a replication set as its secondary volume. A secondary volume cannot be assigned a LUN
or mapped to hosts.
Syntax
create master-volume
vdisk
vdisk
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
[snap-pool
snap-pool
]
[reserve size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]]
[lun
LUN
]
[prepare-replication-volume]
[ovms-uid
ID
]
name
Parameters
vdisk
vdisk
Name or serial number of the vdisk to create the volume in. For vdisk syntax, see
Command syntax
on page 22.
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Sets the volume size 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.
snap-pool
snap-pool
Optional. Name or serial number of the snap pool to associate with the new master volume. For
volume syntax, see
Command syntax
on page 22. If this parameter is omitted, the system
automatically creates a snap pool that is either 20% of the master volume's size or 5.37 GB,
whichever is larger. Use either this parameter or the
reserve
parameter.
reserve
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Optional. Size of the snap pool to create in the vdisk. The default size is either 20% of the volume
size or 5.37 GB, whichever is larger. Use either this parameter or the
snap-pool
parameter.
NOTE:
In rare cases, a large amount of I/O can cause a snap pool that is too small to fill quickly.
This can result in all snapshots being deleted due to the snap pool running out of space. Create snap
pools of at least 50 GB to avoid this situation.
lun
LUN
Optional. A default LUN to assign to the new master volume. If this parameter is omitted, no LUN is
assigned. Use either this parameter or the
prepare-replication-volume
parameter.
prepare-replication-volume
Optional. Specifies to create a replication volume instead of a regular master volume. Use either this
parameter or the
lun
parameter.
ovms-uid
ID
For a volume to be accessed by an OpenVMS host, assign a volume ID in the range 1–32767 to
identify the volume to the host.
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...