{"id":460,"date":"2022-12-12T16:27:02","date_gmt":"2022-12-12T08:27:02","guid":{"rendered":"http:\/\/blog.simple-dev.top\/?p=460"},"modified":"2022-12-12T16:27:03","modified_gmt":"2022-12-12T08:27:03","slug":"linux%e4%bd%bf%e7%94%a8nfs%e6%8c%82%e8%bd%bd%e7%be%a4%e8%be%89%e8%bf%9c%e7%a8%8b%e7%9b%ae%e5%bd%95","status":"publish","type":"post","link":"https:\/\/blog.simple-dev.top\/?p=460","title":{"rendered":"Linux\u4f7f\u7528nfs\u6302\u8f7d\u7fa4\u8f89\u8fdc\u7a0b\u76ee\u5f55"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u7fa4\u6656\u5f00\u653e\u76ee\u5f55nfs\u6743\u9650<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image.png\" alt=\"\" class=\"wp-image-463\" width=\"386\" height=\"187\" srcset=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image.png 514w, https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-300x145.png 300w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-1.png\" alt=\"\" class=\"wp-image-464\" width=\"410\" height=\"289\" srcset=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-1.png 547w, https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-1-300x211.png 300w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/figure>\n\n\n\n<p>\u7ed9\u4e88\u53ef\u8bfb\u53ef\u5199\u6700\u9ad8\u6743\u9650<\/p>\n\n\n\n<p>  <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u82e5\u4f7f\u7528\u7684PVE\u7684ct\u5bb9\u5668\uff0c\u9700\u8981\u5728\u90e8\u7f72\u65f6\u5f00\u542f\u7279\u6743\u3002\u5426\u5219\u65e0\u6cd5\u76f4\u63a5\u5f00\u542f\u529f\u80fd<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-2.png\" alt=\"\" class=\"wp-image-466\" width=\"638\" height=\"428\" srcset=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-2.png 850w, https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-2-300x202.png 300w, https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-2-768x516.png 768w\" sizes=\"(max-width: 638px) 100vw, 638px\" \/><\/figure>\n\n\n\n<p>\u5f00\u542fNFS\u529f\u80fd<\/p>\n\n\n\n<p>  <\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Linux\u6302\u8f7dnfs\u8fdc\u7a0b\u76ee\u5f55<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u521b\u5efa\u4e00\u4e2a\u7a7a\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> mkdir \/mnt\/docker<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5nfs\u5ba2\u6237\u7aef<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install nfs-common<\/code><\/pre>\n\n\n\n<p>\u6302\u8f7d\u8fdc\u7a0b\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount -t nfs 192.168.66.6:\/volume2\/docker \/mnt\/docker\/<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528 df -h \u67e5\u770b<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-3.png\" alt=\"\" class=\"wp-image-467\" width=\"612\" height=\"172\" srcset=\"https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-3.png 816w, https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-3-300x84.png 300w, https:\/\/blog.simple-dev.top\/wp-content\/uploads\/2022\/12\/image-3-768x216.png 768w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/figure>\n\n\n\n<p>\u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7dnfs\u8fdc\u7a0b\u76ee\u5f55<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/fstab  #\u4fee\u6539fstab\u6587\u4ef6<\/code><\/pre>\n\n\n\n<p>\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>192.168.66.6:\/volume2\/docker \/mnt\/docker nfs defaults 0 0<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7fa4\u6656\u5f00\u653e\u76ee\u5f55nfs\u6743\u9650 \u7ed9\u4e88\u53ef\u8bfb\u53ef\u5199\u6700\u9ad8\u6743\u9650 \u82e5\u4f7f\u7528\u7684PVE\u7684ct\u5bb9\u5668\uff0c\u9700\u8981\u5728\u90e8\u7f72\u65f6\u5f00\u542f\u7279\u6743\u3002\u5426\u5219\u65e0\u6cd5\u76f4\u63a5\u5f00\u542f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[18],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=\/wp\/v2\/posts\/460"}],"collection":[{"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=460"}],"version-history":[{"count":3,"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":468,"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=\/wp\/v2\/posts\/460\/revisions\/468"}],"wp:attachment":[{"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.simple-dev.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}