deleting snapshot crashes guest to unstartable

Discussions related to using VirtualBox on Linux hosts.
Post Reply
junkmale
Posts: 2
Joined: 24. Mar 2020, 16:22

deleting snapshot crashes guest to unstartable

Post by junkmale »

HI, there,

Just encounter the problem that need help.
In deleting a snapshot while guest running, it turns out to crash the guest and never can be started again. It runs on rhel 7.3 with virtualbox 6.0.14. Guest OS is Redhat coreos. Please see the crashing output while deleting snapshot as below:
---------------
Deleting snapshot '4.2.7' (8b8a28dd-9138-456b-bd7e-c02e8476167a)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: NS_ERROR_ABORT
VBoxManage: error: Snapshot operation failed
VBoxManage: error: Code NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not available)
VBoxManage: error: Context: "RTEXITCODE handleSnapshot(HandlerArg*)" at line 539 of file VBoxManageSnapshot.cpp
Deleting snapshot '4.2.7' (f522d4eb-4db1-420c-8c6c-320511bac317)
---------------

Then I tried to delete the snapshot(4.2.7) again, that succeed with no time. Tried to restart the guest but failed with error below:

---------------
00:00:00.395149 AIOMgr: Endpoint for file '/data/VirtualBox VMs/rhelcos-m2/Snapshots/{6540bff9-cb20-41b2-8bf9-35b7635f3568}.vmdk' (flags 000c0723) created successfully
00:00:00.401726 AIOMgr: Flush failed with VERR_INVALID_PARAMETER, disabling async flushes
00:00:00.401830 VD: Opening the disk took 11967193 ns
00:00:00.401888 AHCI: LUN#0: disk, PCHS=16383/16/63, total number of sectors 52428800
00:00:00.401982 DrvVD: Flushes will be ignored
00:00:00.401986 DrvVD: Async flushes will be passed to the disk
00:00:00.403857 AIOMgr: Endpoint for file '/data/VirtualBox VMs/disk03.vhd' (flags 000c0781) created successfully
00:00:00.409633 VMSetError: /home/vbox/vbox-6.0.14/src/VBox/Storage/VD.cpp(5751) int VDOpen(PVDISK, const char*, const char*, unsigned int, PVDINTERFACE); rc=VERR_FILE_NOT_FOUND
00:00:00.409641 VMSetError: VD: error VERR_FILE_NOT_FOUND opening image file '/data/VirtualBox VMs/rhelcos-m2/Snapshots/{0caa5ece-1a1c-45d1-8a90-b440b520ef3c}.vhd'
00:00:00.409654 VMSetError: /home/vbox/vbox-6.0.14/src/VBox/Devices/Storage/DrvVD.cpp(5755) int drvvdConstruct(PPDMDRVINS, PCFGMNODE, uint32_t); rc=VERR_FILE_NOT_FOUND
00:00:00.409655 VMSetError: Failed to open image '/data/VirtualBox VMs/rhelcos-m2/Snapshots/{0caa5ece-1a1c-45d1-8a90-b440b520ef3c}.vhd' in read-only mode
00:00:00.409662 VD: Opening the disk took 5866847 ns
00:00:00.410121 VMSetError: /home/vbox/vbox-6.0.14/src/VBox/Devices/Storage/DevAHCI.cpp(6187) int ahciR3Construct(PPDMDEVINS, int, PCFGMNODE); rc=VERR_FILE_NOT_FOUND
00:00:00.410128 VMSetError: AHCI: Failed to attach drive to Port1
00:00:00.410139 PDM: Failed to construct 'ahci'/0! VERR_FILE_NOT_FOUND (-102) - File not found.
00:00:00.425985 GIM: KVM: Resetting MSRs
00:00:00.822282 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={VD: error VERR_FILE_NOT_FOUND opening image file '/data/VirtualBox VMs/rhelcos-m2/Snapshots/{0caa5ece-1a1c-45d1-8a90-b440b520ef3c}.vhd' (VERR_FILE_NOT_FOUND).
00:00:00.822302 Failed to open image '/data/VirtualBox VMs/rhelcos-m2/Snapshots/{0caa5ece-1a1c-45d1-8a90-b440b520ef3c}.vhd' in read-only mode (VERR_FILE_NOT_FOUND).
00:00:00.822302 AHCI: Failed to attach drive to Port1 (VERR_FILE_NOT_FOUND)}, preserve=false aResultDetail=-102
00:00:00.822468 Console: Machine state changed to 'PoweredOff'
00:00:00.823752 Power up failed (vrc=VERR_FILE_NOT_FOUND, rc=NS_ERROR_FAILURE (0X80004005))
---------------

For not starting, just tried to restore another snapshot(4.2.18) but hangs at 60%.

Now all VBoxManage command will hangs in no time.

I would like to restore the guest to live. Any help will be much appreciated.

Thanks a lot
Ben
Post Reply