{"id":5522,"date":"2019-11-26T18:54:18","date_gmt":"2019-11-26T10:54:18","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5522"},"modified":"2019-11-28T21:49:41","modified_gmt":"2019-11-28T13:49:41","slug":"quotaon","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/quotaon","title":{"rendered":"quotaon\u547d\u4ee4 – \u6fc0\u6d3bLinux\u5185\u6838\u4e2d\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\u7684\u78c1\u76d8\u914d\u989d\u529f\u80fd"},"content":{"rendered":"\n

quotaon\u547d\u4ee4\u7528\u4e8e\u6fc0\u6d3bLinux\u5185\u6838\u4e2d\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\u7684\u78c1\u76d8\u914d\u989d\u529f\u80fd\u3002\u6267\u884cquotaon\u6307\u4ee4\u53ef\u5f00\u542f\u7528\u6237\u548c\u7fa4\u7ec4\u7684\u624d\u78c5\u79d2\u5e74\u7a7a\u95f4\u9650\u5236\uff0c\u5404\u5206\u533a\u7684\u6587\u4ef6\u7cfb\u7edf\u6839\u76ee\u5f55\u5fc5\u987b\u6709quota.user\u548cquota.group\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>quotaon [\u53c2\u6570] <\/p>\n\n\n\n

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

-a<\/td>\u5f00\u542f\u5728\/ect\/fstab\u6587\u4ef6\u91cc\uff0c\u6709\u52a0\u5165quota\u8bbe\u7f6e\u7684\u5206\u533a\u7684\u7a7a\u95f4\u9650\u5236<\/td><\/tr>
-g<\/td>\u5f00\u542f\u7fa4\u7ec4\u7684\u78c1\u76d8\u7a7a\u95f4\u9650\u5236<\/td><\/tr>
-u<\/td>\u5f00\u542f\u7528\u6237\u7684\u78c1\u76d8\u7a7a\u95f4\u9650\u5236<\/td><\/tr>
-v<\/td>\u663e\u793a\u6307\u4ee4\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5f00\u542f\u5728\/ect\/fstab\u6587\u4ef6\u91cc\uff0c\u6709\u52a0\u5165quota\u8bbe\u7f6e\u7684\u5206\u533a\u7684\u7a7a\u95f4\u9650\u5236\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# quotaon -a<\/pre>\n\n\n\n

\u5f00\u542f\u6307\u5b9a\u5206\u533a\u7684\u78c1\u76d8\u914d\u989d\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# quotaon \/dev\/sdb1 <\/pre>\n","protected":false},"excerpt":{"rendered":"

quotaon\u547d\u4ee4\u7528\u4e8e\u6fc0\u6d3bLinux\u5185\u6838\u4e2d\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\u7684\u78c1\u76d8\u914d\u989d\u529f\u80fd\u3002\u6267\u884cquotaon\u6307\u4ee4\u53ef\u5f00\u542f\u7528\u6237\u548c\u7fa4\u7ec4\u7684 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5522"}],"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=5522"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5522\/revisions"}],"predecessor-version":[{"id":5730,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5522\/revisions\/5730"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}