{"id":2688,"date":"2022-12-20T15:17:02","date_gmt":"2022-12-20T18:17:02","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/fsck-btrfs-man8\/"},"modified":"2022-12-20T15:17:02","modified_gmt":"2022-12-20T18:17:02","slug":"fsck-btrfs-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/fsck-btrfs-man8\/","title":{"rendered":"FSCK.BTRFS (man8)"},"content":{"rendered":"<h1 align=\"center\">FSCK.BTRFS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">fsck.btrfs \u2212 do nothing, successfully<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>fsck.btrfs<\/b> [\u2212aApy] [<i><device><\/i>&#8230;]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>fsck.btrfs<\/b> is a type of utility that should exist for any filesystem and is called during system setup when the corresponding <b>\/etc\/fstab<\/b> entries contain non\u2212zero value for <b>fs_passno<\/b>, see <b>fstab<\/b>(5) for more.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Traditional filesystems need to run their respective fsck utility in case the filesystem was not unmounted cleanly and the log needs to be replayed before mount. This is not needed for BTRFS. You should set fs_passno to 0.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If you wish to check the consistency of a BTRFS filesystem or repair a damaged filesystem, see <b>btrfs\u2212check<\/b>(8). By default filesystem consistency is checked, the repair mode is enabled via the <i>\u2212\u2212repair<\/i> option (use with care!).<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The options are all the same and detect if <b>fsck.btrfs<\/b> is executed in non\u2212interactive mode and exits with success, otherwise prints a message about btrfs check.<\/p>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">There are two possible exit codes returned:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">0<\/p>\n<p style=\"margin-left:17%;\">No error<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">8<\/p>\n<p style=\"margin-left:17%;\">Operational error, eg. device does not exist<\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\/etc\/fstab<\/b><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>btrfs<\/b>(8), <b>fsck<\/b>(8), <b>fstab<\/b>(5)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  fsck.btrfs \u2212 do nothing, successfully <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,31,4],"class_list":["post-2688","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-fsck","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2688"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2688\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}