fsck_ufs running too often

Jason Hellenthal jhellenthal at dataix.net
Sun Jun 24 02:55:02 UTC 2012



On Sat, Jun 23, 2012 at 06:36:24PM -0700, Greg Byshenk wrote:
> On Sat, Jun 23, 2012 at 06:23:58PM +1000, Sean wrote:
> > On 23/06/2012, at 7:47 AM, Leonardo M. Ram? wrote:
>  
> > > Hi, since a few of days ago, I noticed my home server turns very
> > > slow more than once a day, so every time I run "top" to see what's
> > > processes are running, I can see fsck_ufs at the very top, and the
> > > hard drive working like mad.
> > > 
> > > I've checked my crontab and there's nothing related to fsck_ufs,
> > > where can I start searching for the cause of the problem?, I
> > > thought this process should run only at boot or shutdown, but this
> > > time it is running -apparently- without a cause.
>  
> > Background fsck. Your server crashed, rebooted, started up and fsck
> > is running in the background while everything else continues.
> > 
> > [...]
> > 
> > The more important thing is to find out why it crashed - if there
> > was a power outage, hardware or software issue.
> 
> Another thing to do is look in the logs to see if background fsck
> is failing for some reason. I've seen it happen in some cases that
> background fsck fails and asks for a manual run, in which case the
> filesystem remains dirty, and further reboots will continue to fail
> until a manual fsck is run.
> 

At one point it was proven that background fsck was not benefitial. I am
not sure what ever came out of that but it was advised to turn it off.

I usually go with these to aid in something useful for things I do not
really care about. You might consider to/not use fsck_y_enable but they
help.

fsck_y_enable="YES"
background_fsck="NO"

-- 

 - (2^(N-1))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120624/7fda27cb/attachment.pgp


More information about the freebsd-stable mailing list