VMware Cloud Community
Ghanasham
Contributor
Contributor

How i can recover .vmdk file

Yesterday we ware migrate one virtual machine one storage to another storage.

In that oparation base os .vmdk file was missed.

After that whwn i am power on that machine it is giving me error " A file was not found "

How I can recover that .vmdk file.

Plz Help us.

Thanks & Regards,

Ghanasham Tirpankar

0 Kudos
4 Replies
Shmeds
Contributor
Contributor

Would it be fair to assume that you still have the original vmdk file on your original storage?

If so, you need to copy that to the new storage and then modify the .vmx file for the VM guest with the correct new file path.

0 Kudos
AndreTheGiant
Immortal
Immortal

On each node use this command:

find /vmfs -name *.vmdk

Or try to search using datastore browser.

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
ashxos
Contributor
Contributor

Nop!

All flat files are missing only the snapshots got migrated to the new storage.

1st Three disks are missing.

.::[ashX]::.

.::[ashX]::.
0 Kudos
Texiwill
Leadership
Leadership

Hello,

If the only files that got migrated are the snapshots then the -flat.vmdk files should still exist in the original locations. Copy those over to the new datastore. If these do not exist then you will have to restore from backup.


Best regards,

Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, Virtualization Practice Analyst[/url]
Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing the Virtual Environment'[/url]
Also available 'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|Blue Gears[/url]|Top Virtualization Security Links[/url]|Virtualization Security Round Table Podcast[/url]

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos