Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2001 18:11:40 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Dennis Reiter <denny@reiters.org>
Cc:        Donn Miller <hackr_d@yahoo.com>, stable@FreeBSD.ORG
Subject:   Re: Improvements for FreeBSD v4.3.1-Release?
Message-ID:  <200106100111.f5A1Be010403@earth.backplane.com>
References:  <3B21D639.14436.461C2A4@localhost> <20010609154753.32846.qmail@web14707.mail.yahoo.com> <20010609195708.A7667@reiters.org>

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

:What happens is you turn the ringer off on your phone and take a
:long, long nap while it does an fsck.  I've had this happen on a
:250gig filesystem.
:
:-- 
:Denny Reiter                     | denny@reiters.org  
:                       www.scapegoats.org

    Depending on what you use the filesystem for, judicious use of
    newfs parameters when creating a filesystem can make fscks much faster.
    Much, much faster.  See the new 'tuning' man page for more information
    (you need a recent -stable to get the man page).  For the 128G 
    filesystems we use to hold our databases, which hold fewer larger files
    rather then a large number of tiny files, fsck takes about 20 seconds.
    For such a filesystem I usually use something like this:

	newfs -i 262144 -b 16384 -f 2048 -c 107 /dev/ccd0d

	(which for a 128G filesystem results in around half a million
	inodes, i.e. files, possible.)

	(DON'T TRY THIS AT HOME IF YOU DO NOT KNOW WHAT NEWFS DOES!)

    Even a large filesystem holding many smaller files can usually benefit
    fsck-wise by at least increasing the cylinders/group (-c) parameter
    as high as newfs will let it go.

					    -Matt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106100111.f5A1Be010403>