Solved

.vmdk file lost from datastore

Posted on 2011-09-06
8
806 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMWare ESXi Guest VM shuts down itself 35 88
How to setup DFS and is my plan for deployment correct? 3 59
VCenter migration issue 10 50
VMware 6.5:  USB devices 16 40
It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:

813 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

14 Experts available now in Live!

Get 1:1 Help Now