ERROR AKS , kubernetes (PVC) is already bound to a different claim

NHAILA Achraf
2 min readMar 8, 2023

--

This error message indicates that the Persistent Volume (PV) you are trying to claim with your Persistent Volume Claim (PVC) is already linked to another claim and therefore cannot be used by your PVC.

This error can have several causes:

1- The PV is already linked to another PVC: PVs can only be used by one PVC at a time, so if the PV is already linked to another PVC, it cannot be used by your PVC. To solve this problem, you can either delete the existing PVC to free the PV, or create a new PV that your PVC can use.

2- The PV was manually linked to another PVC: If the PV was manually linked to another PVC using the “persistentVolumeReclaimPolicy” field, you will need to delete this field to allow the PV to be dynamically linked to a PVC. You can also delete the existing PVC to release the PV.

3- The PV was provisioned with a “ReadWriteMany” access mode: PVs with “ReadWriteMany” access mode can be used by multiple PVCs simultaneously, but only if they are provisioned by a dynamic provisioner. If the PV has been provisioned manually or with a different access mode, it cannot be used by multiple PVCs and will need to be released or re-provisioned with the correct access mode.

To solve this problem, you can check the status of your PV and PVC using the “kubectl get pv” and “kubectl get pvc” commands, respectively. This should give you more information about the current state of your resources and any errors that may be preventing them from being used together.

--

--