Snapshot Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=4219
Answer
Snapshots typically preserve references to a known storage state and track subsequent changes rather than duplicating every block immediately. Exact implementation varies between copy-on-write, redirect-on-write and platform-specific metadata trees.
Remember
- Snapshot ≠ full physical copy by default.
- Allocated snapshot space ≠ logical protected dataset size.
- Snapshot age/count can affect capacity and performance.
- Revert ≠ file-level restore and can overwrite newer state.
First checks
zfs list -t snapshot -o name,used,creation— ZFSqemu-img snapshot -l <disk>— qcow2 internalvssadmin list shadows— Windows VSS
Verify in this order
state at T → snapshot → changes tracked
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 Fundamentals 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 | Snapshot metadata and retained blocks prove a captured storage state only when their dependency chain and backing media remain intact. | Correlate evidence for the same operation and time window |
| Acceptance | Healthy evidence for Snapshot Fundamentals: 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=4219