/ and /usr not fscked during boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I had the following message on Ubuntu 15.10
*** /dev/sda10 will be checked for errors at next reboot ***
*** /dev/sda1 will be checked for errors at next reboot ***
This was displayed even after rboot.
I pgrade to 16.04 and still the same problem.
I took a look at the /usr/lib/
Mount count 28
Maximum mount count 30
Check interval 15552000
Next check after Tue Jan 12 23:11:26 2016
The message was not displayed anymore after 2 reboot, in order to reach Mount count to 30, and greater or equals to Maximum mount count.
It seems that the file check was not until the Mount count >= Maximum mount count
More over, on the platform, I have two partitions with following "name" :
/dev/sda1
/dev/sda10
When the first one is verified by the script, the command "mount | grep "^$part" | cut -d ' ' -f 3" does not give te right result.
mount | grep "^/dev/sda10" | cut -d ' ' -f 3 give result :
/
But
mount | grep "^/dev/sda1" | cut -d ' ' -f 3
/
/usr
May be not a big deal, because, the mount point is only used to find value in the file /etc/fstab, in order to specialize the message, but many be there is an error anywhere else.
Regards
Etienne
You received this message not because the maximum mount count was reached, but because the 'Next check after' date was in the past.
Next check after Tue Jan 12 23:11:26 2016
So this is not a problem with the output of update- motd-fsck- at-reboot, at all; rather, it is a bug in your boot that is *not* checking the filesystem, given the filesystem's settings. Reassigning to systemd.