fsck.btrfs(8) — Linux manual page


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
       filesystem consistency is checked, the repair mode is enabled via
       the --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 codes 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 2023-12-22.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-12-14.)  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 man-pages@man7.org

Btrfs v5.16.1                  02/06/2022                  FSCK.BTRFS(8)

Pages that refer to this page: systemd-fsck@.service(8)