Solved

vmdk file restore

Posted on 2014-12-12
10
308 Views
Last Modified: 2015-01-06
Accidently deleted a file: VmNAME-000001.vmdk   from data store for one VM machine.

Now not being able to power on the VM machine:

Reason: The system cannot find the file specified.
Cannot open the disk '/vmfs/volumes/4df9bce9-1e9aaf89-5b78-b8ac6f9161a0/MENAAEDUIM1/VmName-000007.vmdk' or one of the snapshot disks it depends on.
VMware ESX cannot find the virtual disk "VmName-000001.vmdk". Verify the path is valid and try again.
0
Comment
Question by:sam2sham
[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
  • 5
  • 4
10 Comments
 
LVL 120
ID: 40496196
The file you have deleted is a snapshot. (child disk linked to the parent disk)

see my EE Article

HOW TO: VMware Snapshots :- Be Patient

The virtual machine is now corrupted without this file.


Two options:-

1. Recover the file

VMFS Recover, UFS Explorer, Disk Internals VMFS Recovery.

2. Forcibly disconnect this snapshot disk, and risk VM corruption.
0
 

Author Comment

by:sam2sham
ID: 40496287
Thank you for your instant reply Andrew.
now I installed VMFS Recover but not being able to locate the file, how to do so? is there any way to show you remotely?
alternatively how we can force the disconnection for the file? and why we risk the VM?
0
 
LVL 120
ID: 40496366
The virtual machine disk is complete when you have the following:-

complete disk = parent disk + child disk (snapshot)

You have removed the snapshot disk, and therefore all the changes that have been written to the snapshot disk.

With VMFS Recover you need to connect to the ESXi Server, and then Mount a datastore, and complete a Full Recovery Scan.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:sam2sham
ID: 40496404
the snapshot I removed was old one from 2011 , there are other new ones in the same data store folder.
am not sure how to mount the datastore
can you help me remotely?

you said option 2: Forcibly disconnect this snapshot disk, and risk VM corruption.
how to perform it?
0
 
LVL 120
ID: 40496427
All I know, is what you are telling me, if you deleted a disk, and the VM no longer powers on because it's expecting that disk, the disk must have been in use or required for it's operation.

I'm sorry no Exchange Expert can offer remote support.

There is a danger, if we discard, and "disconnect" the snapshot now, the file you recover, will be useless.

So this method is only tried as a last resort.

and to do this, You remove the disk from the VM  completely, and then alter the VMDK file reference to discard the snapshot file reference.
0
 

Author Comment

by:sam2sham
ID: 40496542
i have connected to server via port HTTP using the Disk Internals VMFS Recovery
please let me know which file i have to choose to mount?
connect.jpg
data-store.jpg
0
 
LVL 120
ID: 40496720
is your datastore on a single disk ?
0
 

Author Comment

by:sam2sham
ID: 40496782
Yes
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40496786
okay, you should get an option, which states disks ?

select disks, and then scan ?
0

Featured Post

Independent Software Vendors: 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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
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.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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