StopImageUpdate

Command:

StopImageUpdate (DcsSnap#)

Description:

This command is used to stop the Image Update process on a particular snapshot relationship. This command may be necessary if the snapshot copy (destination volume) is no longer useful, or if subsequent changes to the destination volume are needed after the Image Update process has begun.

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.

StopImageUpdate