From owner-freebsd-questions@FreeBSD.ORG Fri May 12 15:24:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A326C16A720 for ; Fri, 12 May 2006 15:24:48 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc6-cmbg1-0-0-cust82.cmbg.cable.ntl.com [82.10.236.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AE9A43D49 for ; Fri, 12 May 2006 15:24:47 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.62 #0) id 1FeZVU-000AeM-Rm by authid for ; Fri, 12 May 2006 16:24:44 +0100 Date: Fri, 12 May 2006 16:24:44 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20060512152444.GA34035@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <44649FA9.6080700@netfence.it> <20060512105823.0ff46f01.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20060512105823.0ff46f01.wmoran@collaborativefusion.com> User-Agent: Mutt/1.4.2.1i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: danielby@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: fsck way too slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 15:24:53 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 12, 2006 at 10:58:23AM -0400, Bill Moran wrote: > Andrea Venturoli wrote: >=20 > > Hello. > > I've got a i386/6.1 box with only one big root partition. > > The problem is that, whenever the machine is not properly shutdown, fsc= k=20 > > on boot takes eons. > >=20 > > First of all: I believe that fsck should run in background, but it=20 > > doesn't. How can I tell why? >=20 > >From my desktop: > mount > /dev/ad0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad0s1d on /tmp (ufs, local, soft-updates) > /dev/ad0s1f on /usr (ufs, local, soft-updates) > /dev/ad0s1e on /var (ufs, local, soft-updates) >=20 > Note that / does not have soft-updates, which I believe is the default. > AFAIR, fsck can not do background mode unless soft-updates is enabled. >=20 > That's likely your problem. fsck(8) suggests that any file system required during the boot process is not a valid candidate for background checking. Naturally, there is no file system more important to the boot process than / so it cannot be checked in the background. I'm not sure if softupdates has any bearing on background fscking, but IANAE, and all that. So, as jerry said, it's a Bad Idea to have just one partition, for many reasons, this being among them. Dan --=20 Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZKi8ixf5fBYiFmoRAtY1AJ95et3AeLYWHoY8fG7myK2BQZdbZQCeIo2j XutlNS5jFIRM3Heh4pxbMRs= =pQIE -----END PGP SIGNATURE----- --DocE+STaALJfprDB--