?
Solved

Add snapshot VMDK hard disk in a VM

Posted on 2010-08-29
4
Medium Priority
?
899 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:maxihost
[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
  • 3
4 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 33553644
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
0
 

Author Comment

by:maxihost
ID: 33553672
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
0
 
LVL 28

Accepted Solution

by:
bgoering earned 2000 total points
ID: 33553722
I guess I misunderstood your problem. If you snapshot disk is the same size as your base disk it would have been around long enough to grow to completely replace the base disk - It may be possible to edit it where the parent id is same as CID and use it as a new base disk...

However if the snapshot volume is smaller than the base disk you are probably out of luck unless you have the data backed up. This is because if you try to chain it you will get an issue where the underlying base disk has changed (because you are still using it in a powered on VM).

Is the snapshot -000001 disk the same size as the base disk?
0
 
LVL 28

Expert Comment

by:bgoering
ID: 33553756
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
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

770 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