Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

.vmdk file lost from datastore

Posted on 2011-09-06
8
Medium Priority
?
820 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 124
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 124
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

971 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