FSCK.BTRFS(8)                   Btrfs Manual                   FSCK.BTRFS(8)

NAME         top

       fsck.btrfs - do nothing, successfully

SYNOPSIS         top

       fsck.btrfs [-aApy] [<device>...]

DESCRIPTION         top

       fsck.btrfs is a type of utility that should exist for any filesystem
       and is called during system setup when the corresponding /etc/fstab
       entries contain non-zero value for fs_passno , see fstab(5) for more.

       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.

       If you wish to check the consistency of a BTRFS filesystem or repair
       a damaged filesystem, see btrfs-check(8). By default the filesystem
       consistency is checked, the repair mode is enabled via --repair
       option (use with care!).

OPTIONS         top

       The options are all the same and detect if fsck.btrfs is executed in
       non-interactive mode and exits with success, otherwise prints a
       message about btrfs check.

EXIT STATUS         top

       There are two possible exit code returned:

           No error

           Operational error, eg. device does not exist

FILES         top


SEE ALSO         top

       btrfs(8), fsck(8), fstab(5),

COLOPHON         top

       This page is part of the btrfs-progs (btrfs filesystem tools)
       project.  Information about the project can be found at 
       If you have a bug report for this manual page, see 
       This page was obtained from the project's upstream Git repository 
       on 2017-03-13.  If you discover any rendering problems in this HTML
       version of the page, or you believe there is a better or more up-to-
       date source for the page, or you have corrections or improvements to
       the information in this COLOPHON (which is not part of the original
       manual page), send a mail to

Btrfs v4.6.1                     07/16/2016                    FSCK.BTRFS(8)