StartSourceUpdate

Command:

StartSourceUpdate (DcsSnap#)

Description:

This command is used to start the Source Update process on a particular snapshot relationship. Perform this function on a snapshot relationship to resynchronize the source and destination volumes so that the source volume will become a copy of the current state of the destination.

Arguments:

DcsSnap# :  A value that represents the snapshot relationship number.

Return Value:

0: Success.

-1: Failure. Call GetLastErrors for extended error code information.

Error Codes:

DCSPIT_ERROR_CANCELLED:  The process was terminated by using the StopSourceUpdate command.

DCSPIT_ERROR_INVALID_PARAMETER:  There is either a potential version mismatch between API and driver, or the snapshot is not enabled.

DCSPIT_ERROR_DEVICE_DOES_NOT_EXIST:  The snapshot relationship does not exist.

ERROR_INVALID_PARAMETER:  hDeviceHandle is an invalid handle.

Comments:

If you want to monitor the progress of the process, you can use GetSnapStatus or GetSnapExtendedStatus to verify that the process is still active.

The source volume of the snapshot relationship must not be accessed during this process.

StartSourceUpdate