NFS share mounted in a pod is different from the NFS share defined in the PV

Solution In Progress - Updated -

Issue

The volume mounted in a pod does not match with the NFS share in the NFS definition:

# oc get pv <my-pv> | grep nfs -A 2
  nfs:
    path: /nfsshare/share3
    server: <nfs-server>


# oc rsh <my-pod>
# df -h
 [...]
<nfs-server>:/nfsshare/share1    4.7T  631M  4.7T   1% /data

Environment

  • OpenShift Container Platform (OCP) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content