{"id":63495,"date":"2026-01-22T01:05:08","date_gmt":"2026-01-21T17:05:08","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/63495.html"},"modified":"2026-01-22T01:05:08","modified_gmt":"2026-01-21T17:05:08","slug":"rhce%e7%9a%84nfs%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/63495.html","title":{"rendered":"RHCE\u7684NFS\u670d\u52a1\u5668"},"content":{"rendered":"<h3>\u7b80\u4ecb<\/h3>\n<p>\u4ec0\u4e48\u662fNFS&#xff1a;network filesystem \u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf&#xff0c;\u670d\u52a1\u7aef\u7ed9\u5ba2\u6237\u7aef\u5171\u4eab\u4e00\u4e2a\u786c\u76d8\u4e0a\u7684\u76ee\u5f55\u3002<\/p>\n<p>NFS\u7684\u4f7f\u7528\u573a\u666f&#xff1a;\u5c06\u6570\u636e\u4e2d\u5fc3\u7684\u6570\u636e\u5171\u4eab\u7ed9\u5176\u4ed6\u670d\u52a1\u5668&#xff0c;\u5176\u4ed6\u670d\u52a1\u5668\u5728\u4f7f\u7528\u5171\u4eab\u76ee\u5f55\u65f6&#xff0c;\u611f\u53d7\u8ddf\u672c\u5730\u6ca1\u6709\u533a\u522b<\/p>\n<p>NFS\u6d89\u53ca\u5230\u7684\u670d\u52a1 &#xff1a;<\/p>\n<p>1.rpcbind: \u00a0\u670d\u52a1\u4e2d\u4ecb \u56fa\u5b9a\u7aef\u53e3111\u3002\u56e0\u4e3anfs-server\u7aef\u53e3\u4e3a\u591a\u4e2a&#xff0c;\u4e14\u4e0d\u56fa\u5b9a&#xff0c;<\/p>\n<p>\u5ba2\u6237\u7aef\u5982\u679c\u60f3\u8981\u4f7f\u7528nfs-server&#xff0c;\u4f46\u662f\u6ca1\u6709\u529e\u6cd5\u77e5\u9053nfs-server\u7684\u5177\u4f53\u7aef\u53e3\u4fe1\u606f&#xff0c;<\/p>\n<p>\u6240\u4ee5rpcbind\u5c31\u4f1a\u63d0\u4f9b\u670d\u52a1\u5c06nfs-server\u5177\u4f53\u7aef\u53e3\u4fe1\u606f\u7ed9\u5230\u5ba2\u6237\u7aef\u3002<\/p>\n<p>2.nfs-server &#xff1a;\u771f\u6b63\u63d0\u4f9b\u6570\u636e\u8d44\u6e90\u7684\u670d\u52a1\u5668<\/p>\n<p>nfs\u7684\u4f7f\u7528<\/p>\n<p>1.\u5b89\u88c5<\/p>\n<p># \u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u90fd\u5b89\u88c5 nfs-utils<\/p>\n<p>#yum install nfs-utils -y<\/p>\n<p>2.\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u4e3b\u914d\u7f6e\u6587\u4ef6\/etc\/exports&#xff0c;\u5728\u8be5\u914d\u7f6e\u6587\u4ef6\u4e2d&#xff0c;<\/p>\n<p>\u00a0 \u00a0 1.\u5199\u5165\u8981\u5171\u4eab\u76ee\u5f55\u00a0<\/p>\n<p>\u00a0 \u00a0 2.\u8981\u5171\u4eab\u7ed9\u8c01\u00a0<\/p>\n<p>\u00a0 \u00a0 3.\u88ab\u5171\u4eab\u4eba\u6240\u62e5\u6709\u6743\u9650 : ro,rw<\/p>\n<p>\u00a0 \u00a0 4.\u8d26\u6237\u6620\u5c04\u8bbe\u5b9a&#xff1a;root_squash(\u53ea\u5c06root\u6620\u5c04\u4e3anobody)&#xff0c;<\/p>\n<p>\u00a0 \u00a0 \u200b\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0no_root_squash(\u76f4\u63a5\u5c06\u5ba2\u6237\u7aef\u7684root\u5728\u670d\u52a1\u5668\u4e5f\u6620\u5c04\u4e3aroot),<\/p>\n<p>\u00a0 \u00a0 \u200b\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0all_squash&#xff08;\u6240\u6709\u8d26\u6237\u5728\u670d\u52a1\u5668\u4e0a\u90fd\u88ab\u6620\u5c04\u4e3anobody&#xff09;&#xff08;\u63a8\u8350&#xff09;<\/p>\n<p>\u00a0 \u00a0 \u200b\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0no_all_squash&#xff08;\u9664\u4e86root\u5176\u4ed6\u8d26\u6237\u90fd\u4e0d\u6620\u5c04&#xff09;<\/p>\n<p>\u00a0 \u00a0 5.\u540c\u6b65\/\u5f02\u6b65\u8bfb\u5199&#xff1a;<\/p>\n<p>\u00a0 \u00a0 \u200b\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0sync&#xff1a;\u540c\u6b65\u65b9\u5f0f&#xff0c;\u4e00\u7aef\u5199\u5165\u5185\u5bb9&#xff0c;\u53e6\u4e00\u7aef\u540c\u6b65\u5728\u5185\u5b58\u548c\u786c\u76d8\u4e2d\u5199\u5165\u540c\u6837\u5185\u5bb9&#xff0c;\u7136\u540e\u56de\u6267\u3002&#xff08;\u63a8\u8350&#xff09;<\/p>\n<p>\u00a0 \u00a0 \u200b\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0async&#xff1a;\u5f02\u6b65\u65b9\u5f0f&#xff0c;\u4e00\u7aef\u5199\u5165\u5185\u5bb9&#xff0c;\u53e6\u4e00\u7aef\u4f1a\u5c06\u5185\u5bb9\u6682\u5b58\u5728\u5185\u5b58\u4e2d&#xff0c;\u7136\u540e\u56de\u6267&#xff0c;\u53ea\u6709\u5f53\u5185\u5b58\u4e2d\u7684\u6570\u636e\u79ef\u7d2f\u5230\u4e00\u5b9a\u91cf<\/p>\n<p>\u00a0 \u00a0 \u65f6\u518d\u5199\u5165\u5230\u786c\u76d8\u3002<\/p>\n<p>\u00a0 \u00a0 6.\u6307\u5b9a\u7528\u6237\u7684\u6620\u5c04\u8eab\u4efd&#xff1a;<\/p>\n<p>\u00a0 \u00a0 \u200b\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0<\/p>\n<p>\u00a0 \u00a0\u00a0<\/p>\n<p>\u00a0 &#8211; \u5171\u4eab\u63a7\u5236\/usr\/sbin\/exportfs &#xff1a;\u5e38\u7528\u4e8e\u5237\u65b0\u5171\u4eab\u76ee\u5f55\u7684\u914d\u7f6e\u4fe1\u606f<\/p>\n<p>&#8211; \u4f7f\u7528nfs\u5b9e\u73b0\u4e00\u4e2a\u5171\u4eab\u76ee\u5f55<\/p>\n<p>&#8211; \u5b9e\u9a8c1:\u670d\u52a1\u7aef\u5efa\u7acbnfs\u670d\u52a1 \u5ba2\u6237\u7aef\u6302\u8f7d\u8be5\u670d\u52a1<\/p>\n<p>#\u670d\u52a1\u7aef<br \/>\n#1.\u5b89\u88c5nfs-utils<br \/>\ndnf install nfs-utils -y<br \/>\n#2.\u521b\u5efa\u8981\u5171\u4eab\u7684\u76ee\u5f55\u5e76\u5728\u5176\u4e2d\u5199\u5165\u6587\u4ef6<br \/>\nmkdir \/nfs_server<br \/>\necho &#034;hello nfs&#034; &gt; \/nfs_server\/hello.txt<br \/>\n#3.\u5728\/etc\/exports\u6dfb\u52a0\u8981\u5171\u4eab\u7684\u76ee\u5f55 \u5e76\u6307\u5b9a\u63a5\u53d7\u5171\u4eab\u7684\u4e3b\u673aip&#xff0c;\u8be5\u4e3b\u673a\u7684\u6743\u9650&#xff0c;\u8be5\u4e3b\u673a\u6620\u5c04\u4e3anobody&#xff0c;\u540c\u6b65\u65b9\u5f0f\u8bfb\u5199<br \/>\nvim \/etc\/exports<br \/>\n###########<br \/>\n\/nfs_server xxx.xxx.xxx.xxx\/xx(rw,all_squash,sync)<br \/>\n###########<\/p>\n<p># 4.\u542f\u52a8\u670d\u52a1<br \/>\nsystemctl enable &#8211;now nfs-server<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n#\u5ba2\u6237\u7aef<br \/>\n#1.\u5b89\u88c5nfs-utils<br \/>\ndnf install nfs-utils -y<\/p>\n<p>#2.\u521b\u5efa\u63a5\u53d7\u5171\u4eab\u7684\u76ee\u5f55<br \/>\nmkdir \/nfs_client<\/p>\n<p>#3.\u5c06\u670d\u52a1\u7aef\u7684\u76ee\u5f55\u6302\u5728\u5230nfs_client\u4e0b<br \/>\nshowmount -e 192.168.31.100<br \/>\nmount 172.25.254.100:\/nfs_server \/nfs_client<\/p>\n<p>#4. \u5c1d\u8bd5\u5728\u8be5\u76ee\u5f55\u5199\u5165\u6587\u4ef6\u5982\u679c\u4e0d\u884c&#xff0c;\u8bf7\u601d\u8003\u8be5\u600e\u4e48\u529e&#xff1f;<\/p>\n<p>\u5b9e\u9a8c2:\u5c1d\u8bd5\u5199\u6587\u4ef6&#xff0c;\u5982\u679c\u4e0d\u884c\u4e3a\u4ec0\u4e48?<\/p>\n<p>#\u56e0\u4e3a\u6b64\u65f6\u5ba2\u6237\u7aef\u7684\u7528\u6237\u8eab\u4efd\u88ab\u6620\u5c04\u4e3a\u4e86\u670d\u52a1\u5668\u4e0a\u7684nobody&#xff0c;\u800cnobody\u6ca1\u6709\u5199\u6587\u4ef6\u7684\u6743\u9650&#xff0c;\u6240\u4ee5\u65e0\u6cd5\u521b\u5efa\u3002<\/p>\n<p>\u5b9e\u9a8c3&#xff1a;\u5c06\u5ba2\u6237\u7aef\u7684\u8d26\u6237\u6620\u5c04\u4e3aredhat<\/p>\n<p># \u4ee5\u4e0b\u64cd\u4f5c\u662f\u5efa\u7acb\u5728\u5b9e\u9a8c1\u7684\u57fa\u7840\u4e4b\u4e0a<br \/>\n# 1.\u4fee\u6539\/etc\/exports\u6587\u4ef6<br \/>\nvim \/etc\/exports<br \/>\n##########<br \/>\n\/nfs_server xxx.xxx.xxx.xxx\/xx(rw,all_squash,sync,anonuid&#061;1000,anongid&#061;1000)<br \/>\n##########<\/p>\n<p># 2.\u4f7f\u7528exportfs\u547d\u4ee4\u66f4\u65b0\u5171\u4eab\u76ee\u5f55\u7684\u8bbe\u7f6e<br \/>\nexportfs -rv<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n# \u5ba2\u6237\u7aef<br \/>\n# \u6b64\u65f6\u5728\u5171\u4eab\u76ee\u5f55\u4e2d\u521b\u5efa\u65b0\u7684\u6587\u4ef6 \u89c2\u5bdf\u8be5\u6587\u4ef6\u5c5e\u4e8e\u8c01<br \/>\n[root&#064;client nfs_client]# touch 333<br \/>\n[root&#064;client nfs_client]# ll<br \/>\n\u603b\u7528\u91cf 8<br \/>\n-rw-r&#8211;r&#8211; 1 redhat redhat  0 10\u6708 28 16:51 333<br \/>\n-rw-r&#8211;r&#8211; 1 root   root   10 10\u6708 28 15:32 hello.txt<br \/>\n-rw-r&#8211;r&#8211; 1 nobody nobody 22 10\u6708 28 15:55 thanks.txt<\/p>\n<h3>\u81ea\u52a8\u6302\u8f7d<\/h3>\n<p>\u672c\u8d28&#xff1a;\u60f0\u6027\u6302\u8f7d<\/p>\n<p>1. autofs&#xff1a;\u9ed8\u8ba4\u60c5\u51b5\u4e0bautofs\u4f1a\u5c06\u5171\u4eab\u76ee\u5f55\u6302\u5728\u5230net\u76ee\u5f55\u4e0b&#xff0c;\u5f53\u4f60\u8fdb\u5165\u5230\u6307\u5b9aip\u7684\u76ee\u5f55\u90a3\u4e00\u77ac\u95f4\u65f6<\/p>\n<p>\u00a0 autofs\u4f1a\u81ea\u52a8\u5c06\u8be5ip\u4e2d\u7684\u5171\u4eab\u76ee\u5f55\u6302\u5728\u5230\u6307\u5b9aip\u7684\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>\u00a0 autofs\u8fd8\u652f\u6301\u81ea\u52a8\u5378\u8f7d<\/p>\n<p>\u00a0 &#8211; \u914d\u7f6e\u6587\u4ef6\/etc\/autofs.conf<br \/>\n\u00a0 \u00a0 2.\u00a0\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d \u6211\u4eec\u53ef\u4ee5\u4fee\u6539\u81ea\u52a8\u5378\u8f7d\u7684\u65f6\u957f<br \/>\n\u00a0 &#8211; \u914d\u7f6e\u6587\u4ef6\/etc\/auto.master<br \/>\n\u00a0 \u00a0 3.\u6211\u4eec\u53ef\u4ee5\u6307\u5b9a\u81ea\u52a8\u6302\u8f7d\u7684\u76ee\u5f55<\/p>\n<p>4. \u5b9e\u73b0\u81ea\u52a8\u6302\u8f7d<\/p>\n<p># \u5ba2\u6237\u7aef<br \/>\n# 1.\u5c06\u4e4b\u524d\u505a\u7684\u5b9e\u9a8c\u53d6\u6d88\u6302\u8f7d<br \/>\numount \/nfs_client<br \/>\n# 2.\u5b89\u88c5autofs<br \/>\ndnf install autofs -y<br \/>\n# 3. \u8fdb\u5165\/net\/xxx.xxx.xxx.xxx\/nfs_server,\u89c2\u5bdf\u662f\u5426\u62a5\u9519<br \/>\n# 4. \u5982\u679c\u6ca1\u6709\u62a5\u9519\u5e76\u4e14\u53ef\u4ee5\u67e5\u770b\u5230 \u670d\u52a1\u7aef\u7684\u5171\u4eab\u76ee\u5f55\u4e2d\u6587\u4ef6 \u90a3\u4e48\u8bf4\u660e\u81ea\u52a8\u6302\u8f7d\u51fa\u53d1\u6210\u529f<\/p>\n<p># \u4fee\u6539\u81ea\u52a8\u5378\u8f7d\u7684\u65f6\u957f<br \/>\n# 1.\/etc\/autofs.conf<br \/>\n######<br \/>\ntimeout &#061; 5<br \/>\n######<br \/>\n# 2.\u91cd\u542fautofs<br \/>\nsystemctl restart autofs<br \/>\n# 3.\u8fdb\u5165\/net\/xxx.xxx.xxx.xxx\/nfs_server,\u518d\u56de\u5230\u6839\u76ee\u5f55<br \/>\n[root&#064;client \/]# cd \/net\/192.168.31.100\/nfs<br \/>\n# 4.\u7b2c\u4e00\u65f6\u95f4df \u67e5\u770b\u6302\u8f7d\u4fe1\u606f<\/p>\n<p>[root&#064;client \/]# df<br \/>\n\u6587\u4ef6\u7cfb\u7edf \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a01K-\u5757 \u00a0 \u00a0\u5df2\u7528 \u00a0 \u00a0 \u53ef\u7528 \u5df2\u7528% \u6302\u8f7d\u70b9<br \/>\n\u3002\u3002\u3002\u3002<br \/>\n172.25.254.100:\/nfs_server 42467328 1988352 40478976 \u00a0 \u00a05% \/net\/172.25.254.100\/nfs_server<br \/>\n[root&#064;client nfs_server]# cd \/<br \/>\n# 5.\u8fc75\u79d2\u949f \u518d\u4f7f\u7528df\u547d\u4ee4 \u53d1\u73b0\u5de5\u9879\u76ee \u5df2\u7ecf\u5378\u8f7d\u4e86<br \/>\n[root&#064;client \/]# df<br \/>\n\u6587\u4ef6\u7cfb\u7edf \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 1K-\u5757 \u00a0 \u00a0\u5df2\u7528 \u00a0 \u00a0 \u53ef\u7528 \u5df2\u7528% \u6302\u8f7d\u70b9<br \/>\ndevtmpfs \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a04096 \u00a0 \u00a0 \u00a0 0 \u00a0 \u00a0 4096 \u00a0 \u00a00% \/dev<br \/>\ntmpfs \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 872836 \u00a0 \u00a0 \u00a0 0 \u00a0 872836 \u00a0 \u00a00% \/dev\/shm<br \/>\ntmpfs \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 349136 \u00a0 \u00a05284 \u00a0 343852 \u00a0 \u00a02% \/run<br \/>\n\/dev\/mapper\/rhel-root 42467328 1990920 40476408 \u00a0 \u00a05% \/<br \/>\n\/dev\/sda2 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 983040 \u00a0200180 \u00a0 782860 \u00a0 21% \/boot<br \/>\n\/dev\/mapper\/rhel-home 20701184 \u00a0177448 20523736 \u00a0 \u00a01% \/home<br \/>\n\/dev\/sda1 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 613160 \u00a0 \u00a07140 \u00a0 606020 \u00a0 \u00a02% \/boot\/efi<br \/>\ntmpfs \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 174564 \u00a0 \u00a0 \u00a0 0 \u00a0 174564 \u00a0 \u00a00% \/run\/user\/0<\/p>\n<p>5.\u5b9e\u73b0\u6307\u5b9a\u76ee\u5f55\u7684\u81ea\u52a8\u6302\u8f7d<\/p>\n<p># 1.\u4fee\u6539\/etc\/auto.master \u65b0\u589e\u81ea\u52a8\u6302\u8f7d\u7684\u76ee\u5f55 \u5e76\u6307\u5b9a\u8be5\u76ee\u5f55\u7684\u5b50\u914d\u7f6e\u6587\u4ef6<br \/>\nvim \/etc\/auto.master<br \/>\n#####<br \/>\n\/nfs_auto    \/etc\/auto.nfs_auto<br \/>\n#####<\/p>\n<p># 2.\u5b9e\u73b0\u4e00\u4e0b\u5b50\u914d\u7f6e\u6587\u4ef6\/etc\/auto.nfs_auto<br \/>\nvim \/etc\/auto.nfs_auto<br \/>\n#####<br \/>\nfromserver  172.25.254.100:\/nfs_server<br \/>\n#####<\/p>\n<p># 3.\u91cd\u542fautofs<br \/>\nsystemctl restart autofs<\/p>\n<p># 4.\u91cd\u542f\u8fc7\u4f1a\u53d1\u73b0 \u6839\u76ee\u5f55\u4e2d\u81ea\u52a8\u521b\u5efa\u4e86 \/nfs_auto\u76ee\u5f55 \u6211\u4eec\u8fdb\u5165\u5176\u4e2d\u7684fromserver \u90a3\u5c31\u662f\u670d\u52a1\u7aef\u5171\u4eab\u76ee\u5f55<br \/>\n[root&#064;client \/]# cd \/nfs_auto\/fromserver<br \/>\n[root&#064;client fromserver]# ls<br \/>\n333  444  hello.txt  thanks.txt<\/p>\n<p>\u5b9e\u9a8c5:\u5b9e\u73b0\u5149\u76d8\u6302\u8f7d<\/p>\n<p>\u5b9e\u9a8c\u4e94&#xff1a; #vim \/etc\/auto.master \u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"522\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260121170506-69710742b0edb.png\" width=\"945\" \/><\/p>\n<p>#vim \/etc\/auto.media<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"170\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260121170507-697107430ce85.png\" width=\"791\" \/>#systemctl restart autofs\u00a0<\/p>\n<p>#tree \/media<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb\u4ec0\u4e48\u662fNFS&#xff1a;network filesystem \u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf&#xff0c;\u670d\u52a1\u7aef\u7ed9\u5ba2\u6237\u7aef\u5171\u4eab\u4e00\u4e2a\u786c\u76d8\u4e0a\u7684\u76ee\u5f55\u3002NFS\u7684\u4f7f\u7528\u573a\u666f&#xff1a;\u5c06\u6570\u636e\u4e2d\u5fc3\u7684\u6570\u636e\u5171\u4eab\u7ed9\u5176\u4ed6\u670d\u52a1\u5668&#xff0c;\u5176\u4ed6\u670d\u52a1\u5668\u5728\u4f7f\u7528\u5171\u4eab\u76ee\u5f55\u65f6&#xff0c;\u611f\u53d7\u8ddf\u672c\u5730\u6ca1\u6709\u533a\u522bNFS\u6d89\u53ca\u5230\u7684\u670d\u52a1 &#xff1a;1.rpcbind: \u00a0\u670d\u52a1\u4e2d\u4ecb \u56fa\u5b9a\u7aef\u53e3111\u3002\u56e0\u4e3anfs-server\u7aef\u53e3\u4e3a\u591a\u4e2a&#xff0c;\u4e14\u4e0d\u56fa\u5b9a&#xff0c;\u5ba2\u6237\u7aef\u5982\u679c\u60f3\u8981\u4f7f\u7528nfs-server&amp;#xf<\/p>\n","protected":false},"author":2,"featured_media":63493,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-63495","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>RHCE\u7684NFS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/63495.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RHCE\u7684NFS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7b80\u4ecb\u4ec0\u4e48\u662fNFS&#xff1a;network filesystem \u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf&#xff0c;\u670d\u52a1\u7aef\u7ed9\u5ba2\u6237\u7aef\u5171\u4eab\u4e00\u4e2a\u786c\u76d8\u4e0a\u7684\u76ee\u5f55\u3002NFS\u7684\u4f7f\u7528\u573a\u666f&#xff1a;\u5c06\u6570\u636e\u4e2d\u5fc3\u7684\u6570\u636e\u5171\u4eab\u7ed9\u5176\u4ed6\u670d\u52a1\u5668&#xff0c;\u5176\u4ed6\u670d\u52a1\u5668\u5728\u4f7f\u7528\u5171\u4eab\u76ee\u5f55\u65f6&#xff0c;\u611f\u53d7\u8ddf\u672c\u5730\u6ca1\u6709\u533a\u522bNFS\u6d89\u53ca\u5230\u7684\u670d\u52a1 &#xff1a;1.rpcbind: \u00a0\u670d\u52a1\u4e2d\u4ecb \u56fa\u5b9a\u7aef\u53e3111\u3002\u56e0\u4e3anfs-server\u7aef\u53e3\u4e3a\u591a\u4e2a&#xff0c;\u4e14\u4e0d\u56fa\u5b9a&#xff0c;\u5ba2\u6237\u7aef\u5982\u679c\u60f3\u8981\u4f7f\u7528nfs-server&amp;#xf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/63495.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-21T17:05:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260121170506-69710742b0edb.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/63495.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/63495.html\",\"name\":\"RHCE\u7684NFS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-21T17:05:08+00:00\",\"dateModified\":\"2026-01-21T17:05:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/63495.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/63495.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/63495.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RHCE\u7684NFS\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RHCE\u7684NFS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/63495.html","og_locale":"zh_CN","og_type":"article","og_title":"RHCE\u7684NFS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7b80\u4ecb\u4ec0\u4e48\u662fNFS&#xff1a;network filesystem \u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf&#xff0c;\u670d\u52a1\u7aef\u7ed9\u5ba2\u6237\u7aef\u5171\u4eab\u4e00\u4e2a\u786c\u76d8\u4e0a\u7684\u76ee\u5f55\u3002NFS\u7684\u4f7f\u7528\u573a\u666f&#xff1a;\u5c06\u6570\u636e\u4e2d\u5fc3\u7684\u6570\u636e\u5171\u4eab\u7ed9\u5176\u4ed6\u670d\u52a1\u5668&#xff0c;\u5176\u4ed6\u670d\u52a1\u5668\u5728\u4f7f\u7528\u5171\u4eab\u76ee\u5f55\u65f6&#xff0c;\u611f\u53d7\u8ddf\u672c\u5730\u6ca1\u6709\u533a\u522bNFS\u6d89\u53ca\u5230\u7684\u670d\u52a1 &#xff1a;1.rpcbind: \u00a0\u670d\u52a1\u4e2d\u4ecb \u56fa\u5b9a\u7aef\u53e3111\u3002\u56e0\u4e3anfs-server\u7aef\u53e3\u4e3a\u591a\u4e2a&#xff0c;\u4e14\u4e0d\u56fa\u5b9a&#xff0c;\u5ba2\u6237\u7aef\u5982\u679c\u60f3\u8981\u4f7f\u7528nfs-server&amp;#xf","og_url":"https:\/\/www.wsisp.com\/helps\/63495.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-21T17:05:08+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260121170506-69710742b0edb.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/63495.html","url":"https:\/\/www.wsisp.com\/helps\/63495.html","name":"RHCE\u7684NFS\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-21T17:05:08+00:00","dateModified":"2026-01-21T17:05:08+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/63495.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/63495.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/63495.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"RHCE\u7684NFS\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/63495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=63495"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/63495\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/63493"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=63495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=63495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=63495"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=63495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}