Pod shows incorrect volume size for the PVC created from an NFS share
Issue
- A
Persistent Volume Claim
of 10Gi is created out of anNFS
share of size 5T. However, after mounting the PVC into the pod, the pod shows the size of NFS share instead of PVC as the available storage:
# oc rsh <pod-name> df -h
10.230.xx.xx:/abc/xyz nfs4 5.0T 76.3G 4.9T 1% /var/lib/rabbitmq
# oc get pvc
fleetvisibility-dev-pvc Bound pvc-b4815a9b-5eb7-4367-8374-bd41a18ec34e 10Gi RWX dynamic-nfs 16d
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3.x
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.