{"id":4263,"date":"2019-07-26T16:13:55","date_gmt":"2019-07-26T08:13:55","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4263"},"modified":"2019-07-26T23:43:58","modified_gmt":"2019-07-26T15:43:58","slug":"fsck-ext2","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/fsck-ext2","title":{"rendered":"fsck.ext2\u547d\u4ee4 – \u68c0\u67e5\u53ca\u4fee\u590dext2\u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"\n

\u5f53ext2\u6587\u4ef6\u7cfb\u7edf\u53d1\u751f\u9519\u8bef\u65f6\uff0c\u53ef\u7528fsck.ext2\u6307\u4ee4\u5c1d\u8bd5\u52a0\u4ee5\u4fee\u590d\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u81ea\u52a8\u4fee\u590d\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u8be2\u95ee\u4efb\u4f55\u95ee\u9898<\/td><\/tr>
-c<\/td>\u68c0\u67e5\u6307\u5b9a\u7684\u6587\u4ef6\u7cfb\u7edf\u5185\uff0c\u662f\u5426\u5b58\u5728\u6709\u635f\u574f\u7684\u533a\u5757<\/td><\/tr>
-d<\/td>\u8be6\u7ec6\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b\uff0c\u4fbf\u4e8e\u6392\u9519\u6216\u5206\u6790\u7a0b\u5e8f\u6267\u884c\u7684\u60c5\u5f62<\/td><\/tr>
-f<\/td>\u5f3a\u5236\u5bf9\u8be5\u6587\u4ef6\u7cfb\u7edf\u8fdb\u884c\u5b8c\u6574\u68c0\u67e5\uff0c\u7eb5\u7136\u8be5\u6587\u4ef6\u7cfb\u7edf\u5728\u6168\u7565\u68c0\u67e5\u4e0b\u6ca1\u6709\u95ee\u9898<\/td><\/tr>
-F<\/td>\u68c0\u67e5\u6587\u4ef6\u7cfb\u7edf\u4e4b\u524d\uff0c\u5148\u6e05\u7406\u8be5\u4fdd\u5b58\u8bbe\u5907\u5757\u533a\u5185\u7684\u6570\u636e<\/td><\/tr>
-v<\/td>\u8be6\u7ec6\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b<\/td><\/tr>
-V<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u81ea\u52a8\u4fee\u590d\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u8be2\u95ee\u4efb\u4f55\u95ee\u9898\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# fsck.ext2 -a \/dev\/sdd1<\/pre>\n\n\n\n

\u68c0\u67e5\u6307\u5b9a\u7684\u6587\u4ef6\u7cfb\u7edf\u5185\uff0c\u662f\u5426\u5b58\u5728\u6709\u635f\u574f\u7684\u533a\u5757\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# fsck.ext2 -c \/dev\/sdd1<\/pre>\n\n\n\n

\u8be6\u7ec6\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b\uff0c\u4fbf\u4e8e\u6392\u9519\u6216\u5206\u6790\u7a0b\u5e8f\u6267\u884c\u7684\u60c5\u5f62\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# fsck.ext2 -d \/dev\/sdd1<\/pre>\n\n\n\n

\u5f3a\u5236\u5bf9\u8be5\u6587\u4ef6\u7cfb\u7edf\u8fdb\u884c\u5b8c\u6574\u68c0\u67e5\uff0c\u7eb5\u7136\u8be5\u6587\u4ef6\u7cfb\u7edf\u5728\u6168\u7565\u68c0\u67e5\u4e0b\u6ca1\u6709\u95ee\u9898\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# fsck.ext2 -f \/dev\/sdd1<\/pre>\n\n\n\n

-F \u68c0\u67e5\u6587\u4ef6\u7cfb\u7edf\u4e4b\u524d\uff0c\u5148\u6e05\u7406\u8be5\u4fdd\u5b58\u8bbe\u5907\u5757\u533a\u5185\u7684\u6570\u636e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# fsck.ext2 -F \/dev\/sdd1<\/pre>\n\n\n\n

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

\u5f53ext2\u6587\u4ef6\u7cfb\u7edf\u53d1\u751f\u9519\u8bef\u65f6\uff0c\u53ef\u7528fsck.ext2\u6307\u4ee4\u5c1d\u8bd5\u52a0\u4ee5\u4fee\u590d\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1afsck.ext2 [\u53c2\u6570] […]<\/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\/4263"}],"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=4263"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4263\/revisions"}],"predecessor-version":[{"id":4294,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4263\/revisions\/4294"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}