#8129 closed defect (fixed)
bug in new media registry: crossreferences are lost when deleting VM files
回報者: | Marcus Blomenkamp | 負責人: | |
---|---|---|---|
元件: | virtual disk | 版本: | VirtualBox 4.0.2 |
關鍵字: | snapshot delete registry | 副本: | |
Guest type: | other | Host type: | other |
描述
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.
Reproduce by:
- 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.
Reproduced.