SolidFireElementModifyVolume Method (Int64, NullableInt64, String, QoS, NullableInt64, Hashtable, NullableBoolean, NullableInt64, NullableBoolean, NullableInt64, NullableInt64) |
ModifyVolume enables you to modify settings on an existing volume. You can make modifications to one volume at a time and
changes take place immediately. If you do not specify QoS values when you modify a volume, they remain the same as before the modification. You can retrieve
default QoS values for a newly created volume by running the GetDefaultQoS method.
When you need to increase the size of a volume that is being replicated, do so in the following order to prevent replication errors:
1. Increase the size of the "Replication Target" volume.
2. Increase the size of the source or "Read / Write" volume.
Both the target and source volumes must be of the same size.
Note: If you change the "access" status to locked or target, all existing iSCSI connections are terminated.
Namespace:
SolidFire.Element.Api
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public ModifyVolumeResult ModifyVolume(
long VolumeID,
Nullable<long> AccountID = null,
string Access = null,
QoS Qos = null,
Nullable<long> TotalSize = null,
Hashtable Attributes = null,
Nullable<bool> AssociateWithQoSPolicy = null,
Nullable<long> QosPolicyID = null,
Nullable<bool> EnableSnapMirrorReplication = null,
Nullable<long> FifoSize = null,
Nullable<long> MinFifoSize = null
)
Parameters
- VolumeID
- Type: SystemInt64
- AccountID (Optional)
- Type: SystemNullableInt64
- Access (Optional)
- Type: SystemString
- Qos (Optional)
- Type: SolidFire.Element.ApiQoS
- TotalSize (Optional)
- Type: SystemNullableInt64
- Attributes (Optional)
- Type: System.CollectionsHashtable
- AssociateWithQoSPolicy (Optional)
- Type: SystemNullableBoolean
- QosPolicyID (Optional)
- Type: SystemNullableInt64
- EnableSnapMirrorReplication (Optional)
- Type: SystemNullableBoolean
- FifoSize (Optional)
- Type: SystemNullableInt64
- MinFifoSize (Optional)
- Type: SystemNullableInt64
Return Value
Type:
ModifyVolumeResultImplements
ISolidFireElementModifyVolume(Int64, NullableInt64, String, QoS, NullableInt64, Hashtable, NullableBoolean, NullableInt64, NullableBoolean, NullableInt64, NullableInt64)See Also