A PV shows `Released` after its PVC was deleted, and a new PVC cannot bind to it even though you want the old data.
IntermediateTroubleshootingStorage and volumes
Answer
Likely causes → With persistentVolumeReclaimPolicy: Retain, the PV keeps a claimRef to the deleted PVC's UID and will not bind to anything else.
Diagnose →
kubectl get pv pvc-7a2b -o jsonpath='{.status.phase} {.spec.claimRef}{"\n"}'
Fix → Clear the stale claim reference, then create a PVC that requests this PV explicitly:
kubectl patch pv pvc-7a2b --type=json -p '[{"op":"remove","path":"/spec/claimRef"}]'
spec:
volumeName: pvc-7a2b
storageClassName: gp3
resources: {requests: {storage: 100Gi}}
Prevent → Retain on production data classes, and a documented re-bind procedure.
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