NFS服务器无法挂载的处理方法

NFS报错无法挂载
mount -t nfs -o hard,noatime,nodiratime,nolock,noresvport,proto=udp,rsize=1048576,wsize=1048576 192.168.0.2:/data/nfs/brv6 /var/lib/kubelet/pods/30e03560-0c5f-4f8a-aa4f-c7f0338e4f78/volumes/kubernetes.io~nfs/nfs-pv-brv6

mount.nfs: access denied by server while mounting 192.168.0.252:/data/nfs/brv6

创新互联建站-云计算及IDC服务提供商,涵盖公有云、IDC机房租用、德阳机房托管、等保安全、私有云建设等企业级互联网基础服务,来电联系:18980820575

服务器日志:
rpc.mountd[36983]: refused mount request from 192.168.0.3 for /data/nfs/brv6 (/data/nfs): illegal port 39104

处理方案:
vi /etc/exports
/data/nfs 192.168.0.0/24(rw,no_root_squash,async,insecure)


文章名称:NFS服务器无法挂载的处理方法
转载源于:http://scyanting.com/article/jscdjp.html