{"id":6940,"date":"2020-04-30T08:02:23","date_gmt":"2020-04-30T00:02:23","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6940"},"modified":"2020-04-30T08:02:24","modified_gmt":"2020-04-30T00:02:24","slug":"mount-nfs4","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mount-nfs4","title":{"rendered":"mount.nfs4\u547d\u4ee4 – \u6302\u8f7dNFSv4\u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"\n

 NFS\uff0c\u662fNetwork File System\u7684\u7b80\u5199\uff0c\u5373\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u3002\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u662fFreeBSD\u652f\u6301\u7684\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u4e00\u79cd\uff0c\u4e5f\u88ab\u79f0\u4e3aNFS\u3002\u800c \u4f7f\u7528mount.nfs4\u547d\u4ee4\u53ef\u4ee5\u6302\u8f7dNFSv4\u6587\u4ef6\u7cfb\u7edf<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mount.nfs4 [\u8fdc\u7a0b\u6302\u8f7d\u70b9] [\u672c\u5730\u76ee\u5f55] [\u53c2\u6570]<\/p>\n\n\n\n

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

-r<\/td>\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf\u4e3a\u53ea\u8bfb<\/td><\/tr>
-v<\/td>\u663e\u793a\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr>
-w<\/td>\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf\u4e3a\u8bfb\u5199<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u6302\u8f7dNFS\u670d\u52a1\u5668192.168.0.2\u7684\u5171\u4eab\u76ee\u5f55\/it\u5230\u672c\u5730\u4e3b\u673a\u7684\u76ee\u5f55\/mnt\/it\u4e0a\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mount.nfs4 192.168.0.2:\/it \/mnt\/it<\/pre>\n\n\n\n

\u6302\u8f7d\u6b64\u6587\u4ef6\u7cfb\u7edf\u4e3a\u53ea\u8bfb\u65b9\u5f0f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mount.nfs4 -r 192.168.0.2:\/it \/mnt\/it<\/pre>\n\n\n\n

\u6302\u8f7d\u6b64\u6587\u4ef6\u7cfb\u7edf\u65f6\u5e76\u663e\u793a\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n\n\n\n

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

 NFS\uff0c\u662fNetwork File System\u7684\u7b80\u5199\uff0c\u5373\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u3002\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\u662fF […]<\/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\/6940"}],"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=6940"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6940\/revisions"}],"predecessor-version":[{"id":7319,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6940\/revisions\/7319"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}