Solved

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

Posted on 2014-10-20
4
8,918 Views
1 Endorsement
Last Modified: 2014-10-22
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
Comment
Question by:OdneyTech
  • 2
  • 2
4 Comments
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 40392568
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
 

Author Comment

by:OdneyTech
ID: 40392654
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
 
LVL 57

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 40392678
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
 

Author Closing Comment

by:OdneyTech
ID: 40397012
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
OfficeMate Freezes on login or does not load after login credentials are input.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question