<p>In spite 21Gi being set in claimed volume, the pod has 8E (full possible size of EFS)</p>
<p>Is it OK and storage size is limited. Or did I make a mistake in configuration and there needs to change, or something other?</p>
<p>I will be appreciated for your help.</p>
<p><strong>Volume:</strong></p>
<pre><code>NAME                                    CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                  
monitoring-eks-falcon-victoriametrics   21Gi       RWX            Retain           Bound    victoriametrics/victoriametrics-data
</code></pre>
<p><strong>Pod:</strong></p>
<pre><code>Filesystem                Size      Used Available Use% Mounted on
fs-efs.us-....s.com:/     8.0E         0      8.0E   0% /data
</code></pre>
<p><strong>Persistent Volumes</strong></p>
<pre class="lang-yaml prettyprint-override"><code>kind: PersistentVolume
apiVersion: v1
metadata:
  name: monitoring-eks-falcon-victoriametrics
  uid: f43e12d0-77ab-4530-8c9e-cfbd3c641467
  resourceVersion: '28847'
  labels:
    Name: victoriametrics
    purpose: victoriametrics
  annotations:
    pv.kubernetes.io/bound-by-controller: 'yes'
  finalizers:
    - kubernetes.io/pv-protection
spec:
  capacity:
    storage: 21Gi
  nfs:
    server: fs-.efs.us-east-1.amazonaws.com
    path: /
  accessModes:
    - ReadWriteMany
  claimRef:
    kind: PersistentVolumeClaim
    namespace: victoriametrics
    name: victoriametrics-data
    uid: 8972e897-4e16-a64f-4afd8f90fa89
    apiVersion: v1
    resourceVersion: '28842'
  persistentVolumeReclaimPolicy: Retain
  storageClassName: efs-sc
  volumeMode: Filesystem
</code></pre>
<p><strong>Persistent Volume Claims</strong></p>
<pre class="lang-yaml prettyprint-override"><code>kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: victoriametrics-data
  namespace: victoriametrics
  uid: 8972e897-4e16-a64f-4afd8f90fa89
  resourceVersion: '28849'
  labels:
    Name: victoriametrics
    purpose: victoriametrics
  annotations:
    Description: Volume for Victoriametrics DB
    pv.kubernetes.io/bind-completed: 'yes'
  finalizers:
    - kubernetes.io/pvc-protection
spec:
  accessModes:
    - ReadWriteMany
  selector:
    matchLabels:
      k8s-app: victoriametrics
      purpose: victoriametrics
    matchExpressions:
      - key: k8s-app
        operator: In
        values:
          - victoriametrics
  resources:
    limits:
      storage: 21Gi
    requests:
      storage: 21Gi
  volumeName: monitoring-eks-falcon-victoriametrics
  storageClassName: efs-sc
  volumeMode: Filesystem
status:
  phase: Bound
  accessModes:
    - ReadWriteMany
  capacity:
    storage: 21Gi
</code></pre>
<p><strong>Pod deployment</strong></p>
<pre class="lang-yaml prettyprint-override"><code>kind: Deployment
...
spec:
...
    spec:
      volumes:
        - name: victoriametrics-data
          persistentVolumeClaim:
            claimName: victoriametrics-data
      containers:
        - name: victoriametrics
...
          volumeMounts:
            - name: victoriametrics-data
              mountPath: /data
              mountPropagation: None
...
</code></pre>

Rostyslav Malenko
<p>The number &quot;8E&quot; serves as an indicator, it is not a real quota. AWS EFS does not support quota (eg. <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#nfs4-unsupported-features" rel="nofollow noreferrer">FATTR4_QUOTA_AVAIL_HARD</a>). It generally means you have &quot;unlimited&quot; space on this mount. There's nothing wrong with your spec; the number specified in the PVC's <code>resources.requests.storage</code> is used to match PV's <code>capacity.storage</code>. It doesn't mean you can only write 21GB on the EFS mount.</p>
