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       If a file system check fails for a service without nofail, emergency
37       mode is activated, by isolating to emergency.target.
38

KERNEL COMMAND LINE

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

SEE ALSO

56       systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8),
57       fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8),
58       fsck.minix(8), fsck.ntfs(8), fsck.xfs(8)
59
60
61
62systemd 246                                           SYSTEMD-FSCK@.SERVICE(8)
Impressum