Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 12016
  • Last Modified:

AVHDX file still exists in Virtual Hard Disk folder of VM, after Checkpoint has bee removed

I have removed the Checkpoint for the VM on a Hyper-V 2012 R2 Host machine.  However, when checking the folder, Virtual Hard Disks, the *.avhdx file is still there.  It is huge, 182 gb.  The VM's *.vhdx file is 214 gb.  How can I remove the *.avhdx file to make more room?   Do I need to run a PowerShell Command to remove it?
1
OdneyTech
Asked:
OdneyTech
  • 2
  • 2
1 Solution
 
Cliff GaliherCommented:
Have you removed *all* the checkpoints? You can chain them or have multiples after all. And have you verified the status isn't still "merging?" Or is the VM itself set up yo use a differencing disk? Those are also avhd. Hyper-v is very good at cleaning up after itself. If the file is still there, I'd strongly suspect it is still in use.
0
 
OdneyTechAuthor Commented:
They Hyper-V Manager shows all the Checkpoints are removed.  It has finished merging since I removed them on Saturday.  The VM is not setup to use a differencing disk.
0
 
Cliff GaliherCommented:
Well, if it were me, I'd shut down the VM. Rename the avhd, and restart the VM. Look for missing/lost data or errors, and if all is well, move the avhd off the system to cold storage and eventually delete it.
0
 
OdneyTechAuthor Commented:
The suggestion Cliff Galiher had given worked for me.  Before I did it, I opened the Hyper-V Manager and under Actions, I inspected the disk, or ahvdx file.  I have not seen errors or missing data.  However, these two articles did help me with my decision and provided ma a backup plan.
https://social.technet.microsoft.com/Forums/en-US/83adb645-0aea-4475-8bab-1827080f7ff0/data-recover-from-snapshot-file-avhdx
http://itproctology.blogspot.com/2008/06/how-to-manually-merge-hyper-v-snapshots.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now