Create Volume - HP P2000 Reference Manual

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

Advertisement

create volume

Description Creates a volume in a vdisk. You must specify a size for the volume. You can create the volume
unmapped or set its 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 the mapping by using
the
map volume
By default, this command will not map the created volume.
Syntax
create volume
vdisk vdisk
size size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
[mapping ports.LUN]
[access read-write|rw|read-only|ro|no-access]
[lun LUN]
[ports ports]
[snap-pool snap-pool]
[reserve size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]]
[snappable]
[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
on page 21.
size size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Sets the volume size using the current base, as shown by the
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.
mapping ports.LUN
Deprecated; use the ports and lun parameters.
access read-write|rw|read-only|ro|no-access
Optional. The access permission for hosts connected to the controller for this volume: read-write (rw),
read-only (ro), or no-access. If no-access is specified, the volume is not mapped. The default is
read-write.
lun LUN
Optional if the access parameter is set to no-access. Specifies the LUN to assign to the mapping
on all ports.
ports ports
Optional. The ports through which the host can access the volume. In a combo system, select either
FC or iSCSI ports, not both. For port syntax, see
omitted, all ports are selected.
snap-pool snap-pool
Optional. Name or serial number of the snap pool to associate with the new volume. For volume
syntax, see
reserve size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Optional. Size of the snap pool to create in the vdisk. If this parameter is omitted, the size will be
either 20% of the volume size or the minimum snap-pool size, whichever is larger. Use either this
parameter or the snap-pool parameter.
and
unmap volume
Command syntax
on page 21.
commands.
show cli-parameters
Command syntax
HP P2000 G3 MSA System CLI Reference Guide
Command syntax
command. The unit
on page 21. If this parameter is
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2000 g3

Table of Contents