Persistent Storage
Cheat sheet · https://pcornel.dk/topic.php?topic=3844
Answer
Persistent storage keeps data after a process, container or VM is restarted, recreated or moved. How safe the data really is depends on where writes are confirmed and what protection (RAID, replicas, backups) sits underneath.
Remember
- Persistent does not mean backed up.
- Persistent does not automatically mean replicated, highly available or immutable.
- A write acknowledged to cache may have different failure semantics than data durably committed to protected media.
- The relevant persistence boundary must be defined for the workload lifecycle.
First checks
kubectl get pv,pvc -A— Kubernetes persistent volumesfindmnt <path>— backing mountdf -h <path>— usage
Verify in this order
app → persistent volume → backend
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 Fundamentals → Persistent Storage reference map
| Boundary | What it means | Evidence limit |
|---|---|---|
| Consumer view | What the workload/OS believes is available | Does not prove lower-layer allocation, path or media health |
| Logical storage | Volume/LUN/share/pool/datastore or object namespace presented to the consumer | Object existence does not prove backing capacity or correct ownership |
| Transport/backing | Protocol, path, controller, storage service and protection that carry/persist I/O | Path/control-plane health does not prove application data |
| Acceptance | Original data can be written, committed and read back correctly by the intended workload | Required for end-to-end closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3844