当我在Redhat 7上安装NFS版本4时,总是会收到此错误: 服务器给出的mount.nfs4失败原因没有这样的文件或目录 这是我的导出文件:
/var/shared 172.16.180.126(rw,fsid=0,insecure,no_subtree_check,async)
/var/shared/folder1 172.16.180.126(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
/var/shared/folder2 172.16.180.126(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
这是我的fstab文件:
172.16.185.147:/folder1 /home/nfsmnt/folder1 nfs4 rw 0 0
172.16.185.147:/folder2 /home/nfsmnt/folder2 nfs4 rw 0 0