Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 12:09:34 -0500 (EST)
From:      Ensel Sharon <user@dhp.com>
To:        Eric Anderson <anderson@centtech.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: please help - explanation for odd fsck times/behavior needed
Message-ID:  <Pine.LNX.4.21.0603141206140.8684-100000@shell.dhp.com>
In-Reply-To: <4416F7A7.90800@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 14 Mar 2006, Eric Anderson wrote:

> Dag-Erling Sm=F8rgrav wrote:
> > Eric Anderson <anderson@centtech.com> writes:
> >  =20
> >> Ok, thanks for the insight.  Someone with a commit wand should wave
> >> it over fsck(8):
> >>    =20
> >
> > No, the man page is correct.  There's just no point in using more than
> > two passes unless you have so little memory that fsck starts swapping.
> > You'll notice that sysinstall puts everything except / in pass 2 in
> > the fstab it generates when you install.
> >  =20
>=20
> Or you have such large partitions, that you need the entire amount of=20
> memory to fsck a single filesystem at all.=20


Funny you should mention it, because you don't even need a large partition
to do that ... my 400 gigabyte partition (sorry folks, 400 GB is _not_
large) requires this:

add the line:  kern.maxdsiz=3D"1024000000"  to /boot/loader.conf

So anyway, not only are passes > 2 possibly useful, you don't even need a
big partition to have them be possibly useful ...






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0603141206140.8684-100000>