Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: fsck runs even when shutdown cleanly

  1. #1
    Join Date
    Nov 2010
    Location
    Madras, India
    Beans
    201

    Question fsck runs even when shutdown cleanly

    Hi all,

    I've noticed by turning of the plymouth splash screen that fsck runs (with the usual "INFO: recovery required on...") on my / filesystem even though the system shuts down cleanly without any apparent problems. This is lubuntu 13.10 beta1 here. Are there any specific log files I can inspect to find out if in fact the shutdown was clean or not? Thanks.

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: fsck runs even when shutdown cleanly

    Could it be related to the problem in this thread:

    http://ubuntuforums.org/showthread.php?t=2175010

    because if you are getting random lockups, how are you shutting the system down cleanly?

  3. #3
    Join Date
    Nov 2010
    Location
    Madras, India
    Beans
    201

    Re: fsck runs even when shutdown cleanly

    Of course I do expect fsck to run those times I hit the reset button!

    But there are times when it doesn't lockup till I shut down, and the messages printed to the console till the final moment seem normal to me, yet when I boot again it runs the filesystem check. I'll investigate the issue a little more and report back thanks.

    In any case because the shutdown seemingly did happen normally till final stages fsck doesn't find orphan inodes and such, as it does when I boot after a real lockup. Seems to be a minor bug...

  4. #4
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: fsck runs even when shutdown cleanly

    Do You, by any chance have file forcefsck in Your /...?
    If You do, just erase it...

  5. #5
    Join Date
    Nov 2010
    Location
    Madras, India
    Beans
    201

    Re: fsck runs even when shutdown cleanly

    Quote Originally Posted by zika View Post
    Do You, by any chance have file forcefsck in Your /...?
    If You do, just erase it...
    Nope I just checked.

    What's more just now I'd restarted cleanly after installing the latest updates, and there were no error or warning messages I could see, yet "INFO: recovery required..." on boot up!

    I hope this is resolved by the time we come to final release.

    Is there any log for the shutdown process, which I could inspect to see if the filesystems were cleanly unmounted or not? The messages flash by too quickly on the console...

  6. #6
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: fsck runs even when shutdown cleanly

    Code:
    sudo tune2fs -l /dev/???|grep Check
    Just to see what is set...
    ???=Your HDD
    I think that this bug struck me also, eventhough I have this value set to 0(=none)...

  7. #7
    Join Date
    Nov 2010
    Location
    Madras, India
    Beans
    201

    Re: fsck runs even when shutdown cleanly

    Quote Originally Posted by zika View Post
    Code:
    sudo tune2fs -l /dev/???|grep Check
    Just to see what is set...
    ???=Your HDD
    I think that this bug struck me also, eventhough I have this value set to 0(=none)...
    Doing for my / partition:
    sudo tune2fs -l /dev/sda3|grep Check

    gives:
    Check interval: 0 (<none>)

    For comparison doing this on my 10.10 partition (sda1) gives:
    Check interval: 15552000 (6 months)

    Doing for the whole HDD:
    sudo tune2fs -l /dev/sda|grep Check

    gives:

    tune2fs: Bad magic number in super-block while trying to open /dev/sda
    Couldn't find valid filesystem superblock.

  8. #8
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: fsck runs even when shutdown cleanly

    Quote Originally Posted by santosh83 View Post
    Doing for my / partition:
    sudo tune2fs -l /dev/sda3|grep Check

    gives:
    Check interval: 0 (<none>)

    For comparison doing this on my 10.10 partition (sda1) gives:
    Check interval: 15552000 (6 months)

    Doing for the whole HDD:
    sudo tune2fs -l /dev/sda|grep Check

    gives:

    tune2fs: Bad magic number in super-block while trying to open /dev/sda
    Couldn't find valid filesystem superblock.
    Yeap, the same thing...
    It is bug somewhere else, I'll try to find, if I find time...

  9. #9
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: fsck runs even when shutdown cleanly

    Did you check "/var/log/fsck" logs. Mine says
    Code:
    (Nothing has been logged yet.)

  10. #10
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: fsck runs even when shutdown cleanly

    Hi,

    Please try to download and install the latest daily build and report back, thank you!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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