Page 1 of 1

FSCK Disk Checking...

Posted: Thu Dec 06, 2007 5:14 pm
by oblivion02
Every once in a while, when I boot my box, it says that the root partition has been mounted 21 times, and has not been checked. That the check must be forced. It takes a long time to check the disk, then everything boots and works fine. Does this happen to everyone else? Is it necessary?

-Oblivion

Re: FSCK Disk Checking...

Posted: Thu Dec 06, 2007 5:16 pm
by 67GTA
It is normal. It self checks every few boots.

Re: FSCK Disk Checking...

Posted: Sun Feb 03, 2008 9:36 pm
by kenetics
A while back there was a post that told how to change the number of boots until a forced check. I can't find it though. does anyone know the answer?

Re: FSCK Disk Checking...

Posted: Mon Feb 04, 2008 1:52 am
by Fred
The default is 30 boots. Unless there is an over riding reason to change it, I wouldn't.

But if you must.

A value of "0" for the check interval disables the checks. Something like "sudo tune2fs -c 0 /dev/sdx" should disable checks based on mount counts; then it is a matter of "sudo tune2fs -i 1m /dev/sdx" to check /dev/sdx each month.

Fred

Re: FSCK Disk Checking...

Posted: Wed Feb 06, 2008 10:55 am
by kenetics
Thanks Fred. My default was something like 22 or 24, and since I turn on my Linux computer several times a day, it was getting annoying. Once a month is better for me.