Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Creates a new storage volume from a storage pool or volume template.Syntax
From storage pool (default)
From volume template
Description
New-OVStorageVolume creates a storage volume on an HPE OneView-managed array. You can provision a volume directly from a storage pool (CPG) or from a volume template that enforces organizational standards.
Specify -Capacity in gibibytes (GiB). If -Capacity is omitted, the value from the volume template or the storage system default is used.
Use -ProvisioningType Thin for thin provisioning (deduplication-supported TPVV), Full for thick/fully-allocated provisioning, or TPDD for thin provisioning with deduplication and compression (Adaptive Optimization). Use the -Full switch as a shorthand for full provisioning.
For shared volumes that need to be attached to multiple server profiles simultaneously, add the -Shared switch.
The cmdlet returns an async task when the storage system accepts the request. Pipe to Wait-OVTaskComplete if you need synchronous behavior, or use -Async to immediately return the task object.
If the appliance has a mandatory volume template policy enabled (
Set-OVStorageVolumeTemplatePolicy), you must use the -VolumeTemplate parameter set. Providing only a storage pool will fail.Parameters
Display name for the new volume. Aliased as
VolumeName.The storage pool (CPG) on which to create the volume. Accepts pipeline input from
Get-OVStoragePool. Aliased as pool and poolName.Volume template to use when creating the volume (template parameter set). Accepts an
HPEOneView.Storage.VolumeTemplate object or a template name string. Aliased as template and svt.Optional description for the volume.
Storage pool to use for snapshots of this volume. Defaults to the same pool as the volume if not specified.
Storage system to use when the pool name is ambiguous across multiple systems.
Volume size in gibibytes (GiB). Must be at least 1 GiB. Aliased as
size.Provisioning type for the volume. Accepted values:
Thin, Full, TPDD. Aliased as ProvisionType.Shorthand switch to request full (thick) provisioning. Equivalent to
-ProvisioningType Full.Marks the volume as shareable, allowing it to be attached to multiple server profiles simultaneously.
Enables inline compression on the volume. Supported on Primera and Alletra systems.
Enables inline deduplication on the volume. Supported on Primera and Alletra systems.
Enables volume-level encryption. Requires the storage system to support this feature.
Performance policy to assign to the volume. Use
Get-OVStorageSystem to retrieve available performance policies.Volume set (consistency group) to add the volume to.
Enables an IOPS limit on the volume.
Maximum IOPS for the volume when
-EnableIOPSLimit is $true. Valid range: 256–4,294,967,295.Enables a data transfer throughput limit on the volume.
Maximum data transfer rate (MB/s) when
-EnableDataTransferLimit is $true.Pins the volume in the storage system cache for maximum performance.
Nimble Storage folder to place the volume in.
Assigns the volume to one or more HPE OneView scopes at creation time.
Returns the task object immediately without waiting for the operation to complete.
HPE OneView appliance connection. Defaults to the default connected session. Aliased as
Appliance.Examples
Create 10 thin-provisioned volumes in a loop
Vol1 through Vol10, each 60 GiB, using the default provisioning type of the storage pool.
Create shared volumes
Create a thin-provisioned volume with snapshot pool
Create a volume from a template
Output
HPEOneView.Appliance.TaskResource
An asynchronous task object. Pipe to Wait-OVTaskComplete to block until the volume is created.