Red Hat Bugzilla – Bug 489640
Filesystem on encrypted PV not fscked?
Last modified: 2014-03-16 23:17:47 EDT
I'm concerned that my root filesystem isn't being fscked. Of course, it may be that it doesn't need to be fscked, but a good few things seem to have changed around F10 and I'm stuggling to work out what *ought* to be happening.
It's a laptop with an encrypted PV on which is an LV containing everything apart from /boot.
It's a laptop, so it gets rebooted frequently - I'm sure I've passed the maximal mount count, but I've not seen an fsck since upgrading to F10. I've also had to kill power due to bug #464866, and again, no fsck on reboot (does journal recovery always occur on mount, and is this sufficient for continued boot without fsck?)
Touching .autofsck doesn't seem to do anything (but neither is it cleared by anything), and shutdown -F seems to have disappeared.
(How should one force a fsck on F10, this doesn't seem to be documented?)
N.B. This is an upgrade to F10 with an existing encrypted root PV. It's possible some config has been mucked up somewhere - but even so, I'd hope initscripts would be more paranoid checking this type of thing...
Ok, so having worked out I needed to search around "upstart", I found I needed to touch /forcefsck rather than /.autofsck these days.
This forced a fsck on reboot, which relieves me of my major worry - that the FS might never be checked, even if it needed it.
(I'll put the gnome panel weirdness after an unclean reboot down to general fragility, rather than FS errors, which I can cope with less nervously ;) )