windows下掛載linux的nfs網絡硬盤


掛載命令,速度快

mount \\10.8.200.167\goworkspace z: -o nolock,rsize=1024,wsize=1024,timeo=15

安裝步驟

yum install -y nfs-utils rpcbind

#增加掛載的文件夾
vim /etc/exports
#復制內容
/goworkspace 10.8.200.147(rw,sync,no_root_squash)

vi /etc/sysconfig/nfs
#將下列端口復制到文件的最下方 並注釋
RQUOTAD_PORT=30001
LOCKD_TCPPORT=30002
LOCKD_UDPPORT=30002
MOUNTD_PORT=30003
STATD_PORT=30004

#關閉防火牆
systemctl disable firewalld.service
systemctl stop firewalld.service

#重啟rpc服務
systemctl restart rpcbind.service
#重啟nfs服務
systemctl restart nfs.service
#查看狀態
systemctl status rpcbind.service
systemctl status nfs.service

參考資料


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM