Snapshot recovery, UUID, Parent, etc..

This is for discussing general topics about how to use VirtualBox.
Post Reply
Air
Posts: 8
Joined: 9. Sep 2008, 12:01

Snapshot recovery, UUID, Parent, etc..

Post by Air »

How can i recover or use Snapshot without parent (main) VDI file? I have deleted main virtual machine VDI file by mistake, but i have a good full snapshot of this vm.
When i try to use it i get the folowing errors:

ERROR: Parent hard disk with UUID {943bb73f-15cb-4ac1-d8b9-5869e60a69bc} of the hard disk '/media/win/TestS/Snapshots/{bf88b943-d27f-42b3-e28e-d5ebe6ffc523}.vdi' is not found in the media registry ('/home/air/.VirtualBox/VirtualBox.xml')

I tried to ?reate new clean VDI to use it as parent but always have the same error.

Error: failed to start machine. Error message: Medium '/home/air/.VirtualBox/Machines/TestS/Snapshots/{bf88b943-d27f-42b3-e28e-d5ebe6ffc523}.vdi' is not accessible. Parent UUID {943bb73f-15cb-4ac1-d8b9-5869e60a69bc} of the hard disk '/home/air/.VirtualBox/Machines/TestS/Snapshots/{bf88b943-d27f-42b3-e28e-d5ebe6ffc523}.vdi' does not match UUID {a78c5ba4-93d1-4c3b-b44a-9e1f97cca4ea} of its parent hard disk stored in the media registry ('/home/air/.VirtualBox/VirtualBox.xml')

Obviously to make it working i need to change UUID of newly created VDI to one, on wich snapshot refer (in my case make UUID of newly created vdi = 943bb73f-15cb-4ac1-d8b9-5869e60a69bc). Another solution is in changing the reference of snapshot to another parent UUID. But how to do it???? Please anyone help me, it's very very impotant to me now to solve this problem and make this snapshot working as soon as posible.. hope that posible..
dfg029
Posts: 2
Joined: 10. Sep 2009, 12:52
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: server 2003R2

Re: Snapshot recovery, UUID, Parent, etc..

Post by dfg029 »

I found this hope it helps I am in a similar situation any assistance would be great

“/usr/sbin/vmkfstools-J setuuid $path_to_vm/vmname.vmdk ”

from-http://vikashkumarroy.blogspot.com/2009 ... -disk.html
Last edited by dfg029 on 10. Sep 2009, 13:10, edited 1 time in total.
dfg029
Posts: 2
Joined: 10. Sep 2009, 12:52
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: server 2003R2

Re: Snapshot recovery, UUID, Parent, etc..

Post by dfg029 »

I am trying to use scapel to recover the vdi"s
Internet-User
Posts: 1
Joined: 28. Aug 2010, 11:37
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Vindovz
Contact:

Re: Snapshot recovery, UUID, Parent, etc..

Post by Internet-User »

After update on my LM 9 (Ubuntu 10.04) to 3.2.8 VBox version it told me the same:
"Parent hard disk with UUID {bla-bla-bla} of the hard disk '/bla/bla/bla.vdi' is not found in the media registry..."
But it never had parent disk or snapshots :shock:
I just reinstall SUN branded 3.1 version, and it works just like before
BEWARE ! I think it's all the Oracle machinations :!:
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Snapshot recovery, UUID, Parent, etc..

Post by mpack »

@Internet-user: your problem is unrelated to the OPs, please do not hijack the OPs thread. For an understanding of your problem go read the "Discuss the VBox 3.2.8 release" section, where it has been well covered.

@Air. If you delete the base VDI in a snapshot chain then the situation can only be recovered using a backup of that file, taken any time after the first snapshot (which is when the base vdi was frozen). You must have the base VDI since subsequent VDI files only contain the additional writes since then. It's technically possible that if you rewrote every sector of your disk then the base VDI was redundant... but that would be rather unlikely. For example boot sector, partition table etc is unlikely to have been rewritten.
Post Reply