Pcornel
Virtualization · Snapshots & Checkpoints

Snapshot Chain

Cheat sheet · https://pcornel.dk/topic.php?topic=3570

Back to the Topic

Answer

Snapshot Chain is the dependency structure created when snapshots/checkpoints preserve older states while new writes are stored in dependent layers. Reading current data may require resolving blocks across several layers.

Remember

  • Every child layer depends on its required parent until the chain is safely merged or rebased by the platform.
  • Missing or mismatched parent metadata can make a VM disk unusable even if individual files still exist.
  • Long chains can increase metadata work and make lifecycle operations slower or riskier.
  • File names alone are not a reliable chain map; use platform metadata.

First checks

  • qemu-img info --backing-chain <disk> — chain
  • Get-VHD <avhdx> | fl ParentPath — Hyper-V parent
  • ls -la <vm folder> | grep delta — VMware delta files

Verify in this order

base ← delta1 ← delta2 ← current

Where it usually breaks

First mismatch in guest/app quiescence → hypervisor snapshot/template task → metadata/backing chain → storage durability → restore/clone read-back; preserve identity/native error/pre-state before mutation.

Snapshots & Checkpoints → Snapshot Chain reference map

BoundaryMeaningEvidence limit
BaseOriginal/backing stateParent dependency
Intermediate deltaChanges after earlier pointMay have parent+child
Active childCurrent write targetNeeds ancestors
MetadataDefines relationships/orderAuthoritative over filenames

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3570

Confirmation

Confirm action

Continue?