[Bug 1608880] Re: systemd doesnt work with timed fsck, only with counted mount fsck
Dan Streetman
1608880 at bugs.launchpad.net
Wed Jun 30 19:50:01 UTC 2021
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: Confirmed => Won't Fix
--
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:
Won't Fix
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