{"id":8731,"date":"2020-09-14T16:58:36","date_gmt":"2020-09-14T08:58:36","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8731"},"modified":"2020-09-22T17:51:18","modified_gmt":"2020-09-22T09:51:18","slug":"sharectl%e5%91%bd%e4%bb%a4-%e9%85%8d%e7%bd%ae%e5%92%8c%e7%ae%a1%e7%90%86%e6%96%87%e4%bb%b6%e5%85%b1%e4%ba%ab%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/sharectl%e5%91%bd%e4%bb%a4-%e9%85%8d%e7%bd%ae%e5%92%8c%e7%ae%a1%e7%90%86%e6%96%87%e4%bb%b6%e5%85%b1%e4%ba%ab%e6%9c%8d%e5%8a%a1","title":{"rendered":"sharectl\u547d\u4ee4 – \u914d\u7f6e\u548c\u7ba1\u7406\u6587\u4ef6\u5171\u4eab\u670d\u52a1"},"content":{"rendered":"\n
sharectl\u547d\u4ee4\u5bf9\u6587\u4ef6\u5171\u4eab\u534f\u8bae\u8fdb\u884c\u64cd\u4f5c\uff0c\u5982NFS\u548cSMB\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u8bbe\u7f6e\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7684\u64cd\u4f5c\u5c5e\u6027\uff0c\u83b7\u53d6\u548c\u6062\u590d\u914d\u7f6e\u5feb\u7167\uff0c\u5e76\u83b7\u53d6pro-tocol\u670d\u52a1\u7684\u72b6\u6001\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>sharectl [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u83b7\u53d6NFS\u534f\u8bae\u7684\u5c5e\u6027\uff1a<\/p>\n\n\n\n \u8bbe\u7f6eNFS\u7684\u7248\u672c\u53f7\uff1a<\/p>\n\n\n\n \u83b7\u53d6\u72b6\u6001\uff1a<\/p>\n\n\n\n sharectl\u547d\u4ee4\u5bf9\u6587\u4ef6\u5171\u4eab\u534f\u8bae\u8fdb\u884c\u64cd\u4f5c\uff0c\u5982NFS\u548cSMB\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u8bbe\u7f6e\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7684\u64cd\u4f5c\u5c5e\u6027\uff0c\u83b7\u53d6\u548c\u6062 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8731"}],"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=8731"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8731\/revisions"}],"predecessor-version":[{"id":8793,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8731\/revisions\/8793"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}get<\/td> \u83b7\u53d6\u534f\u8bae\u7684\u5c5e\u6027\u503c<\/td><\/tr> set<\/td> \u8bbe\u7f6e\u6587\u4ef6\u5171\u4eab\u7684\u5c5e\u6027<\/td><\/tr> status<\/td> \u663e\u793a\u72b6\u6001<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# sharectl get nfs<\/pre>\n\n\n\n
[root@linuxcool ~]# sharectl set -p server_versmin=3 nfs<\/pre>\n\n\n\n
[root@linuxcool ~]# sharectl status<\/pre>\n","protected":false},"excerpt":{"rendered":"