Set HPOVStorageVolume - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVStorageVolume

Modify an existing Storage Volume resource.

SYNTAX

Set-HPOVStorageVolume [-InputObject] <Object>[ [-Name] <String>][ [-Description] <String>] [-Capacity] <Int64>[ [-SnapShotStoragePool] <Object>][ [-DataProtectionLevel] <String>][ [-PermitAdaptiveOptimization] <Boolean>][ [-Shared] <Boolean>] [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed 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.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Capacity <Int64>

Aliases [-size] 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

-DataProtectionLevel <String>

Specify the new StoreVirtual data protection level (aka Network RAID). Allowed values:

* NetworkRaid0None
* NetworkRaid5SingleParity
* NetworkRaid10Mirror2Way
* NetworkRaid10Mirror3Way
* NetworkRaid10Mirror4Way
* NetworkRaid6DualParity
Aliases None
Required? false
Position? named
Default value False
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

-InputObject <Object>

Aliases [-SourceVolume] Source Storage Volume resource object.

Aliases SourceVolume
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Name <String>

Aliases [-VolumeName]

Updated Storage Volume Name.

Aliases VolumeName
Required? false
Position? named
Default value
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

-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

-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

<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

HPOneView.Storage.Volume [System.Management.Automation.PSCustomObject]

Storage Volume resource object

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async create task

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVStorageVolume ProdVol1 | Set-HPOVStorageVolume -Size 160

Update "ProdVol1" volume size to 160GB.

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVStorageVolume

Modify an existing Storage Volume resource.

SYNTAX

Set-HPOVStorageVolume [-InputObject] <Object>[ [-Name] <String>][ [-Description] <String>] [-Capacity] <Int64>[ [-SnapShotStoragePool] <Object>][ [-DataProtectionLevel] <String>][ [-PermitAdaptiveOptimization] <Boolean>][ [-Shared] <Boolean>] [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed 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.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Capacity <Int64>

Aliases [-size] 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

-DataProtectionLevel <String>

Specify the new StoreVirtual data protection level (aka Network RAID). Allowed values:

* NetworkRaid0None
* NetworkRaid5SingleParity
* NetworkRaid10Mirror2Way
* NetworkRaid10Mirror3Way
* NetworkRaid10Mirror4Way
* NetworkRaid6DualParity
Aliases None
Required? false
Position? named
Default value False
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

-InputObject <Object>

Aliases [-SourceVolume] Source Storage Volume resource object.

Aliases SourceVolume
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    False

-Name <String>

Aliases [-VolumeName]

Updated Storage Volume Name.

Aliases VolumeName
Required? false
Position? named
Default value
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

-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

-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

<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

HPOneView.Storage.Volume [System.Management.Automation.PSCustomObject]

Storage Volume resource object

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Async create task

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVStorageVolume ProdVol1 | Set-HPOVStorageVolume -Size 160

Update 'ProdVol1' volume size to 160GB.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️