Solved

How to repair a corrupt VMDK used in VmWare Workstation

Posted on 2010-09-22
9
3,944 Views
Last Modified: 2012-06-27
Hi there.
I have a big problem. After a serious harddisk crash i lost all data.  I have filebackup of all data except the mailfile. I have a backup of the directory where the vmdk and related files are stored. but the last vmdk backup has somehow gotten corrupted. Any thoughts to how i can get data back from the corrupted vmdk? I have tried:
- Mounted the file in Workstation 7 - so i can acces it in the host os.
- Mounted the file in vdk32.exe - so i can acces it in the host os.
- Mounted it in another workstation 7 virtual pc as a second harddisk and tried to browse it in a virtual pc (windows 2008 servers).
- Used R-studio and some other harddsik recovery programs to scan the disk in the above but with the same results:
    It seems that the 80gig vmdk file just contains 10 gb of data - it should contain over 60gb of data. Rstudio and scanned programs show that the harddisk (vmdk-file) contains the first 10% as data end the rest is blank).
When i browse the vmdkfile via hostpc it contains files but only about 10 gb.

The filecopy was done manually when vmware was shutdown and it completed ok. I took a test and booted the backupvmdk after copying it, and it booted ok - i could log on the virtual server.

Any tools or tips to fix this vmdk-file? I have tried vmware converter as well...

Frank
0
Comment
Question by:LeFranX
  • 4
  • 3
9 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 33739376
Are there other VMDK files in your backup? Specifically snapshot files?  Other than some outright backup failure or corruption, I do not know why an 80Gb machine should reduce to 10Gb. That is why I ask about snapshots.
... Thinkpads_User
0
 

Author Comment

by:LeFranX
ID: 33742061
There are no snapshots or other vmdk files. I have used an older vmdk-backup so the server is online again, and had filebackup so everything is back except 6 weeks of mail.
0
 

Author Comment

by:LeFranX
ID: 33742165
The files i have is:
SBS2008STD.nvram
SBS2008STD.vmdk
SBS2008STD.vmsd
SBS2008STD.vmx
SBS2008STD.vmxf

0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 93

Accepted Solution

by:
John Hurst earned 500 total points
ID: 33742499
Those files are the correct files.  So then, something must have happened in the backup process at some point that affect the .VMDK file.  I cannot see what else at this point. ... Thinkpads_User
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 33743290
Also, 80Gb is a very big file to back up. Is there any chance you had a space error on backup (run out of space)? I would think you would get a message, but it is worth checking.

Also, again because of size, the backup could have choked, but again I would expect an error in the log.

... Thinkpads_User
0
 

Author Comment

by:LeFranX
ID: 33744718
Thanx for tips.
No diskspace error or copy error.
When i copied it I booted the backup vmdk and it booted fine and everything seemed ok - i even loged on as administrator so i could shut it down. Now i miss alot of windows systemfiles (andother files) and cant boot thebackup vmdk. Get the error: "A disk read error occurred. Press Ctrl+Alt+Del to restart".
I can see 10gb of files but miss 50 gb of files when i mount the disk.
Very strange.
I guess the file got corrupted after i shut it down. I hoped it was a way to scan the file for 'files'.
Like a program like R-studio but made for vmdk.
Or maybe the vmx or vmxf files contains some info that make this error.


0
 

Author Closing Comment

by:LeFranX
ID: 34671801
No solution. But agree something happened in the copy prosess
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CloudBerry to Amazon for VM 3 72
VMware 6.0 3 71
replace a Storage 5 78
vSphere HA agent Alarms 3 42
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Facing problems with you memory card? Cannot access your memory card? All stored data, images, videos are lost? If these are your questions...than this small article might help you out in retrieving your lost or inaccessible data.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

809 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