1SYSTEMD-FSCK@.SERVICE(8)     systemd-fsck@.service    SYSTEMD-FSCK@.SERVICE(8)
2
3
4

NAME

6       systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File
7       system checker logic
8

SYNOPSIS

10       systemd-fsck@.service
11
12       systemd-fsck-root.service
13
14       /usr/lib/systemd/systemd-fsck
15

DESCRIPTION

17       systemd-fsck@.service and systemd-fsck-root.service are services
18       responsible for file system checks. They are instantiated for each
19       device that is configured for file system checking.
20       systemd-fsck-root.service is responsible for file system checks on the
21       root file system, but only if the root filesystem was not checked in
22       the initramfs.  systemd-fsck@.service is used for all other file
23       systems and for the root file system in the initramfs.
24
25       These services are started at boot if passno in /etc/fstab for the file
26       system is set to a value greater than zero. The file system check for
27       root is performed before the other file systems. Other file systems may
28       be checked in parallel, except when they are on the same rotating disk.
29
30       systemd-fsck does not know any details about specific filesystems, and
31       simply executes file system checkers specific to each filesystem type
32       (/sbin/fsck.type). These checkers will decide if the filesystem should
33       actually be checked based on the time since last check, number of
34       mounts, unclean unmount, etc.
35
36       systemd-fsck-root.service will activate reboot.target if /sbin/fsck
37       returns the "System should reboot" condition, or emergency.target if
38       /sbin/fsck returns the "Filesystem errors left uncorrected" condition.
39
40       systemd-fsck@.service will fail if /sbin/fsck returns with either
41       "System should reboot" or "Filesystem errors left uncorrected"
42       conditions. For filesystems listed in /etc/fstab without "nofail" or
43       "noauto" options, "local-fs.target" will then activate
44       emergency.target.
45

KERNEL COMMAND LINE

47       systemd-fsck understands these kernel command line parameters:
48
49       fsck.mode=
50           One of "auto", "force", "skip". Controls the mode of operation. The
51           default is "auto", and ensures that file system checks are done
52           when the file system checker deems them necessary.  "force"
53           unconditionally results in full file system checks.  "skip" skips
54           any file system checks.
55
56       fsck.repair=
57           One of "preen", "yes", "no". Controls the mode of operation. The
58           default is "preen", and will automatically repair problems that can
59           be safely fixed.  "yes" will answer yes to all questions by fsck
60           and "no" will answer no to all questions.
61

SEE ALSO

63       systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8),
64       fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8),
65       fsck.minix(8), fsck.ntfs(8), fsck.xfs(8)
66
67
68
69systemd 251                                           SYSTEMD-FSCK@.SERVICE(8)
Impressum