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
服务器日志:
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)
来源:51CTO
作者:rong341233
链接:https://blog.51cto.com/fengwan/2477123