A database Pod logs `could not write to file "pg_wal/xlogtemp.123": No space left on device`.
BeginnerTroubleshootingStorage and volumes
Answer
Likely causes → The PVC is full: data growth, WAL piling up because replication or archiving is stuck, or old backups written to the same volume.
Diagnose →
kubectl exec db-0 -- df -h /var/lib/postgresql/data
kubectl exec db-0 -- du -sh /var/lib/postgresql/data/pgdata/pg_wal
Fix → Expand the PVC (Q140) for immediate relief, then fix the root cause (stuck replication slot, archive command failing, retention).
Prevent → Alert on kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes < 0.2.
More on Storage and volumes
A PVC is `Pending` with `no persistent volumes available for this claim and no storage class is set`.BeginnerA PVC sits `Pending` with event `waiting for first consumer to be created before binding`. Is something broken?BeginnerA PVC is stuck with `waiting for a volume to be created, either by external provisioner "ebs.csi.aws.com" or manually created by system administrator`.IntermediateA Pod is stuck `ContainerCreating` with `Multi-Attach error for volume "pvc-3f1c..." Volume is already exclusively attached to one node and can't be attached to another`.IntermediateA Deployment with one replica and an RWO PVC gets `Multi-Attach error` on every rollout.BeginnerVolume attach fails with `AttachVolume.Attach failed for volume "pvc-..." : rpc error: code = Internal desc = Could not attach volume ... UnauthorizedOperation: You are not authorized to perform this operation`.Intermediate