1FSCK.BTRFS(8)                        BTRFS                       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 en‐
14       tries 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 consis‐
23       tency is checked, the repair mode is enabled via  the  --repair  option
24       (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 codes returned:
33
34       0      No error
35
36       8      Operational error, e.g. device does not exist
37

FILES

39       /etc/fstab
40

SEE ALSO

42       btrfs(8), fsck(8), fstab(5)
43
44
45
46
476.1.3                            Jan 25, 2023                    FSCK.BTRFS(8)
Impressum