<p>I am trying to create multiple PV and PVC(for each one of the PV) in a single namespace and it is not allowing me to do so. Is this an expected behavior? i am using NFS. </p>

<pre><code>NAME                          CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS      CLAIM                                                 STORAGECLASS   REASON    AGE
nfs-office-tools-service-pv   70Gi       RWX            Retain           Bound       office-tools-service-ns/nfs-office-tools-service-pv   manual                   4d
nfs-perfqa-jenkins-pv         20Gi       RWX            Retain           Available                                                         manual                   8m
nfs-perfqa-pv                 2Gi        RWX            Retain           Bound       perfqa/nfs-perfqa-pvc         

                    manual                   17d
</code></pre>

<p>When i create a new PVC for the newly created PV, it is giving error as below:
<a href="https://i.stack.imgur.com/EmDn7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EmDn7.jpg" alt="enter image description here"></a></p>

<p>Below are the yaml for PV and PVC:</p>

<p>PV.yaml</p>

<pre><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: nfs-perfqa-jenkins-pv
  namespace: perfqa
spec:
  storageClassName: manual
  capacity:
    storage: 20Gi
  accessModes:
    - ReadWriteMany
  hostPath:
    path: "/nfs_share/docker/test/jenkins"
</code></pre>

<p>PVC.yaml</p>

<pre><code>apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: nfs-perfqa-jenkins-pvc
  namespace: default
spec:
  storageClassName: manual
  accessModes:
    - ReadWriteMany
  resources:
    requests:
      storage: 20Gi
</code></pre>

Parth Gandhi
<p>Your cluster has <code>ResourceQuota</code> or <code>LimitRange</code> with <code>requests.storage</code> set to 2Gi. So you cannot create PVC with 20Gi. </p>
