Results 1 to 5 of 5

Thread: Ubuntu Server not logging boot fsck?

  1. #1
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,459
    Thanks
    1,539
    Thanked
    1,022 times in 868 posts

    Ubuntu Server not logging boot fsck?

    As title, it seems Ubuntu is no longer logging fsck output in /var/log/fsck, does anyone know if it's logged elsewhere now?

    Seems I'm not the only one, but it doesn't seem to be getting much attention for what I consider a fairly important problem: http://askubuntu.com/questions/11290...fter-forcefsck

  2. #2
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Ubuntu Server not logging boot fsck?

    Is it being logged in /var/log/messages?

    Did it stop after a system update? Try looking at the relevant logging configuration files. (maybe in /etc/syslog or /etc/syslog.d or something similar. I'm not familiar with the precise naming convention or location of debian/ubuntu distros)
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  3. Received thanks from:

    watercooled (26-12-2012)

  4. #3
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,459
    Thanks
    1,539
    Thanked
    1,022 times in 868 posts

    Re: Ubuntu Server not logging boot fsck?

    Just had a look, messages doesn't exist but I believe everything that used to be logged there is now in syslog, which is obviously huge, but I can't find fsck mentioned in it.

    It's been like that since I installed Ubuntu, I believe it's just the way it is now.

    I just used grep to find 'fsck' in /var/log and found it in /var/log/boot.log which does contain the fsck log from the last boot.

  5. #4
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Ubuntu Server not logging boot fsck?

    Hmm, you should be able to edit the syslog configuration files so that individual apps log to separate files.

    Fsck msy not be run at every boot. On ext3 (for example) it will run a boot if there are inconsistencies in the file system's journal (typically caused by improper shutdown) or after a set number of mount operations on a file system or elapsed time since the last check
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  6. #5
    Senior Member watercooled's Avatar
    Join Date
    Jan 2009
    Posts
    11,459
    Thanks
    1,539
    Thanked
    1,022 times in 868 posts

    Re: Ubuntu Server not logging boot fsck?

    Yeah if the filesystem is marked clean I don't think it actually runs but it still prints a log.

    I wanted to find out a few boots ago when I accidentally hit reset instead of the power button, they're both the same size/shape and I was doing it by feel. It corrupted a few open files and I wanted to see the fsck output, but AFAIK there's no historic log, not that I can find in /var/log anyway...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •