Pcornel
Storage · Snapshots

Snapshot Fundamentals

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

Back to the Topic

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 — ZFS
  • qemu-img snapshot -l <disk> — qcow2 internal
  • vssadmin 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 boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathSnapshot mapping/chain, active write target, capacity and backing storageA healthy adjacent component is not end-to-end proof
Failure boundarySnapshot 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?