Solved

Hyper-V Manager Deleted .avhd File

Posted on 2013-12-06
3
977 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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39701545
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
ID: 39701555
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 119
ID: 39701602
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

839 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