Solved

How to repair a corrupt VMDK used in VmWare Workstation

Posted on 2010-09-22
9
4,112 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
[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
  • 4
  • 3
9 Comments
 
LVL 95

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
When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

 
LVL 95

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 95

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

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…
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

734 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