PVC Mount Failures in Kubernetes

Resolve PersistentVolumeClaim mount failures including Multi-Attach errors and CSI provisioning issues.

Overview

Overview

When a pod cannot mount its PersistentVolumeClaim (PVC), it stays in ContainerCreating indefinitely. The describe output then shows one of a few characteristic errors, each pointing to a different root cause.

Each error belongs to a stage on the volume's path to the pod. The path has five stages.

  • The PVC is created.
  • The CSI driver, the plugin that talks to the storage system, provisions an EBS volume or an NFS share. If the CSI driver is down, the PVC stays Pending here.
  • The volume is bound to the PVC.
  • The volume is attached to the pod's node. If it is still attached to another node, you get the Multi-Attach error; if it lives in another AZ, you get a zone mismatch.
  • The volume is mounted in the pod.

Key concepts

  • ReadWriteOnce (RWO)
  • Multi-Attach Error
  • CSI Driver
  • StorageClass
  • StatefulSet

Interview questions

  • What causes the Multi-Attach error and what is the safe way to resolve it?
  • How do you debug a PVC that stays in Pending state without a bound volume?
  • How do StatefulSets handle PVC binding differently from Deployments, and why does it matter for stateful workloads?

Sign up free to read the full topic

More Troubleshooting topics

Start free on Cariara · Coding problems · System design studio