DisableSnap

Command:

DisableSnap DcsSnap{relationship#}

Description:

This command is used to disable a snapshot relationship. Disabling a snapshot relationship stops all Snapshot processes that may occur on the source and destination volumes while the snapshot relationship is enabled.

Arguments:

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

For example: DisableSnap DcsSnap1

Return Value:

0:  success.

-1:  failure. Call the GetLastErrors command for extended error code information.

Error Codes:

DCSPIT_ERROR_INVALID_PARAMETER:  There is a potential version mismatch between API and driver.

DCSPIT_ERROR_DEVICE_DOES_NOT_EXIST:  Either the snapshot relationship was not created, or it does not exist.

DCSPIT_ERROR_INSUFFICIENT_RESOURCES:  Memory allocation has failed.

ERROR_INVALID_PARAMETER:  hDeviceHandle is an invalid handle.

 DCSPIT_ERROR_DEVICE_NOT_READY:  The snapshot relationship was in the process of being created. Retry the operation.

 DCSPIT_ERROR_DEVICE_BUSY:  Either open handles are still referencing the snapshot relationship, or the snapshot relationship is still enabled.

Comments:

You can use the GetSnapStatus command or the GetSnapExtendedStatus command to verify the success of this command. To discover why the command may have failed, use the GetLastErrors command.

You can use the EnableSnap command to re-enable the snapshot relationship.

DisableSnap