From owner-freebsd-stable@FreeBSD.ORG Sun Jun 24 01:36:36 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82722106567A for ; Sun, 24 Jun 2012 01:36:36 +0000 (UTC) (envelope-from byshenknet@byshenk.net) Received: from portland1.byshenk.net (portland1.byshenk.net [69.168.54.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7568FC0A for ; Sun, 24 Jun 2012 01:36:36 +0000 (UTC) Received: from portland1.byshenk.net (localhost [127.0.0.1]) by portland1.byshenk.net (8.14.5/8.14.5) with ESMTP id q5O1aPO3088365; Sat, 23 Jun 2012 18:36:25 -0700 (PDT) (envelope-from byshenknet@portland1.byshenk.net) Received: (from byshenknet@localhost) by portland1.byshenk.net (8.14.5/8.14.5/Submit) id q5O1aOOV088364; Sat, 23 Jun 2012 18:36:24 -0700 (PDT) (envelope-from byshenknet) Date: Sat, 23 Jun 2012 18:36:24 -0700 From: Greg Byshenk To: "freebsd-stable@freebsd.org" Message-ID: <20120624013624.GG24842@portland1.byshenk.net> References: <1340401637.32116.YahooMailNeo@web113519.mail.gq1.yahoo.com> <3729A720-2C8F-4C84-B05A-201394C40D63@gothic.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3729A720-2C8F-4C84-B05A-201394C40D63@gothic.net.au> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on portland1.byshenk.net Cc: "Leonardo M. Ram?" Subject: Re: fsck_ufs running too often X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2012 01:36:36 -0000 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. -- greg byshenk - gbyshenk@byshenk.net - Leiden, NL - Portland, OR USA