HP P2000 HP P2000 G3 MSA System CLI Reference Guide - Page 63
create volume, omitted, all ports are selected.
View all HP P2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 63 highlights
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 and unmap volume commands. 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 Command syntax 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 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. 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 Command syntax on page 21. If this parameter is 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 Command syntax on page 21. 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. HP P2000 G3 MSA System CLI Reference Guide 63