VM config file lost after host power off
|Reported by:||Technologov||Owned by:|
|Guest type:||other||Host type:||Windows|
VBox: 4.1.16 (and 4.1.20)
Host: Windows 7 x64 (and other Windows)
When shutting down host, (after Windows update, or sudden power off) in some cases VBox does delete the *.vbox meta-data file, and the VM becomes "inaccessible" state. In some cases the file becomes corrupted and zero-bytes, and there are no *.vbox-tmp and no *.vbox-prev files to recover from.
Workaround: copy [VM].vbox-tmp or [VM].vbox-prev as [VM].vbox can restore the VM in most cases. (something new users can't do)
Recommended real fix: VBoxSVC must write down a history of transactions into the VM folder, per VM, [VM].vbox-transactions file, which should list all changes to the *.vbox file meta-data in a patch/diff format, and then, when VM becomes "inaccessible", VBoxSVC must attempt to recover the file until last transaction automatically, plus will allow manual recover and debug.
NOTE: This bug is an old one, and AFAIK happens once every several weeks since v4.0.0 (but rarely) - still losing VM is *really* bad.
Change History (26)
comment:2 by , 11 years ago
|Summary:||[BLOCKER] Metadata Corruption after host power off = Lost VM → VM config file lost after host power off|