Date: Fri, 12 May 2006 16:24:44 +0100 From: Daniel Bye <freebsd-questions@slightlystrange.org> To: freebsd-questions@freebsd.org Subject: Re: fsck way too slow Message-ID: <20060512152444.GA34035@catflap.slightlystrange.org> In-Reply-To: <20060512105823.0ff46f01.wmoran@collaborativefusion.com> References: <44649FA9.6080700@netfence.it> <20060512105823.0ff46f01.wmoran@collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <ml.diespammer@netfence.it> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060512152444.GA34035>