{"id":342,"date":"2017-12-21T00:34:44","date_gmt":"2017-12-21T00:34:44","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=342"},"modified":"2017-12-21T02:57:08","modified_gmt":"2017-12-21T02:57:08","slug":"check-file-system-for-errors-with-status-progress-bar","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/check-file-system-for-errors-with-status-progress-bar.html","title":{"rendered":"Check File System for Errors with Status\/Progress Bar"},"content":{"rendered":"<p>File system check can be tedious sometimes. User may want to check the progress of the fsck, which is not enabled by default. To do that, add -C (capital C) with the fsck command.<\/p>\n<blockquote><p>fsck -C \/dev\/sda1<\/p><\/blockquote>\n<p>The original argument is:<\/p>\n<blockquote><p>fsck -C0 \/dev\/sda1<\/p><\/blockquote>\n<p>Although, it would work without number if you put the -C in front of other arguments, like -f (forcing the file system check) -y (yes to auto repair). A usable fsck command could be the following:<\/p>\n<blockquote><p>fsck -fy -C0 \/dev\/sda1<\/p><\/blockquote>\n<p>or<\/p>\n<blockquote><p>fsck -C -fy \/dev\/sda1<\/p><\/blockquote>\n<p>Please note, -c (small C) would result a read only test. This test will try to read all the blocks in the disk and see if it is able to read them or not. It is done through a program called &#8216;badblock&#8217;. If you are running badblock test on a large system, be ready to spend a large amount of time for that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>File system check can be tedious sometimes. User may want to check the progress of the fsck, which is not enabled by default. To do that, add -C (capital C) with the fsck command. fsck -C \/dev\/sda1 The original argument is: fsck -C0 \/dev\/sda1 Although, it would work without number if you put the -C &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/check-file-system-for-errors-with-status-progress-bar.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Check File System for Errors with Status\/Progress Bar&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[144,12,17,20,21],"tags":[148,147,146,145,149],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/342"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=342"}],"version-history":[{"count":2,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":344,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/342\/revisions\/344"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}