Click or drag to resize

ISolidFireElementCopyVolumeAsync Method (CopyVolumeRequest, CancellationToken)

CopyVolume enables you to overwrite the data contents of an existing volume with the data contents of another volume (or snapshot). Attributes of the destination volume such as IQN, QoS settings, size, account, and volume access group membership are not changed. The destination volume must already exist and must be the same size as the source volume. NetApp strongly recommends that clients unmount the destination volume before the CopyVolume operation begins. If the destination volume is modified during the copy operation, the changes will be lost. This method is asynchronous and may take a variable amount of time to complete. You can use the GetAsyncResult method to determine when the process has finished, and ListSyncJobs to see the progress of the copy.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
Task<CopyVolumeResult> CopyVolumeAsync(
	CopyVolumeRequest obj,
	CancellationToken cancellationToken
)

Parameters

obj
Type: SolidFire.Element.ApiCopyVolumeRequest
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskCopyVolumeResult
See Also