Use it whenever snapshot symptoms appear so the first failed boundary is identified before manual disk-file manipulation or broad storage changes.
Snapshot Troubleshooting
Snapshot Troubleshooting is a fault-isolation workflow for failed create, stuck delete/merge, consolidation-needed, revert failure, broken chains, unexpected growth or workload degradation involving VM snapshots/checkpoints.
1. Common problems: old snapshots, full storage, failed merges, broken chains.
2. Free space before merging.
3. Check backup tool leftovers.
4. Never delete delta files by hand.
5. Restore from backup if chain is broken.
snapshot ops → storage → chain integrity
Run representative workload and lifecycle regression checks, confirm chain/capacity state and preserve before/after evidence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show all snapshots, applications, future merges or storage failure scenarios are healthy.
Next check: Run representative workload and lifecycle regression checks, confirm chain/capacity state and preserve before/after evidence.
Operational reference
Fast context before you go deeper.
qm listsnapshot <vmid>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
problem definition → management inventory → chain metadata → guest consistency evidence → capacity/backend evidence → operation state → remediation → regression check
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Snapshot symptom ≠ snapshot root cause; storage capacity, guest quiescing, metadata, locks or backend errors may be the first failed boundary.
- Management inventory can disagree with the actual disk dependency chain.
- Missing evidence is not permission to delete delta files manually.
- A temporary VM recovery does not prove the chain is safe until the original lifecycle/workload test passes.
qm listsnapshot <vmid>— snapshot treeGet-VMSnapshot -VMName * | ? CreationTime -lt (Get-Date).AddDays(-3)— old checkpointsdf -h— space for merges
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
Snapshot UI state ≠ disk-chain truth; file presence ≠ correct parentage; operation completion ≠ application health.
When the first failing step is found, continue in Virtual Storage, VM Backup, guest OS/application, or the concrete hypervisor platform branch.
In depth
Inspect the real disk state first
$ qemu-img info --backing-chain /var/lib/libvirt/images/web01.qcow2
$ qemu-img snapshot -l /var/lib/libvirt/images/web01.qcow2 # internal snapshots
Snapshot list:
ID TAG VM SIZE DATE VM CLOCK
1 before-upgrade 4.01 GiB 2026-11-20 09:12:44 0012:44:10.123
$ qemu-img check /var/lib/libvirt/images/web01.qcow2
No errors were found on the image.
The qemu-img documentation describes info --backing-chain for each image in a chain and check with optional repair (-r leaks, -r all). Run check only on images not in use, or with -U for a read-only look at a running VM.
Common snapshot failures
| Symptom | Cause | Action |
|---|---|---|
Proxmox: VM is locked (snapshot) | Snapshot task crashed | Confirm no task runs (ps aux \| grep qm), then qm unlock 101 |
| Snapshot of VM with RAM fails | Passthrough devices, or not enough space for the state file | Snapshot without RAM, or free space |
| LVM-thin: VM paused, I/O errors | Thin pool full because of snapshot growth | Extend pool (lvextend), delete old snapshots |
libvirt: Requested operation is not valid: cannot delete inactive external snapshot | External snapshot handling | Commit manually with blockcommit, then snapshot-delete --metadata |
| qcow2 grows far beyond virtual size | Many internal snapshots | Delete snapshots; qemu-img convert to compact |
| Rollback succeeds but app broken | Snapshot was crash-consistent | Use guest agent freeze, or application-aware backups |
Snapshot ≠ backup
Snapshots live on the same storage; a failed array loses VM and snapshots together. Keep snapshots short-lived (hours to days around a change) and rely on backups for recovery.
Space planning
Each snapshot grows with every block changed after it was taken. A busy database VM can write tens of GB per day into a snapshot — monitor qm listsnapshot, zfs list -t snapshot, or lvs data usage, and alert on snapshots older than a few days.
*The QCOW2 snapshot inventory above is an illustrative example, not captured from a lab or production host.*
Method
| Problem | Cause / action |
|---|---|
| Snapshot fails (quiesce error) | Guest tools/VSS writer errors; check vssadmin list writers |
| Snapshot too large / datastore filling | Old snapshot; delete/merge, free space first |
| Cannot delete — file locked | Backup proxy hot-add, stuck task; release lock |
| VM slow | Long chain; consolidate |
| Revert caused app issues | Time/state-dependent apps; re-sync or restore instead |
find /vmfs/volumes/ -name '*-0000*.vmdk' -mtime +3 # old deltas
Get-VM | Get-VMCheckpoint | ? CreationTime -lt (Get-Date).AddDays(-3)
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Snapshots & Checkpoints → Snapshot Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Snapshots & Checkpoints → Snapshot Troubleshooting reference map
Fast snapshot/checkpoint boundaries for Snapshots & Checkpoints → Snapshot Troubleshooting.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Inventory | Snapshot/checkpoint objects | May differ from disk chain |
| Consistency | Guest quiesce/VSS/freeze | Creation boundary |
| Chain | Base/parent/child/active | Integrity boundary |
| Storage | Capacity/errors/latency | Lifecycle dependency |