Solved

vmdk file restore

Posted on 2014-12-12
10
317 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 121
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 121
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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 

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

Author Comment

by:sam2sham
ID: 40496782
Yes
0
 
LVL 121

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

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.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

728 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