{"id":3303,"date":"2019-06-25T22:42:44","date_gmt":"2019-06-25T14:42:44","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3303"},"modified":"2019-06-25T22:42:45","modified_gmt":"2019-06-25T14:42:45","slug":"quotacheck","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/quotacheck","title":{"rendered":"quotacheck\u547d\u4ee4 – \u626b\u63cf\u83b7\u53d6\u78c1\u76d8\u4fe1\u606f"},"content":{"rendered":"\n

quotacheck\u547d\u4ee4\u901a\u8fc7\u626b\u63cf\u6307\u5b9a\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u83b7\u53d6\u78c1\u76d8\u7684\u4f7f\u7528\u60c5\u51b5\uff0c\u521b\u5efa\u3001\u68c0\u67e5\u548c\u4fee\u590d\u78c1\u76d8\u914d\u989d\uff08quota\uff09\u6587\u4ef6\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f: <\/strong> quotacheck [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a\ufeff<\/strong><\/p>\n\n\n\n
-a<\/td>\u626b\u63cf\u5728\/etc\/fstab\u6587\u4ef6\u91cc\uff0c\u6709\u52a0\u5165quota\u8bbe\u7f6e\u7684\u5206\u533a <\/td><\/tr>
-d<\/td>\u8be6\u7ec6\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b\uff0c\u4fbf\u4e8e\u6392\u9519\u6216\u4e86\u89e3\u7a0b\u5e8f\u6267\u884c\u7684\u60c5\u5f62 <\/td><\/tr>
-g<\/td>\u626b\u63cf\u78c1\u76d8\u7a7a\u95f4\u65f6\uff0c\u8ba1\u7b97\u6bcf\u4e2a\u7fa4\u7ec4\u8bc6\u522b\u7801\u6240\u5360\u7528\u7684\u76ee\u5f55\u548c\u6587\u4ef6\u6570\u76ee <\/td><\/tr>
-R<\/td>\u6392\u9664\u6839\u76ee\u5f55\u6240\u5728\u7684\u5206\u533a <\/td><\/tr>
-u<\/td>\u626b\u63cf\u78c1\u76d8\u7a7a\u95f4\u65f6\uff0c\u8ba1\u7b97\u6bcf\u4e2a\u7528\u6237\u8bc6\u522b\u7801\u6240\u5360\u7528\u7684\u76ee\u5f55\u548c\u6587\u4ef6\u6570\u76ee <\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u5c06\u6240\u6709\u7684\u5728\/etc\/mtab\u5185\uff0c\u542b\u6709quota\u652f\u6301\u7684partition\u8fdb\u884c\u626b\u63cf\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# quotacheck -avug<\/pre>\n\n\n\n

\u5f3a\u5236\u626b\u63cf\u5df2\u6302\u8f7d\u7684filesystem\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# quotacheck -avug -m<\/pre>\n\n\n\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

quotacheck\u547d\u4ee4\u901a\u8fc7\u626b\u63cf\u6307\u5b9a\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u83b7\u53d6\u78c1\u76d8\u7684\u4f7f\u7528\u60c5\u51b5\uff0c\u521b\u5efa\u3001\u68c0\u67e5\u548c\u4fee\u590d\u78c1\u76d8\u914d\u989d\uff08quota\uff09\u6587\u4ef6 […]<\/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\/3303"}],"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=3303"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3303\/revisions"}],"predecessor-version":[{"id":3573,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3303\/revisions\/3573"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}