1FSCK.BTRFS(8)                    Btrfs Manual                    FSCK.BTRFS(8)
2
3
4

NAME

6       fsck.btrfs - do nothing, successfully
7

SYNOPSIS

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

DESCRIPTION

12       fsck.btrfs is a type of utility that should exist for any filesystem
13       and is called during system setup when the corresponding /etc/fstab
14       entries contain non-zero value for fs_passno, see fstab(5) for more.
15
16       Traditional filesystems need to run their respective fsck utility in
17       case the filesystem was not unmounted cleanly and the log needs to be
18       replayed before mount. This is not needed for BTRFS. You should set
19       fs_passno to 0.
20
21       If you wish to check the consistency of a BTRFS filesystem or repair a
22       damaged filesystem, see btrfs-check(8). By default filesystem
23       consistency is checked, the repair mode is enabled via the --repair
24       option (use with care!).
25

OPTIONS

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

EXIT STATUS

32       There are two possible exit code returned:
33
34       0
35           No error
36
37       8
38           Operational error, eg. device does not exist
39

FILES

41       /etc/fstab
42

SEE ALSO

44       btrfs(8), fsck(8), fstab(5),
45
46
47
48Btrfs v5.4                        12/03/2019                     FSCK.BTRFS(8)
Impressum