snapshot crashed vm, now inaccessible
Posted: 26. Sep 2011, 15:45
Hello,
I am a novice at VB, but I had it working great for about a month. Yesterday my main guest crashed and it's now inaccessible. How to recover?
Ubuntu Server 11.04 as host
Ubuntu Server 11.04 guest
Ubuntu 11.04 desktop guest (usually off)
WinXP guest (usually off).
The ubuntu server guest is where I've configured lots of stuff so I'd like to avoid starting over if possible. I tried doing a snapshot of the ubuntu server guest while it was running and suddenly the guest crashed.
from the log:
I can't remember the exact command I used to do the snapshot. I remember I was trying to use the -desc option, but that's all I can remember. I probably typed something incorrectly.
Now vboxmanage list vms:
The inaccessible one is only one I care about. The ubu-srv2011-08-24a still works but it would take quite a bit of reconfiguring to restore from that (which is why I was trying the snapshot).
vboxmanage showvminfo {d6f33087-436c-472a-a25c-e20ff27fb067} (the inaccessible one) gives:
I searched the forums, found places to check, but I couldn't tell how to recover from this. It seems like it's looking for a snapshot that's not there. The vdi I was trying to take a snapshot from has not moved. It's at:
/home/barnett/Virtualbox VMs/ubu-srv/ubu-srv.vdi
Thanks .... Barnett (more info below)
When I try to restart it with vboxheadless --startvm {d6f33087-436c-472a-a25c-e20ff27fb067} I get:
This is copied out of ubu-srv.vbox:
The Snapshots folder is empty.
My hdd isn't listed below, but the file is still there ... vboxmanage list hdds:
I am a novice at VB, but I had it working great for about a month. Yesterday my main guest crashed and it's now inaccessible. How to recover?
Ubuntu Server 11.04 as host
Ubuntu Server 11.04 guest
Ubuntu 11.04 desktop guest (usually off)
WinXP guest (usually off).
The ubuntu server guest is where I've configured lots of stuff so I'd like to avoid starting over if possible. I tried doing a snapshot of the ubuntu server guest while it was running and suddenly the guest crashed.
from the log:
Code: Select all
289:43:08.445 Changing the VM state from 'RUNNING' to 'RUNNING_LS'.
289:43:08.538
289:43:08.538 !!Assertion Failed!!
289:43:08.538 Expression: <NULL>
289:43:08.538 Location : /home/vbox/vbox-4.1.2/src/VBox/VMM/VMMAll/PGMAllBth.h(1458) void pgmR3BthPAE32BitSyncPageWorkerTrackDeref(VMCPU*, PGMPOOLPAGE*, RTHCPHYS, uint16_t, RTGCPHYS)
289:43:08.538 HCPhys=000000010f616000 wasn't found!
Now vboxmanage list vms:
Code: Select all
"ubu-dsk" {e713309e-8b79-40d3-9cc2-b3e015095171}
"<inaccessible>" {d6f33087-436c-472a-a25c-e20ff27fb067}
"ubu-srv2011-08-24a" {bcb2af28-f31e-4012-aa44-f9529151958c}
"ubu-dsk2011-08-24a" {1deb9a44-2ecf-44e1-9ab8-2e3dbd50a2ef}
"win-xp_base1_dhcp" {4dfe5280-8c8a-4f12-941b-41fac17e743a}
"win-xp_ie8_dhcp" {3c06225a-7b36-474c-9874-80d7eae51312}
vboxmanage showvminfo {d6f33087-436c-472a-a25c-e20ff27fb067} (the inaccessible one) gives:
Code: Select all
Name: <inaccessible!>
UUID: d6f33087-436c-472a-a25c-e20ff27fb067
Config file: /home/barnett/VirtualBox VMs/ubu-srv/ubu-srv.vbox
Access error details:
VBoxManage: error: Hard disk '/home/barnett/VirtualBox VMs/ubu-srv/ubu-srv.vdi' with UUID {462689d7-106b-4fb6-b838-9ef2ed6f67c3} cannot be directly attached to the virtual machine 'ubu-srv' ('/home/barnett/VirtualBox VMs/ubu-srv/ubu-srv.vbox') because it has 1 differencing child hard disks
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Machine, interface IMachine, callee
/home/barnett/Virtualbox VMs/ubu-srv/ubu-srv.vdi
Thanks .... Barnett (more info below)
When I try to restart it with vboxheadless --startvm {d6f33087-436c-472a-a25c-e20ff27fb067} I get:
Code: Select all
VBoxHeadless: error: The object functionality is limited
VBoxHeadless: error: Details: code E_ACCESSDENIED (0x80070005), component Machine, interface IMachine, callee nsISupports
Context: "LockMachine(session, LockType_Write)" at line 857 of file VBoxHeadless.cpp
Code: Select all
<VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.12-linux">
<Machine uuid="{d6f33087-436c-472a-a25c-e20ff27fb067}" name="ubu-srv" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2011-09-25T16:30:19Z" aborted="true">
<MediaRegistry>
<HardDisks>
<HardDisk uuid="{462689d7-106b-4fb6-b838-9ef2ed6f67c3}" location="ubu-srv.vdi" format="VDI" type="Normal">
<HardDisk uuid="{c7c2954c-4930-4eb7-8564-59dea17651da}" location="Snapshots/{c7c2954c-4930-4eb7-8564-59dea17651da}.vdi" format="VDI"/>
</HardDisk>
</HardDisks>
My hdd isn't listed below, but the file is still there ... vboxmanage list hdds:
Code: Select all
UUID: 9757d042-72cb-421d-9a1e-5d8aa7ae489a
Parent UUID: base
Format: VDI
Location: /home/barnett/ubu-dsk.vdi
State: created
Type: normal
Usage: ubu-dsk (UUID: e713309e-8b79-40d3-9cc2-b3e015095171) [ubu-dsk_snapshot2011-08-22 (UUID: 01b147ed-71ef-4c6c-b79e-e0ac3b383e2e)]
UUID: 58ccd62f-492f-493e-9954-e8d807d50409
Parent UUID: 9757d042-72cb-421d-9a1e-5d8aa7ae489a
Format: VDI
Location: /home/barnett/VirtualBox VMs/ubu-dsk/Snapshots/{58ccd62f-492f-493e-9954-e8d807d50409}.vdi
State: created
Type: normal
Usage: ubu-dsk (UUID: e713309e-8b79-40d3-9cc2-b3e015095171)
UUID: e13bf973-5a81-4dff-b58a-8e4e5dc13657
Parent UUID: base
Format: VDI
Location: /home/barnett/.VirtualBox/backup/ubu-srv2011-08-24a/ubu-srv2011-08-24a.vdi
State: created
Type: normal
Usage: ubu-srv2011-08-24a (UUID: bcb2af28-f31e-4012-aa44-f9529151958c)
UUID: 00b51332-746f-4233-b891-1eafb1ec3fcf
Parent UUID: base
Format: VDI
Location: /home/barnett/.VirtualBox/backup/ubu-dsk2011-08-24a/ubu-dsk2011-08-24a.vdi
State: created
Type: normal
Usage: ubu-dsk2011-08-24a (UUID: 1deb9a44-2ecf-44e1-9ab8-2e3dbd50a2ef)
UUID: 685a5fdb-b7ea-4e2f-a0e4-be45b81a7a8f
Parent UUID: base
Format: VDI
Location: /home/barnett/VirtualBox VMs/win-xp_base1_dhcp/win-xp_base1_dhcp.vdi
State: created
Type: normal
Usage: win-xp_base1_dhcp (UUID: 4dfe5280-8c8a-4f12-941b-41fac17e743a)
UUID: bf2103fc-006a-47f9-9b24-3c940e5ef271
Parent UUID: base
Format: VDI
Location: /home/barnett/VirtualBox VMs/win-xp_ie8_dhcp/win-xp_ie8_dhcp.vdi
State: created
Type: normal
Usage: win-xp_ie8_dhcp (UUID: 3c06225a-7b36-474c-9874-80d7eae51312)