Unable to mount nfs filesystem using nfsv4
Issue
- NFS client is mounting the filesystem shares with only version 3 and it's unable to mount it as version 4.
-
NFS share 192.168.0.2:/nfsshare2/test2 can be mounted with NFS version 3 but while mounting with version 4.1,
It is saying "No such file or directory"# sudo mount -o proto=tcp,vers=4.0 192.168.0.2:/nfsshare2/test2 /test2 mount.nfs: mounting 192.168.0.2:/nfsshare2/test2 failed, reason given by server: No such file or directory
- How to mount cluster export NFS share with NFSv4?
- What is the exact path we should use in NFSv4 mount from the PCS resource config?
- How to properly make it work with NFSv4 in the pacemaker exports with separate LVM volumes for each export?
Environment
- Red Hat Enterprise Linux (RHEL) 7 or 8 with the High Availability Add-On
- NFSv4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.