Manually merge checkpoints if chain is broken

I had a situation when VM had 42 checkpoints after backup failure. I’ve tried the actions from my article Merge checkpoints (avhdx / vhdx), but it didn’t work, I had┬ácatastrofic failure error.┬áThat means the chain of snapshots (checkpoints) is broken.

Follow these steps to fix the issue:

  1. Turn off the VM and backup VM’s content
  2. Open Hyper-V Manager where is VM located. This will assures you have proper access permissions to the virtual disk
  3. Click on Edit disk, select the folder where VM keeps it’s vhdx
  4. Select very last check point file (with .avhdx extension)
  5. Select “Merge”
  6. You will be asked to confirm merge this file with the parent disk. The parent disk is a previous .avhdx file
  7. Do it until you have no avhdx files in VM’s folder. At the end you should have just single vhdx file
  8. Your VM will not run with this disk, because its only remember last avhdx file. Create new VM and copy vhdx file to there, attach it in VM’s hardware configuration.
  9. You will need to reconfigure network settings as well because your VM also get new vNIC.

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *