<p>I have a static PV spec, using hostPath.</p>
<pre><code>apiVersion: v1
kind: PersistentVolume
metadata:
  name: mysqlvol
spec:
  storageClassName: manual
  capacity:
    storage: 10Gi #Size of the volume
  accessModes:
    - ReadWriteOnce #type of access # RWO RWX ROX
  hostPath:
    path: &quot;/tmp/new.txt&quot; #host location
</code></pre>
<p>In the node I don't see <code>10Gi</code> of storage under /tmp.
How is storage reserved for hostPath.</p>
<p><code>pvc spec</code></p>
<pre><code>---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: mysqlvol
spec:
  storageClassName: manual
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 10Gi # &lt; 10Gi
</code></pre>
<p><code>pod spec</code></p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: task-pv-pod
spec:
  volumes:
    - name: task-pv-storage
      persistentVolumeClaim:
        claimName: mysqlvol
  containers:
    - name: task-pv-container
      image: nginx
      ports:
        - containerPort: 80
          name: &quot;http-server&quot;
      volumeMounts:
        - mountPath: &quot;/usr/share/nginx/html&quot;
          name: task-pv-storage
</code></pre>
<p>I am able to write data &gt; 10GiB.</p>
<pre><code>root@task-pv-pod:/usr/share/nginx/html# ls -lh
total 15G
-rw-r--r-- 1 root root 15G May 22 04:16 bigfile.txt
-rw-r--r-- 1 root root   3 May 18 12:04 new.txt
root@task-pv-pod:/usr/share/nginx/html#   
</code></pre>
<ol>
<li>What is the relevance of <code>10GiB</code> here as I can write any amount of data in the volume [ 15GiB also works ]</li>
<li>Why does PVC creation fail when request size is &gt; 10GiB given the fact that volume is capable of accommodating higher size.</li>
</ol>

ambikanair
<p>There is no storage reservation, nor quota.
You declare that the volume is capable of 10GiB and when a PVC with that request is created, it is matched against the declared space.</p>
