Pcornel
Storage

Snapshots

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

Back to the Topic

Answer

A storage snapshot is usually a space-efficient point-in-time state inside the same storage system or failure domain. The active dataset continues changing while snapshot metadata preserves references to the captured state.

Remember

  • Snapshot ≠ backup; the snapshot can share the same storage-system failure domain as production.
  • Snapshot creation success ≠ application consistency.
  • Point-in-time visibility ≠ independent recoverability.
  • Deleting or merging snapshot state can be destructive if chain ownership is misunderstood.

First checks

  • zfs list -t snapshot — ZFS snapshots
  • lvs -o lv_name,origin — LVM snapshots
  • Get-VMSnapshot -VMName * — Hyper-V checkpoints

Verify in this order

data → snapshot (COW/ROW) → retained blocks

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 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 boundaryA visible snapshot proves a point-in-time mapping exists; it does not prove application-consistent recovery, independent protection or a healthy underlying storage system.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Snapshots: 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=4218

Confirmation

Confirm action

Continue?