StopCompleteImage

Command:

StopCompleteImage (DcsSnap#)

Description:

This command is used to stop the Complete Image process on a particular snapshot relationship. This command is useful when the destination volume is no longer needed.

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_INVALID_PARAMETER:  There is either a potential version mismatch between API and driver, or the snapshot relationship is not enabled.

DCSPIT_ERROR_DEVICE_DOES_NOT_EXIST:  The snapshot does not exist.

ERROR_INVALID_PARAMETER:  hDeviceHandle is an invalid handle.

Comments:

You can use GetSnapStatus or GetSnapExtendedStatus to verify the success of this command.

If the Complete Image process is stopped, re-starting the Complete Image process will start the replication where it left off.

When the Complete Image process has completed, if you want to write new changes from the source to the destination volume, use the StartImageUpdate command.

StopCompleteImage