Parent directory of the exported share shouldn't be mounted
Issue
- Parent directory of the exported share should not be mounted with nfsv4
[root@Server ~]# cat /etc/exports
/A/B *(rw,sync)
[root@Client ~]# mount -t nfs X.X.X.X:/A /mnt
[root@Client ~]# cat /proc/self/mounts | grep -i nfs
X.X.X.X:/A /mnt nfs4 rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=Y.Y.Y.Y,local_lock=none,addr=X.X.X.X 0 0
Environment
- Red Hat Enterprise Linux
- nfsv4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.