Hyper-V checkpoints created by Comet are not deleted

Symptoms

  • Hyper-V checkpoints created by Comet are not deleted at the end of the backup.
  • Checkpoints are accumulating on the Hyper-V host:
    • After a backup job fails or is interrupted, the checkpoint (AVHDX files) remains and is not merged, even after the cause of the failure is resolved.
    • Each following backup creates a new checkpoint, and the VM keeps running on the latest AVHDX file instead of the base VHDX file.
    • The leftover checkpoints cannot be removed without shutting down the VM, and they consume disk space on the host.
    • Checkpoints are left behind when the backup job stops because the Storage Vault quota was exceeded.

Cause

Comet removes the checkpoint as the final step of a successful backup run. If the backup is interrupted before that step, the checkpoint remains. Known causes:

  • The device is running a version older than 26.2.0 and is not cleaning up checkpoints after a crash or unclean termination of the backup.
  • The device is running a version older than 26.4.5 (26.4.4 and earlier) and the Storage Vault quota was exceeded during the backup (COMET-59919).
  • The checkpoints were created by an older Comet version. These checkpoints do not have the tags that allow the Comet Backup agent to identify which checkpoints it can safely delete, so the newer version does not delete them.
  • The checkpoint chain is broken and automatic merging is not possible.

Resolution

Ensure the device is running at least 26.4.5 for multiple checkpoint fixes. Checkpoint cleanup after a crash is fixed in 26.2.0, and checkpoint cleanup after the Storage Vault quota was exceeded is fixed in 26.4.5 and 26.5.3. 

The upgrade does not retroactively merge the checkpoints that past failures left behind. After the cause of the failure is fixed (for example, after increasing the Storage Vault quota), a successful backup run merges or removes the leftover checkpoints. If checkpoints created before the upgrade remain, delete them manually:

Warning: Powering off the VM stops it immediately. Perform the following steps at a time when the VM can be stopped.

  1. Power down the VM completely. Use the Power Off option in Hyper-V rather than the standard Shutdown option, which can fix issues where the VM fails to switch back to the VHDX file.
  2. In Hyper-V, delete the checkpoint subtree.
  3. Verify that the VM's virtual hard disk setting points to the base VHDX file and not to an AVHDX file. If a backup creates a new AVHDX file immediately, the merge was not finalized.
  4. Run a fresh backup.

There might be logs on the backup.delegate service startup in the device's Event Logs under Application (for the Comet-side logs) and in the VMMS logs for the real Hyper-V error.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.