Solved

Hyper-V Manager Deleted .avhd File

Posted on 2013-12-06
3
939 Views
Last Modified: 2014-11-12
Hey Guys,

So I think I messed up pretty bad.

I was working with a virtual server, and began copying some files from one drive to the same drive (This was in windows) and the server restarted on me.

Realizing that the Physical server's HDD was almost full, I went in search of files that might be unnecessary, and found a stack of ".avhd" files that were absolutely huge.

I've now come to realize that they are imperative (as you probably already know). I deleted a single one, and I'm currently trying to recover it. I deleted it via the "del" command in windows command line.

I'm currently running Recuva on the drive, but to my dismay I can't see the file what so ever, there doesn't even seem to be any reference to it.

Would it be plausible to recover this virtual drive to any length? The file I deleted was, sadly, one up in the chain from the most recent .avhd file. The most recent seems to be HUGE (220 gigs?).

Any advice would be greatly appreciated.
0
Comment
Question by:troycsl
  • 2
3 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
Unfortunately, the word Whoops comes to mind.

You had a Snapshot, the VHD and AVHD make up the Parent and Child, the child contains all the latest changes to the VM.

When you deleted the AVHD, you have effectively discarded all those changes, reverting your VM back to before the Snapshot was created!.

To understand Hyper-V Snapshots further consult this article

Hyper-V Snapshots FAQ

File Recovery is your only option, at a successful VM Recovery, to prevent loss of data.
0
 

Author Comment

by:troycsl
Comment Utility
Hanccocka,

I now understand the file structure of these quite a bit better, but am (obviously) still in quite the predicament.

I'm still dumbfounded that i can't see any trace of this file in the recovery programs I'm trying. I'm seeing things from before the drive was formatted BEFORE it was a virtual server.

Does the windows "del" command do that good a job of deleting files?
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
not really, provided no activity has been occuring on the drive, and depedant upon how large the file was, will give an indication of a successful recovery?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

OfficeMate Freezes on login or does not load after login credentials are input.
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now