Snapshot Chain
Cheat sheet · https://pcornel.dk/topic.php?topic=3570
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>— chainGet-VHD <avhdx> | fl ParentPath— Hyper-V parentls -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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Base | Original/backing state | Parent dependency |
| Intermediate delta | Changes after earlier point | May have parent+child |
| Active child | Current write target | Needs ancestors |
| Metadata | Defines relationships/order | Authoritative 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