Link to home
Start Free TrialLog in
Avatar of maxihost
maxihost

asked on

Add snapshot VMDK hard disk in a VM

Hello,

I have a VMDK called XXXX-00001.vmdk. That is of course a snapshot VMDK disk. Accidentlly I have removed it from a virtual machine and unfortunatelly I am not being able to add it back again, vSphere complains that the object is no referenced (something like this).

Any ideas on how to add it or open the vmdk ?

I really appreciate as I really need the data inside.

Guilherme
Avatar of bgoering
bgoering
Flag of United States of America image

Hmmm - do you still have the file? Do you still have the base vmdk file?

You might try this:
Create a new virtual machine without any hard disk
copy the base vmdk file to the folder where the new vm is
Edit settings, add disk, use existing disk, and add the base vmdk

This should leave you in a situation analogous to as if you had reverted to snapshot on the original virtual machine

Good Luck
Avatar of maxihost
maxihost

ASKER

Bgoering,

I have the base VMDK file and that VMDK is running on a Powered on virtual machine. On the same folder I see the base VMDK file (which I am running) and the snapshot VMDK file where I have some important files which I dont have on the base VMDK file.

Sorry, I didnt fully understand what you mean by "Copy the base VMDK file to the folder where the new vm is". Where do I access that snapshot disk here ?

Guilherme
ASKER CERTIFIED SOLUTION
Avatar of bgoering
bgoering
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am about to head out to the airport and will likely be mostly unavailable for the next week or so, but I found this article that seems to describe your situation as I understand it. Take a look and see if it helps: http://driveactivated.com/blog/archive/2007/11/06/recovering-vmware-snapshot-after-parent-changed.aspx

Good Luck