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
Modifies the properties of an existing HPE OneView storage volume.Syntax
Description
Set-OVStorageVolume updates the configuration of a storage volume that is already managed by HPE OneView. Pass the volume object from Get-OVStorageVolume via the pipeline or -InputObject.
Capacity can only be increased — storage arrays do not support online shrinking of volumes. Attempting to specify a capacity smaller than the current size will produce an error.
Changing -Shared from $true to $false is only permitted when the volume is not attached to more than one server profile.
Parameters
The storage volume object to modify. Accepts pipeline input from
Get-OVStorageVolume. Aliased as SourceVolume.New display name for the volume. Aliased as
VolumeName.New description for the volume.
New capacity in gibibytes (GiB). Must be greater than the current capacity. Aliased as
size.Storage pool to use for volume snapshots. Accepts an
HPEOneView.Storage.StoragePool object or a pool name string.Enables or disables Adaptive Optimization (AO) on 3PAR/Primera volumes. When
$true, the array may relocate data between tiers based on access patterns.Sets whether the volume is shareable (
$true) or private ($false). Setting to $false requires that the volume is currently attached to no more than one server profile.HPE OneView appliance connection. Defaults to the default connected session. Aliased as
Appliance.Examples
Expand a volume’s capacity
Rename a volume and update its description
Make a private volume shareable
Update the snapshot storage pool
Output
HPEOneView.Appliance.TaskResource
An asynchronous task that tracks the update operation on the storage system. Pipe to Wait-OVTaskComplete if you need the task to finish before proceeding.