Solved

vmdk file restore

Posted on 2014-12-12
10
293 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 117
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 117
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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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

Author Comment

by:sam2sham
ID: 40496782
Yes
0
 
LVL 117

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

760 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