Solved

.vmdk file lost from datastore

Posted on 2011-09-06
8
809 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
[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
  • 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
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.

 
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

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!

Question has a verified solution.

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

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 …
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 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