Damaged snapshot if VHD use.

Postings relating to old VirtualBox pre-releases
Post Reply
Toxman
Posts: 1
Joined: 28. Aug 2017, 16:26

Damaged snapshot if VHD use.

Post by Toxman »

Hi,

I'm sorry if it does not belong here - this is two year old, but very unpleasant problem making snapshots impossible to use (for me).

If virtual disk image is in VHD format and is saved out of the default directory (i.e. into another disk), all new snapshots will be damaged (not save parrent UUID). If try use any snapshot, when VM started (or in some operation with snapshots), then error occured:

Code: Select all

Failed to open a session for the virtual machine TmpXP.

Parent UUID {00000000-0000-0000-0000-000000000000} of the medium 'C:\Users\Tom\VirtualBox VMs\TmpXP\Snapshots\{c4a903b1-0796-4ded-99ca-3e6703adabbb}.vhd' does not match UUID {785eed4c-a498-45ee-8fa2-3a3ffb506c54} of its parent medium stored in the media registry ('C:\Users\Tom\.VirtualBox\VirtualBox.xml').

Result Code: E_FAIL (0x80004005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Parent UUID is always set to {00000000-0000-0000-0000-000000000000} and snapshot (UUID) must be repaired (set) manually (using: VBoxManage internalcommands sethdparentuuid), but this is not a elegant solution and not normal use.

Tested on Windows 8 Pro 64bit (language version: Czech), VirtualBox 4.3 and above including 5.2.0 BETA2 (if I remember correctly, v 4.2.x works fine).
I think this is a bug #14058 - www virtualbox org/ticket/14058 (sorry, I don't have a permission to add true links).

Thanks
Post Reply