From owner-freebsd-stable@FreeBSD.ORG Sun Jun 24 02:55:02 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 A04A2106566B for ; Sun, 24 Jun 2012 02:55:02 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 426D28FC08 for ; Sun, 24 Jun 2012 02:55:02 +0000 (UTC) Received: by obbun3 with SMTP id un3so5514461obb.13 for ; Sat, 23 Jun 2012 19:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=Q8iKNYtcSFAenlUOKS69NnQ185WaCrfg3+hkO8yIyG8=; b=hFs6iRdjw1o9lg1+T/7ymO/AMam6LATaPhBaTenpebrIaYCM6/pbtTwwZsfbgV+wAn l9a0UREwnsZDjWpe8U4YO51iYfGLB605Vt1pD14+Q/ggBrTMh2/+dAfcBvRgLL2JNAKv 5OmLfnMbhc32yL56SOPE0u5Db5gU78aBuEd2Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-gm-message-state; bh=Q8iKNYtcSFAenlUOKS69NnQ185WaCrfg3+hkO8yIyG8=; b=A+a2GtAFF71I6V2D2vNpEHEvBBMVkBgCyPkGRMfPkCn+9sIkylwgF5LpgXWKWIbZhu dBOBOdz6XLnbltV38YC5+VKWHF9WNe+zPlZyxe2DocRZawQg4XjYDBPVgA5c+kOvIlrr ZtIis9nyNUJ827pnBNipAjXrrvPuYqs0WCWVArAuL1yC4eA3WzU5uE45b3XHQrQQUNuT agUHlAbON4A4IRxvjCm7HvY2HEgiKGjFnW7jlJjP/uS7dF5dvqachTZJdAPPZ0tIzNDF HMFnHzFEQzZcPkfAA3OqnKriyzt1Bu8UgGO114pArDCq+ay/WuUvl+3epr5tKNe9sMXs EFFA== Received: by 10.50.212.66 with SMTP id ni2mr5059851igc.66.1340506496470; Sat, 23 Jun 2012 19:54:56 -0700 (PDT) Received: from DataIX.net (75-128-120-86.dhcp.aldl.mi.charter.com. [75.128.120.86]) by mx.google.com with ESMTPS id va9sm2961686igb.17.2012.06.23.19.54.53 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Jun 2012 19:54:54 -0700 (PDT) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q5O2sp29017976 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Jun 2012 22:54:52 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Received: (from jh@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q5O2sp5E017975; Sat, 23 Jun 2012 22:54:51 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Date: Sat, 23 Jun 2012 22:54:51 -0400 From: Jason Hellenthal To: Greg Byshenk Message-ID: <20120624025451.GA17721@DataIX.net> References: <1340401637.32116.YahooMailNeo@web113519.mail.gq1.yahoo.com> <3729A720-2C8F-4C84-B05A-201394C40D63@gothic.net.au> <20120624013624.GG24842@portland1.byshenk.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <20120624013624.GG24842@portland1.byshenk.net> X-Gm-Message-State: ALoCoQlPoHJmuycNfi2DWiig/AWnkiNVVbK4i+PzihvZgVH8QqeIMZWPNNdvbjqNx75/27tMua1j Cc: "Leonardo M. Ram?" , "freebsd-stable@freebsd.org" 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 02:55:02 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > =20 > > > 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. > > >=20 > > > 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. > =20 > > Background fsck. Your server crashed, rebooted, started up and fsck > > is running in the background while everything else continues. > >=20 > > [...] > >=20 > > The more important thing is to find out why it crashed - if there > > was a power outage, hardware or software issue. >=20 > 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. >=20 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=3D"YES" background_fsck=3D"NO" --=20 - (2^(N-1)) --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJP5oF5AAoJEBSh2Dr1DU7WU58H/Aq8DEfJ45W+GOCZeJFO7RKb BMv1z5Rv8Vk0PmwMuqmiJkXmxdlWL7Loe9g1ZJiykdY7mRmkEgq1U6bYyFo4NXus 2S5cX3YDpJhRdOwjECeG1H5bLwcg7cI9RwmhwUSgbyGK21XYcE2Ff/lhA7obf8An Q5BbydFbNvbnQADZklxluhcvuHoT9VUFmChmQipfqjT89sEVWBF0uzTJI/MDoxQF Ch3946d8hfxR4JF6X1GtqW5gbTGiElX/DJHk+igjZxZPbZO3hADPzOOfKiQkS7oT BRSdOHsAoybmgXO7EC+xvZdN0pZ+HB1RYHTV0Xga1bCdHY0RJzdW5NNHnv+w/4Y= =TEX3 -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--