Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

vmdk file restore

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
sam2sham
Asked:
sam2sham
  • 5
  • 4
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
sam2shamAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
sam2shamAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
sam2shamAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is your datastore on a single disk ?
0
 
sam2shamAuthor Commented:
Yes
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay, you should get an option, which states disks ?

select disks, and then scan ?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now