Ticket #8129 (closed defect: fixed)
bug in new media registry: crossreferences are lost when deleting VM files
|Reported by:||mblomenkamp||Owned by:|
|Version:||VirtualBox 4.0.2||Keywords:||snapshot delete registry|
I use snapshotting to save diskspace when creating similar VMs, therefore most of VMs contain differencing images only. However when deleting 'parent' VMs, VirtualBox looses track of which parent disk is backing which child disk.
- Create a new VM named A with a new disk named A
- Create a snapshot of VM A
- Create a new VM named B using disk A
- Delete VM A choosing 'delete all files'
- Restart VirtualBox to see the effect.
VirtualBox has kept the crossreferenced disk A on disk, which is correct as promised, however it has forgotten the fact that the differencing disk of VM B should use this disk as its backing disk. In fact it has forgotten everyting about the differencing disk of VM B. Its neither in B nor in global media registry.
Above procedure worked fine in pre-4 versions of VirtualBox.