Fsck on boot on x86_64 with ext4


I am using OpenWrt on a PC Engines apu4d4 (x86_64) with ext4.
After unclean shutdowns, the ext4 root filesystem can not be mounted rw anymore until a fsck is run on it.

Is there a way in OpenWrt to force a filesystem check on every boot? I have already tried with the "check_fs" flag in /etc/config/fstab but without success.


Did you see this topic?

1 Like

Install the "tune2fs" package, and try to set the "-c" parameter to 1.

1 Like

Both solutions do not work, fsck is not run at boot