Solved

.vmdk file lost from datastore

Posted on 2011-09-06
8
808 Views
Last Modified: 2012-06-27
Hi.
I accidental removed the file "000005.vmdk" from the datastore. There are other vmdk ranging from 1 to 6 so only #5 is gone.
Nothing else has changed, is there any possibility to restore 000005.vmdk?

I'm running ESXi 4.1
0
Comment
Question by:Bstrdo
  • 3
  • 3
  • 2
8 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 36489065
That is a snapshot file. It seems you have several snapshots. You can't restore it unless you have a b/u of that file. You run the risk of corruption of your VM if you keep snaps for too long. How critical is it you retain the data in your snapshots?

~coolsport00
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 36489076
2 KBs I recommend reading:
VMware Snapshot Best Practices: http://kb.vmware.com/kb/1025279
Understanding VMware Snapshots: http://kb.vmware.com/kb/1015180

~coolsport00
0
 

Author Comment

by:Bstrdo
ID: 36489117
VM itself isn't that important, all I want is to keep the files inside of it.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 120
ID: 36489349
Unfortunately, there is no method of restoring the file you have deleted.

You may be able to download the file to a workstation (using Veeam FastSCP/WInSCP or Datastore Browser) and use the Mount utility to mount the VMDK file to a Drive Letter, for File Recovery.

See here

http://www.vladan.fr/mounting-your-vmdk-disks-directly-to-your-windows-box-how-to/
http://www.petri.co.il/virtual_mount_vmware_virtual_disk_without_vmware.htm

However, depending upon how long the snapshot has been running, the files may be lost.
0
 
LVL 120
ID: 36489362
You maybe able to merge snapshots 1 - 4 into the main vmdk file, otherwise download the main VMDK and mount and open it.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 36489375
If you made any changes to the VM after each snapshot was created, and you 'need' those files, they are most likely gone. If the data you need within the VM is what you need, and changes were made to those files that are needed, it may be that you lost them with the removal of the snap file in question. My suggestion? Just revert the VM to its original state...i.e. remove all the snaps. Then, in moving forward, minimize the use of snaps and when doing so, commit/delete them within a day or 2.

~coolsport00
0
 

Accepted Solution

by:
Bstrdo earned 0 total points
ID: 36813485
I didn't manage to recover the data and thus chose to reinstall everything. Thank you for your time though!
0
 

Author Closing Comment

by:Bstrdo
ID: 36908380
No solution found, reinstalled everything.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

756 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