Solved

.vmdk file lost from datastore

Posted on 2011-09-06
8
804 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
 
LVL 117
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now