Solved

vmdk file restore

Posted on 2014-12-12
10
295 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
  • 5
  • 4
10 Comments
 
LVL 118
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 118
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
 

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 118
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 118
ID: 40496720
is your datastore on a single disk ?
0
 

Author Comment

by:sam2sham
ID: 40496782
Yes
0
 
LVL 118

Accepted Solution

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

select disks, and then scan ?
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

911 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

20 Experts available now in Live!

Get 1:1 Help Now