Error on attempting to resume a hibernated VM

keeka

Active Member
Dec 8, 2019
199
24
38
I hibernated a vm via the web UI for a few minutes and them attempted to resume it:

Code:
~# qm resume 195
Resuming suspended VM
activating and using 'vmdisks:vm-195-state-suspend-2021-04-25' as vmstate
id 0, group 0, virt start 0, virt end ffffffffffffffff, generation 0, delta 0
id 1, group 1, virt start 7fb1bfe00000, virt end 7fb1c3dfe000, generation 0, delta 7fb1bfe00000
id 2, group 1, virt start 7fb1bbc00000, virt end 7fb1bfc00000, generation 0, delta 7fb1bbc00000
kvm: Spice: memslot.c:108:memslot_get_virt: slot_id 16 too big, addr=1000000007800000
start failed: QEMU exited with code 1

I've successfully hibernated/resumed the same VM previously, over longer periods, without issue.

I'm guessing I can't recover the vm's suspended state. The same VM also has one snapshot as well as an older backup I can use. I would like to get back to the snapshot. How should I remove the suspended state's lock and related volume etc, so I can then rollback?

Thanks.
 
Last edited:
I took a chance and did the following:
  • Commented out suspend related config (lock, runningcpu, runningmachine, vmstate) in /etc/pve/qemu-server/195.conf.
  • Rolback to snapshot
  • The web interface would not allow me to delete the suspend state volume. It claimed it was tied to an existing vm. However the vm's config no longer referred to that volume.
  • Deleted the suspend state volume using `lvremove vg/lv`.
  • Started the vm.
  • Tested hibernate/resume - seems OK.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!