Storage · Storage Troubleshooting
Snapshot Problems
Cheat sheet · https://pcornel.dk/topic.php?topic=4401
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)— statedf / pool usage— spacechain 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 boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Application → filesystem/volume → snapshot metadata/chain → active write target → pool/backend → merge/revert state → read-back | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A 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 |
| Acceptance | Healthy 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