fsck each time booting the system in Fedora 21
Chris Murphy
lists at colorremedies.com
Sat Jan 17 23:23:24 UTC 2015
On Sat, Jan 17, 2015 at 3:06 AM, Kevin Wilson <wkevils at gmail.com> wrote:
> Chris,
> Thanks for your quick resonse!
>
> I do have /work in my /etc/fstab:
> /dev/sda3 /work ext3
> defaults 1 1
Consider 2 for the last column, since it's not the root filesystem. I
don't know if it really matters, because systemd runs fsck.<foo> on
the unmounted root no matter what. But in your case a 2 might cause
fsck to run later than it is now.
An additional option, which I use for /boot/efi, is mount option
'x-systemd.automount,noauto' which makes it only mount when accessed,
and does an fsck right before mounting. It's normally quite fast. And
this way, if there are problems, it won't hang boot.
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1077984
--
Chris Murphy
More information about the users
mailing list