Set-OVStorageVolume
Syntax
Set-OVStorageVolume
[-InputObject] <Object>
[-Name <String>]
[-Description <String>]
[-Capacity <Int64>]
[-SnapShotStoragePool <Object>]
[-PermitAdaptiveOptimization <Boolean>]
[-Shared <Boolean>]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Description
This Cmdlet will help modify an existing Storage Volume resource. Only the Volume Name, Description, Capcity, volume shared state and permenance can be modified.
Examples
Example 1
Update "ProdVol1" volume size to 160GB.
Parameters
-InputObject <Object>
Source Storage Volume resource object.
| Aliases | SourceVolume |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
-Name <String>
Updated Storage Volume Name.
| Aliases | VolumeName |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Description <String>
Updated description for the volume.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Capacity <Int64>
New Max volume capacity in GB. Volume capacity can be increased to maximum of 16 TiB. Decreasing the capacity of volume is not supported.
Before increasing the capacity of fully provisioned volumes, ensure that the storage pool has enough capacity to support the operation. The update operation might fail if there is not enough space available in the storage pool.
[e.g]. 20 to specify 20GB.
| Aliases | size |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | 0 |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-SnapShotStoragePool <Object>
The Storage Pool Name, URI or Object to be used for Volume Snapshots.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Shared <Boolean>
Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-PermitAdaptiveOptimization <Boolean>
Include this switch to mark the Storage Volume as a Shareable resource for shared volume access. Default: Private
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-ApplianceConnection <Object>
Specify one [HPEOneView.Appliance.Connection] object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
| Aliases | Appliance |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | true (ByPropertyName) |
| Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
Input Types
Storage Volume resource object
Return Values
Async create task
Related Links
- Add-OVStorageVolume
- ConvertTo-OVStorageVolume
- Get-OVStorageVolume
- Get-OVStorageVolumeSet
- Get-OVStorageVolumeSnapShot
- Get-OVStorageVolumeTemplate
- Get-OVStorageVolumeTemplatePolicy
- New-OVStorageVolume
- New-OVStorageVolumeSnapshot
- New-OVStorageVolumeTemplate
- Remove-OVStorageVolume
- Remove-OVStorageVolumeSnapshot
- Remove-OVStorageVolumeTemplate
- Set-OVStorageVolumeTemplate
- Set-OVStorageVolumeTemplatePolicy