Deleting Snapshot Hosed my VM?
Posted: 13. Apr 2010, 00:38
VBox 3.1.6, with Ubuntu 9.10 host:
My host system was running low on disk space, so I figured I'd delete my XP guest's only snapshot to free up some space.
However, during the merge operation, I got an error, which I think was related to the low disk space, and the merge failed. After this, I made some space on my host by other means.
When I went to start my guest, I got:
Error Detail 1/2:
Error Detail 2/2:
I see that the specified snapshot truly does not exist in the snapshots directory, though this one does: /home/jamie/.VirtualBox/Machines/ICF10339/Snapshots/{469dbce9-78fa-4b8f-a5bd-20d12dbacf53}.vdi (I don't know where this one came from, as there had only been one snapshot when I deleted the snapshot.)
On advice from #vbox on freenode, I edited the VM's XML to remove the entry for the missing {260c685d-8d4b-4bab-bf34-71ffb730cb54}.vdi. I also had to register the main vdi with the VM (via the GUI), because it was missing.
However, when I try to start the VM, I just get a black screen. (I'll add some vbox error logs at the end of this message.)
I suspect I won't be able to recover from this, and that I'll have to re-create the VM. Please let me know if you have any recovery ideas though.
Since I'm not terribly hopeful, I figure that about the best I can do is submit a bug report for this problem, since it's a nasty bug, IMO. Does that sound reasonable?
Thanks,
Jamie
I'm not sure which logs are which, and I suspect I've cycled past the most meaty logs (e.g., the one where the merge failed), but here goes:
My other log's too long, so I'll load it as an attachment.
My host system was running low on disk space, so I figured I'd delete my XP guest's only snapshot to free up some space.
However, during the merge operation, I got an error, which I think was related to the low disk space, and the merge failed. After this, I made some space on my host by other means.
When I went to start my guest, I got:
Error Detail 1/2:
Code: Select all
Failed to start the virtual machine ICF10339.
Medium '/home/jamie/.VirtualBox/Machines/ICF10339/Snapshots/{260c685d-8d4b-4bab-bf34-71ffb730cb54}.vdi' is not accessible. Could not open the medium '/home/jamie/.VirtualBox/Machines/ICF10339/Snapshots/{260c685d-8d4b-4bab-bf34-71ffb730cb54}.vdi'.
VD: error VERR_FILE_NOT_FOUND opening image file '/home/jamie/.VirtualBox/Machines/ICF10339/Snapshots/{260c685d-8d4b-4bab-bf34-71ffb730cb54}.vdi' (VERR_FILE_NOT_FOUND).
Code: Select all
Result Code:
VBOX_E_INVALID_VM_STATE (0x80BB0002)
Component:
Machine
Interface:
IMachine {99404f50-dd10-40d3-889b-dd2f79f1e95e}On advice from #vbox on freenode, I edited the VM's XML to remove the entry for the missing {260c685d-8d4b-4bab-bf34-71ffb730cb54}.vdi. I also had to register the main vdi with the VM (via the GUI), because it was missing.
However, when I try to start the VM, I just get a black screen. (I'll add some vbox error logs at the end of this message.)
I suspect I won't be able to recover from this, and that I'll have to re-create the VM. Please let me know if you have any recovery ideas though.
Since I'm not terribly hopeful, I figure that about the best I can do is submit a bug report for this problem, since it's a nasty bug, IMO. Does that sound reasonable?
Thanks,
Jamie
I'm not sure which logs are which, and I suspect I've cycled past the most meaty logs (e.g., the one where the merge failed), but here goes:
Code: Select all
00:00:00.903 VirtualBox 3.1.6 r59338 linux.x86 (Mar 25 2010 19:25:35) release log
00:00:00.903 Log opened 2010-04-12T21:40:30.411613000Z
00:00:00.903 OS Product: Linux
00:00:00.903 OS Release: 2.6.31-21-generic
00:00:00.903 OS Version: #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010
00:00:00.903 Host RAM: 3015MB RAM, available: 2341MB
00:00:00.903 Executable: /usr/lib/virtualbox/VirtualBox
00:00:00.903 Process ID: 4559
00:00:00.903 Package type: LINUX_32BITS_UBUNTU_9_10
00:00:00.922 Power up failed (vrc=VINF_SUCCESS, rc=NS_ERROR_FAILURE (0X80004005))