Pcornel
Storage · Storage Fundamentals

Persistent Storage

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

Back to the Topic

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 volumes
  • findmnt <path> — backing mount
  • df -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

BoundaryWhat it meansEvidence limit
Consumer viewWhat the workload/OS believes is availableDoes not prove lower-layer allocation, path or media health
Logical storageVolume/LUN/share/pool/datastore or object namespace presented to the consumerObject existence does not prove backing capacity or correct ownership
Transport/backingProtocol, path, controller, storage service and protection that carry/persist I/OPath/control-plane health does not prove application data
AcceptanceOriginal data can be written, committed and read back correctly by the intended workloadRequired 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

Confirmation

Confirm action

Continue?