[Bug 692355] Re: fsck doesn't update system info on login

Curtis Bangert codecae at gmail.com
Sat Jun 9 21:55:02 UTC 2012


I had this issue with my logical filesystems after upgrading to 12.04 as
well...   fsck was mysteriously skipping filesystems at boot.

I fixed it by making sure each entry in /etc/fstab had the option
'errors=remount-ro', executed 'touch /forcefsck', and rebooted...  To my
delight, fsck ran and updated the mount count and last check dates.

Unfortunately, however, after logging in I still had the notification
that the filesystems would be checked at reboot.  I manually rm'd
/var/lib/update-notifier/fsck-at-reboot and logged out and back in
again.   The file was regenerated by the script, only this time, without
any notifications.

Given the nature of this oversight, I'm sure I would've likely
encountered it whether or not I had upgraded to 12.04...  likely a
coincidence.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/692355

Title:
  fsck doesn't update system info on login

Status in “update-notifier” package in Ubuntu:
  Triaged

Bug description:
  Every time I login to my Ubuntu 11.04 Alpha 1 (server), I see this
  message:

  *** /dev/sda5 will be checked for errors at next reboot ***

  I have done both the 'touch /forcefsck' (file is gone after reboot)
  and I have done 'shutdown -rF now' and yet the message is still
  displayed.  I checked my boot.log and fsck did run:

  fsck from util-linux-ng 2.17.2 
  fsck from util-linux-ng 2.17.2 
  /dev/mapper/sh*tbox1-root: clean, 103845/4669440 files, 1179707/18669568 blocks
  /dev/sda5: clean, 245/124496 files, 83515/248976 blocks

  Since fsck did run successfully, the '*** /dev/sda5 will be checked
  for errors at next reboot ***' message should not appear again unless
  the system has determined the filesystem is dirty. I seriously doubt
  that this not very old drive is having this many problems, especially
  since the OS runs 24/7 with no problems besides this.

  lsb_release -rd:
  Description:    Ubuntu natty (development branch)
  Release:        11.04

  uname -a output:
  Linux node1 2.6.37-10-server #24-Ubuntu SMP Thu Dec 16 18:10:40 UTC 2010 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/692355/+subscriptions




More information about the foundations-bugs mailing list