[systemd-devel] perform fsck on everyt boot
Lennart Poettering
lennart at poettering.net
Mon Nov 11 15:47:24 UTC 2019
On Mo, 11.11.19 13:33, Belisko Marek (marek.belisko at gmail.com) wrote:
65;5802;1c
> Hi,
>
> I'm using systemd 234 (build by yocto) and I've setup automount of
> sdcard in fstab. This works perfectly fine. But I have seen from time
> to time when system goes to emergency mode because sdcard filesystem
> (ext4) have an issue and cannot be mounted. I was thinking about
> forcing fsck for every boot. Reading manual it should be enough to set
> passno (6th column in fstab) to anything higher then 0. I set ti to 2
> but inspecting logs it doesn't seems fsck is performed. Am I still
> missing something? Thanks.
Well, note that ext4's fsck only does an actual file system check
every now and then. Hence: how did you determine fsck wasn't started?
Do you see the relevant fsck in "systemctl -t service | grep
systemd-fsck@"?
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list