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.
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?
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...
Re: fsck runs even when shutdown cleanly
Do You, by any chance have file forcefsck in Your /...?
If You do, just erase it...
Re: fsck runs even when shutdown cleanly
Quote:
Originally Posted by
zika
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...
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)...
Re: fsck runs even when shutdown cleanly
Quote:
Originally Posted by
zika
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.
Re: fsck runs even when shutdown cleanly
Quote:
Originally Posted by
santosh83
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...
Re: fsck runs even when shutdown cleanly
Did you check "/var/log/fsck" logs. Mine says
Code:
(Nothing has been logged yet.)
Re: fsck runs even when shutdown cleanly
Hi,
Please try to download and install the latest daily build and report back, thank you!