Pcornel
Storage · Storage Troubleshooting

Snapshot Problems

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

Back to the Topic

Answer

Trace protected object → snapshot metadata/point → dependency chain → active write target → pool capacity → consistency state → merge/consolidation/revert → current data read-back.

Remember

  • Snapshot ≠ backup.
  • Snapshot creation success ≠ application consistency.
  • Snapshot visible ≠ dependency chain healthy.
  • Deleting a snapshot ≠ space is immediately reclaimed if merge/consolidation work remains.

First checks

  • snapshot lists (zfs/lvs/qm/Get-VMSnapshot) — state
  • df / pool usage — space
  • chain checks — integrity

Commands

zfs snapshot [-r] dataset@name

Verify in this order

snapshot op → storage → chain

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Storage Troubleshooting → Snapshot Problems proof map

Troubleshooting boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathApplication → filesystem/volume → snapshot metadata/chain → active write target → pool/backend → merge/revert state → read-backHealthy adjacent layers do not prove end-to-end health
Failure boundaryA snapshot task error proves failure in the snapshot lifecycle; it does not prove the base data is corrupt or independently unrecoverable.Correlate evidence for the same operation and timestamps
AcceptanceHealthy evidence shows a coherent snapshot chain, sufficient capacity, successful intended lifecycle operation and verified current/recovered data.Close only after the original workload/recovery test and regression check

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4401

Confirmation

Confirm action

Continue?