{"id":27711,"date":"2025-04-19T20:56:24","date_gmt":"2025-04-19T12:56:24","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/27711.html"},"modified":"2025-04-19T20:56:24","modified_gmt":"2025-04-19T12:56:24","slug":"day06%ef%bc%88linux%e5%ba%95%e5%b1%82%ef%bc%89nfs%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/27711.html","title":{"rendered":"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"NFS%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA-toc\" style=\"margin-left:40px\">NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa<\/p>\n<p id=\"1%E3%80%81%E4%BB%80%E4%B9%88%E6%98%AFNFS-toc\" style=\"margin-left:80px\">1\u3001\u4ec0\u4e48\u662fNFS<\/p>\n<p id=\"2%E3%80%81NFS%E7%9A%84%E7%BB%84%E6%88%90%E4%B8%8E%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86-toc\" style=\"margin-left:80px\">2\u3001NFS\u7684\u7ec4\u6210\u4e0e\u5de5\u4f5c\u539f\u7406<\/p>\n<p id=\"3%E3%80%81NFS%E7%9A%84%E7%89%B9%E7%82%B9-toc\" style=\"margin-left:80px\">3\u3001NFS\u7684\u7279\u70b9<\/p>\n<p id=\"4%E3%80%81NFS%E7%9A%84%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF-toc\" style=\"margin-left:80px\">4\u3001NFS\u7684\u5e94\u7528\u573a\u666f<\/p>\n<p id=\"5%E3%80%81NFS%E7%9A%84%E9%85%8D%E7%BD%AE%E4%B8%8E%E4%BD%BF%E7%94%A8-toc\" style=\"margin-left:80px\">5\u3001NFS\u7684\u914d\u7f6e\u4e0e\u4f7f\u7528<\/p>\n<p id=\"6.NFS%E7%BD%91%E7%BB%9C%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA-toc\" style=\"margin-left:80px\">6.NFS\u7f51\u7edc\u73af\u5883\u642d\u5efa<\/p>\n<hr id=\"hr-toc\" \/>\n<h3 id=\"NFS%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA\" style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#333333\">NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa<\/span><\/h3>\n<h4 id=\"1%E3%80%81%E4%BB%80%E4%B9%88%E6%98%AFNFS\" style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#333333\">1\u3001\u4ec0\u4e48\u662fNFS<\/span><\/h4>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u5b9a\u4e49&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u662f\u4e00\u79cd\u5728\u8ba1\u7b97\u673a\u7cfb\u7edf\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u534f\u8bae&#xff0c;\u6700\u521d\u7531Sun Microsystems\u5f00\u53d1&#xff0c;\u73b0\u5728\u5df2\u7ecf\u6210\u4e3a\u5e7f\u6cdb\u4f7f\u7528\u7684\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u4e4b\u4e00\u3002<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u6838\u5fc3\u529f\u80fd&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u901a\u8fc7\u7f51\u7edc&#xff08;\u7279\u522b\u662fTCP\/IP\u7f51\u7edc&#xff09;\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab&#xff0c;\u4f7f\u5f97\u4e0d\u540c\u673a\u5668\u3001\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u6570\u636e\u5171\u4eab\u53d8\u5f97\u5bb9\u6613\u3002<\/span><\/p>\n<h4 id=\"2%E3%80%81NFS%E7%9A%84%E7%BB%84%E6%88%90%E4%B8%8E%E5%B7%A5%E4%BD%9C%E5%8E%9F%E7%90%86\" style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#333333\">2\u3001<\/span><span style=\"color:#333333\">NFS\u7684\u7ec4\u6210\u4e0e\u5de5\u4f5c\u539f\u7406<\/span><\/h4>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u7ec4\u6210\u90e8\u5206&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u7cfb\u7edf\u5305\u62ec\u670d\u52a1\u5668\u7aef\u548c\u5ba2\u6237\u7aef\u3002\u670d\u52a1\u5668\u7aef\u7ef4\u62a4\u7740\u6587\u4ef6\u7cfb\u7edf\u7684\u5171\u4eab&#xff0c;\u5e76\u63d0\u4f9b\u6587\u4ef6\u8bbf\u95ee\u670d\u52a1&#xff1b;\u5ba2\u6237\u7aef\u5219\u4f7f\u7528\u8be5\u670d\u52a1\u6765\u8bbf\u95ee\u670d\u52a1\u5668\u7aef\u5171\u4eab\u7684\u6587\u4ef6\u3002<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u5de5\u4f5c\u539f\u7406<\/span><span style=\"color:#333333\">&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u5ba2\u6237\u7aef\u901a\u8fc7\u7f51\u7edc\u8fde\u63a5\u5230NFS\u670d\u52a1\u5668\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u5ba2\u6237\u7aef\u53d1\u8d77\u6587\u4ef6\u8bbf\u95ee\u8bf7\u6c42&#xff08;\u5982\u8bfb\u53d6\u3001\u5199\u5165\u6587\u4ef6&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u670d\u52a1\u5668\u63a5\u6536\u5230\u8bf7\u6c42\u540e&#xff0c;\u6839\u636e\u8bf7\u6c42\u5185\u5bb9\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c&#xff08;\u5982\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e2d\u8bfb\u53d6\u6570\u636e\u3001\u5199\u5165\u6570\u636e\u5230\u6587\u4ef6\u7cfb\u7edf\u7b49&#xff09;\u3002\u670d\u52a1\u5668\u5c06\u64cd\u4f5c\u7ed3\u679c\u8fd4\u56de\u7ed9\u5ba2\u6237\u7aef\u3002<\/span><\/p>\n<h4 id=\"3%E3%80%81NFS%E7%9A%84%E7%89%B9%E7%82%B9\" style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#333333\">3\u3001NFS\u7684\u7279\u70b9<\/span><\/h4>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u900f\u660e\u6027&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u7528\u6237\u53ef\u4ee5\u50cf\u64cd\u4f5c\u672c\u5730\u6587\u4ef6\u4e00\u6837\u64cd\u4f5c\u7f51\u7edc\u4e0a\u7684\u6587\u4ef6&#xff0c;\u8bbf\u95ee\u7f51\u7edc\u6587\u4ef6\u548c\u8bbf\u95ee\u672c\u5730\u6587\u4ef6\u4e4b\u95f4\u7684\u533a\u522b\u53d8\u5f97\u6a21\u7cca\u3002<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u8de8\u5e73\u53f0\u6027&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u57fa\u4e8e\u4e92\u8054\u7f51\u6807\u51c6\u534f\u8bae&#xff0c;\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u8bbe\u5907\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u548c\u8d44\u6e90&#xff0c;\u5982Linux\u3001Unix\u3001FreeBSD\u7b49\u3002<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u9ad8\u6548\u6027&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u5177\u6709\u5feb\u901f\u7684\u6570\u636e\u8bbf\u95ee\u901f\u5ea6\u548c\u6587\u4ef6\u4f20\u8f93\u6548\u7387&#xff0c;\u652f\u6301\u5f02\u6b65I\/O\u548c\u6570\u636e\u7f13\u5b58\u7b49\u6280\u672f\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u6613\u7528\u6027&#xff1a;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u7684\u64cd\u4f5c\u975e\u5e38\u7b80\u5355&#xff0c;\u5ba2\u6237\u7aef\u53ea\u9700\u8981\u6302\u8f7d\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u76ee\u5f55\u5373\u53ef\u4f7f\u7528\u3002<\/span><\/p>\n<h4 id=\"4%E3%80%81NFS%E7%9A%84%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF\" style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#333333\">4\u3001NFS\u7684\u5e94\u7528\u573a\u666f<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u5e7f\u6cdb\u5e94\u7528\u4e8e\u4f01\u4e1a\u5185\u90e8\u7f51\u7edc\u3001\u4e91\u8ba1\u7b97\u73af\u5883\u4ee5\u53ca\u5206\u5e03\u5f0f\u7cfb\u7edf\u548c\u96c6\u7fa4\u73af\u5883\u4e2d&#xff0c;\u7528\u4e8e\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u548c\u534f\u4f5c\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u5728Linux\u548cUnix\u7cfb\u7edf\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u65f6&#xff0c;NFS\u662f\u4e00\u4e2a\u5e38\u7528\u7684\u9009\u62e9\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u5bf9\u4e8e\u9700\u8981\u96c6\u4e2d\u7ba1\u7406\u6587\u4ef6\u548c\u8d44\u6e90\u3001\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u548c\u8d44\u6e90\u5229\u7528\u7387\u7684\u573a\u666f&#xff0c;NFS\u4e5f\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/span><\/p>\n<h4 id=\"5%E3%80%81NFS%E7%9A%84%E9%85%8D%E7%BD%AE%E4%B8%8E%E4%BD%BF%E7%94%A8\" style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#333333\">5\u3001NFS\u7684\u914d\u7f6e\u4e0e\u4f7f\u7528<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">NFS\u7684\u914d\u7f6e\u901a\u5e38\u6d89\u53ca\u8bbe\u7f6e\u670d\u52a1\u5668\u7aef\u7684\u5171\u4eab\u76ee\u5f55\u548c\u5ba2\u6237\u7aef\u7684\u6302\u8f7d\u70b9\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u5728\u914d\u7f6e\u8fc7\u7a0b\u4e2d&#xff0c;\u9700\u8981\u786e\u4fddRPC&#xff08;\u8fdc\u7a0b\u8fc7\u7a0b\u8c03\u7528\u534f\u8bae&#xff09;\u670d\u52a1\u6b63\u5e38\u8fd0\u884c&#xff0c;\u56e0\u4e3aNFS\u662f\u57fa\u4e8eRPC\u6765\u5b9e\u73b0\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u5171\u4eab\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#333333\">\u5ba2\u6237\u7aef\u901a\u8fc7\u6302\u8f7d\u547d\u4ee4\u5c06NFS\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u76ee\u5f55\u6302\u8f7d\u5230\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u4e2d&#xff0c;\u4e4b\u540e\u5c31\u53ef\u4ee5\u50cf\u8bbf\u95ee\u672c\u5730\u6587\u4ef6\u4e00\u6837\u8bbf\u95ee\u8fd9\u4e9b\u5171\u4eab\u6587\u4ef6\u4e86\u3002<\/span><\/p>\n<h4 id=\"6.NFS%E7%BD%91%E7%BB%9C%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA\" style=\"text-align:justify\"><span style=\"color:#333333\">6.NFS\u7f51\u7edc\u73af\u5883\u642d\u5efa<\/span><\/h4>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u6253\u5f00ubuntu&#xff0c;\u7ec8\u7aef\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff08;dpkg<\/span><span style=\"color:#333333\"> -s nfs-kernel-server<\/span><span style=\"color:#333333\">&#xff09;\u67e5\u770b\u662f\u5426\u5b89\u88c5\u4e86nfs\u670d\u52a1\u5668&#xff0c;\u663e\u793aok\u8868\u793a\u5b89\u88c5\u4e86&#xff0c;\u76f4\u63a5\u8df3\u8fc7\u4e0b\u4e00\u6b65\u5c31\u53ef\u4ee5\u4e86\u3002<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"185\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125621-68039d7556654.png\" width=\"995\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u6267\u884c\u5b89\u88c5\u547d\u4ee4&#xff0c;\u5b89\u88c5nfs\u670d\u52a1\u5668 sudo<\/span><span style=\"color:#333333\"> apt-get install nfs-kernel-server<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"256\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125621-68039d758153d.png\" width=\"1200\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u4f7f\u7528sudo vi \/etc\/exports &#xff0c;\u6253\u5f00nfs\u670d\u52a1\u5668\u914d\u7f6e\u6587\u4ef6<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"870\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125621-68039d75ba092.png\" width=\"1200\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">&#xff0c;\u5728\u6587\u672b\u6dfb\u52a0\u5982\u4e0b\u914d\u7f6e&#xff0c;\u4fdd\u5b58\u9000\u51fa\u3002(- *(rw,sync,no_subtree_check,no_root_squash)&#xff1a;\u8868\u793a\u5141\u8bb8\u6240\u6709\u5ba2\u6237\u7aef\u4ee5\u8bfb\u5199\u6743\u9650&#xff08;rw&#xff09;\u8bbf\u95ee\u5171\u4eab\u76ee\u5f55&#xff0c;\u540c\u6b65\u5199\u5165&#xff08;sync&#xff09;&#xff0c;\u4e0d\u68c0\u67e5\u5b50\u6811&#xff08;no_subtree_check&#xff09;&#xff0c;\u4e0d\u5bf9root\u7528\u6237\u8fdb\u884c\u6743\u9650\u9650\u5236&#xff08;no_root_squash&#xff09;\u3002<\/span><span style=\"color:#333333\">\/<\/span><span style=\"color:#333333\">opt<\/span><span style=\"color:#333333\">\/<\/span><span style=\"color:#333333\">6818<\/span><span style=\"color:#333333\">\/<\/span><span style=\"color:#333333\">rootfs<\/span><span style=\"color:#333333\">\/ \u4e3aNFS\u670d\u52a1\u5668\u76ee\u5f55 \u8def\u5f84\u6839\u636e\u81ea\u5df1\u7684\u8def\u5f84\u8bbe\u7f6e\u5c31\u884c&#xff0c;\u672c\u6587\u4e2d\u5728\u4e0b\u9762\u7684\u6b65\u9aa4\u4f1a\u521b\u5efa\u8def\u5f84<\/span><span style=\"color:#333333\">)<\/span><\/li>\n<\/ul>\n<p>    <span style=\"background-color:#fafafa\"><span style=\"color:#9a6e3a\">\/<\/span><span style=\"color:#000000\">opt<\/span><span style=\"color:#9a6e3a\">\/<\/span><span style=\"color:#990055\">6818<\/span><span style=\"color:#9a6e3a\">\/<\/span><span style=\"color:#000000\">rootfs<\/span><span style=\"color:#9a6e3a\">\/<\/span> <span style=\"color:#9a6e3a\">*<\/span><span style=\"color:#999999\">(<\/span><span style=\"color:#000000\">rw<\/span><span style=\"color:#999999\">,<\/span><span style=\"color:#000000\">sync<\/span><span style=\"color:#999999\">,<\/span><span style=\"color:#000000\">no_subtree_check<\/span><span style=\"color:#999999\">,<\/span><span style=\"color:#000000\">no_root_squash<\/span><span style=\"color:#999999\">)<\/span><\/span> <\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"392\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125622-68039d766de61.png\" width=\"1200\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u521b\u5efanfs\u5de5\u4f5c\u76ee\u5f55&#xff0c;sudo mkdir -p \/opt\/6818\/rootfs ,\u6267\u884csudo chmod -R 777 \/opt\/*&#xff0c;\u5c06\u5de5\u4f5c\u76ee\u5f55\u8bbe\u7f6e\u4e3a\u6700\u9ad8\u6743\u9650\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u91cd\u542fnfs\u670d\u52a1&#xff0c;\u4f7f\u914d\u7f6e\u751f\u6548\u3002<\/span><span style=\"color:#333333\">sudo service nfs-kernel-server restart<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"191\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125622-68039d76ca4fc.png\" width=\"992\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u672c\u5730\u6d4b\u8bd5\u662f\u5426\u914d\u7f6e\u6210\u529f&#xff08;\u56fe\u7247\u4e2d\u7684\u7f16\u8f91\u5185\u5bb9\u8fd9\u4e00\u6b65\u53ef\u4ee5\u4e0d\u505a&#xff0c;\u672c\u5730\u6d4b\u8bd5\u7684\u539f\u7406\u5c31\u662f\u5982\u679c\u5728\u672c\u5730\u6302\u5728NFS\u670d\u52a1\u5668\u76ee\u5f55\u53ef\u4ee5\u6302\u8f7d\u5e76\u67e5\u770b\u5230\u91cc\u9762\u6587\u4ef6\u5c31\u8bc1\u660eNFS\u670d\u52a1\u5668\u914d\u7f6e\u6210\u529f\u4e86&#xff09;<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"479\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125623-68039d7700705.png\" width=\"1024\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u4e0b\u9762\u5c31\u8981\u6d4b\u8bd5\u662f\u5426\u53ef\u4ee5\u6302\u8f7d\u5e76\u83b7\u53d6\u5230\u521b\u5efa\u7684\u6587\u4ef6\u4e86l<\/span><span style=\"color:#333333\">s<\/span><\/li>\n<\/ul>\n<p>    <span style=\"background-color:#fafafa\"><span style=\"color:#999999\">(<\/span><span style=\"color:#000000\">sudo mount <\/span><span style=\"color:#9a6e3a\">&#8211;<\/span><span style=\"color:#000000\">t nfs localhost<\/span><span style=\"color:#9a6e3a\">:\/<\/span><span style=\"color:#000000\">opt<\/span><span style=\"color:#9a6e3a\">\/<\/span><span style=\"color:#990055\">6818<\/span><span style=\"color:#9a6e3a\">\/<\/span><span style=\"color:#000000\">rootfs  <\/span><span style=\"color:#9a6e3a\">\/<\/span><span style=\"color:#000000\">mnt<\/span><span style=\"color:#999999\">)<\/span><\/span> <\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"406\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125623-68039d773a385.png\" width=\"1200\" \/><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#333333\">\u5982\u679c\u60f3\u53d6\u6d88\u6302\u8f7d\u53ef\u4ee5<\/span><span style=\"color:#333333\">sudo umount \/mnt<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf14\u6b21\u3002NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa_nfs\u642d\u5efa\u6b65\u9aa4<\/p>\n","protected":false},"author":2,"featured_media":27704,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,2225,43,44],"topic":[],"class_list":["post-27711","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-linux-","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>day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa - \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\/27711.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf14\u6b21\u3002NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa_nfs\u642d\u5efa\u6b65\u9aa4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/27711.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T12:56:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125621-68039d7556654.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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27711.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/27711.html\",\"name\":\"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T12:56:24+00:00\",\"dateModified\":\"2025-04-19T12:56:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/27711.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/27711.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27711.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\"}]},{\"@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":"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa - \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\/27711.html","og_locale":"zh_CN","og_type":"article","og_title":"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf14\u6b21\u3002NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa_nfs\u642d\u5efa\u6b65\u9aa4","og_url":"https:\/\/www.wsisp.com\/helps\/27711.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T12:56:24+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419125621-68039d7556654.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/27711.html","url":"https:\/\/www.wsisp.com\/helps\/27711.html","name":"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T12:56:24+00:00","dateModified":"2025-04-19T12:56:24+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/27711.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/27711.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/27711.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"day06\uff08Linux\u5e95\u5c42\uff09NFS\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa"}]},{"@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\/27711","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=27711"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27711\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/27704"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=27711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=27711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=27711"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=27711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}