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
創(chuàng)新互聯(lián)建站-云計算及IDC服務(wù)提供商,涵蓋公有云、IDC機房租用、德陽機房托管、等保安全、私有云建設(shè)等企業(yè)級互聯(lián)網(wǎng)基礎(chǔ)服務(wù),來電聯(lián)系:18980820575
服務(wù)器日志:
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)