Solved

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

Posted on 2014-10-20
4
10,080 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 58

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 58

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
OfficeMate Freezes on login or does not load after login credentials are input.
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.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

719 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