{"id":6942,"date":"2020-04-29T20:16:22","date_gmt":"2020-04-29T12:16:22","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6942"},"modified":"2022-05-22T16:47:50","modified_gmt":"2022-05-22T08:47:50","slug":"mount-nfs","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mount-nfs","title":{"rendered":"mount.nfs\u547d\u4ee4 – \u6302\u8f7dNFS\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"\n

mount.nfs\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cmount network file system\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u6302\u8f7dNFS\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u3002\u5176\u5b9e\u4eceRHEL\/CentOS 6\u7248\u672c\u5f00\u59cb\uff0c\u6302\u8f7dNFS\u6587\u4ef6\u7cfb\u7edf\u5df2\u7ecf\u53ef\u4ee5\u4f7f\u7528mount\u547d\u4ee4\u76f4\u63a5\u5b8c\u6210\u4e86\uff0c\u4f46\u5982\u679c\u7cfb\u7edf\u7248\u672c\u6bd4\u8f83\u8001\uff0cNFS\u7248\u672c\u4e3av2\u6216v3\uff0c\u4ea6\u53ef\u4ee5\u7528mount.nfs\u547d\u4ee4\u6765\u5b8c\u6210\u6302\u8f7d\u64cd\u4f5c\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mount.nfs [\u53c2\u6570] \u670d\u52a1\u5668\u4fe1\u606f \u672c\u5730\u76ee\u5f55 <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-n<\/td>\u4e0d\u66f4\u65b0\/etc\/mtab\u6587\u4ef6<\/td><\/tr>
-r<\/td>\u4ee5\u53ea\u8bfb\u65b9\u5f0f\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf<\/td><\/tr>
-v<\/td>\u663e\u793a\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u6302\u8f7d\u6307\u5b9a\u7684\u8fdc\u7a0bNFS\u670d\u52a1\u5668\u5171\u4eab\u76ee\u5f55\u5230\u672c\u5730\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mount.nfs 192.168.10.10:\/nfs \/mnt<\/strong><\/pre>\n\n\n\n

\u4ee5\u53ea\u8bfb\u65b9\u5f0f\uff0c\u6302\u8f7d\u6307\u5b9a\u7684\u8fdc\u7a0bNFS\u670d\u52a1\u5668\u5171\u4eab\u76ee\u5f55\u5230\u672c\u5730\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mount.nfs -r 192.168.10.10:\/nfs \/mnt<\/strong><\/pre>\n\n\n\n

\u4ee5\u8be6\u7ec6\u4fe1\u606f\u6a21\u5f0f\uff0c\u6302\u8f7d\u6307\u5b9a\u7684\u8fdc\u7a0bNFS\u670d\u52a1\u5668\u5171\u4eab\u76ee\u5f55\u5230\u672c\u5730\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mount.nfs -v 192.168.10.10:\/nfs \/mnt<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

mount.nfs\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cmount network file system\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6942"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6942"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6942\/revisions"}],"predecessor-version":[{"id":9927,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6942\/revisions\/9927"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6942"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}