Pod stuck ContainerCreating: MountVolume.SetUp failed / Unable to attach or mount volumes: timed out waiting for the condition
The kubelet couldn’t mount one of the pod’s volumes, so the pod stays in ContainerCreating.
MountVolume.SetUp failed for volumeUnable to attach or mount volumestimed out waiting for the condition Meaning
Events show FailedMount with the volume name and reason: the ConfigMap/Secret doesn’t exist, an NFS/CSI volume is unreachable, the PV is attached elsewhere, or the CSI driver isn’t running on the node.
Common causes
- Referenced ConfigMap/Secret missing (or in another namespace)
- PVC not bound or volume still attached to another node
- NFS/EFS/CSI endpoint unreachable or driver pod down
- Wrong permissions/fsGroup for the volume
⚡ Quick fix
- kubectl describe pod → read the FailedMount message
- Create the missing ConfigMap/Secret in the same namespace
- Check CSI driver pods and the PV/PVC status
Detailed fix by platform
Kubernetes
- bash
kubectl get events -n app --field-selector reason=FailedMount kubectl get pvc,pv -n app kubectl get pods -n kube-system | grep -i csi
How to diagnose
- Volume — Which volume and why?
- Object — ConfigMap/Secret/PVC exists in this namespace?
- Driver — CSI pods healthy?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 126 incorrect key file MySQL ERROR 126 (HY000): Incorrect key file for table; try to repair it
- 403: does not have storage.objects.get access Cloud Storage: 403 Forbidden — user@example.com does not have storage.objects.get access to the Google Cloud Storage object
- AuthenticationFailed Azure Storage: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature (AuthenticationFailed)
Most viewed in Kubernetes
- provided port is not in the valid range spec.ports[0].nodePort: Invalid value: 80: provided port is not in the valid range. The range of valid ports is 30000-32767
- error converting YAML to JSON error converting YAML to JSON: yaml: line 12: did not find expected key
- ImagePullBackOff Kubernetes: ImagePullBackOff / ErrImagePull
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 15 Oct 2026