Suspend
Cheat sheet · https://pcornel.dk/topic.php?topic=3439
Answer
Suspending a VM saves its memory and device state to disk and stops it, so it can later resume without rebooting. It frees CPU and RAM, but the saved state file uses disk space equal to the VM's memory.
Remember
- The state file is about the size of the VM's RAM.
- A suspended VM is not a backup.
- Time drifts until resync after resume.
First checks
virsh suspend <vm>— pause in memory (libvirt)qm suspend <vmid> --todisk 1— hibernate to disk (Proxmox)Save-VM <vm>— save state (Hyper-V)
Commands
virsh managedsave vm01virsh suspendqm suspend 101 --todisk 1
Verify in this order
running → paused/saved → resume
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3439