• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1089
  • Last Modified:

Hyper-V Manager Deleted .avhd File

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
troycsl
Asked:
troycsl
  • 2
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
troycslAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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