?
Solved

Hyper-V Manager Deleted .avhd File

Posted on 2013-12-06
3
Medium Priority
?
1,030 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
[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
3 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 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 123
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…
Suggested Courses

764 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