[Bug 1608880] Re: systemd doesnt work with timed fsck, only with counted mount fsck
Nils Kassube
kassube at gmx.net
Wed Oct 19 10:10:34 UTC 2016
I can confirm this bug. However /forcefsck seems not to be supported
because it isn't mentioned in the man page.
When I log in to one of the 16.04 systems, I get this info:
*** /dev/sda5 will be checked for errors at next reboot ***
But the command "dmesg|grep -i e2fsck" gives this output:
[ 14.999711] EXT4-fs (sda5): warning: checktime reached, running e2fsck is recommended
So the interpretation of the check interval seems to be a recommended
value only during boot.
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1608880
Title:
systemd doesnt work with timed fsck, only with counted mount fsck
Status in systemd package in Ubuntu:
Confirmed
Bug description:
Updated my homserver from 14.04 to 16.04. Got a "/dev/sda1 will be
fscked on next reboot" hint in the MOTD. Did some reboots and the fsck
never happend. Tried with "sudo touch /forcefsck" but the message
didnt go away. Thought it was an error of the MOTD scripts and tried
to fiddle with them. But it reappeard ever time.
Looked at the syslogs logs and saw the fsck never happend.
Looked at the output from dumpe2fs and it showed several interesting informations:
* the mount count was 12 and the maximum mountcount of 34 was not reached
* the timed fsck date was reached
* the last fsck was long ago (next confirmation the /forcefsck didnt work at all)
i changed the mount count to 35 with "sudo tune2fs -C 35 /dev/sda1"
which made the fsck on next reboot.
So what works:
* mount count fsck on reboot
what doesnt work:
* setting /forcefsck manually
* timed fsck
what should work?
* all 3 of them should work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1608880/+subscriptions
More information about the foundations-bugs
mailing list