Snapshot Chain
Cheat sheet · https://pcornel.dk/topic.php?topic=4224
Answer
Each chain node may depend on parent mappings or retained blocks. Reads can traverse several layers to resolve the newest visible version, so missing, mismatched or deeply layered dependencies can affect integrity and performance.
Remember
- Snapshot inventory ≠ chain integrity.
- A child can depend on parent state that appears unused.
- Deleting a chain member out of order can be destructive.
- Long chain ≠ automatically corrupt, but increases dependency and performance risk.
First checks
qemu-img info --backing-chain <disk>— qcow2 chainGet-VHD <avhdx> | fl ParentPath— Hyper-V chainls <vm dir> | grep delta— VMware deltas
Verify in this order
base ← delta ← delta ← current
Where it usually breaks
First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.
Snapshots → Snapshot Chain proof map
| Storage boundary | What to verify | Proof limit |
|---|---|---|
| Identity / state | Correct object, source/target or snapshot point and same-window timestamps | Inventory alone does not prove data correctness |
| Dependency path | Snapshot mapping/chain, active write target, capacity and backing storage | A healthy adjacent component is not end-to-end proof |
| Failure boundary | A chain is healthy only when every required parent-child relationship resolves to the expected backing data and read-back succeeds. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for Snapshot Chain: the expected point-in-time mapping and dependency chain are intact, required backing data is readable, and the intended snapshot lifecycle action completes with correct current-data read-back. | Close only after original read-back/recovery test and protection-state verification |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4224