From owner-freebsd-stable Sat Jun 9 18:11:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id C80B137B405 for ; Sat, 9 Jun 2001 18:11:42 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.3/8.11.2) id f5A1Be010403; Sat, 9 Jun 2001 18:11:40 -0700 (PDT) (envelope-from dillon) Date: Sat, 9 Jun 2001 18:11:40 -0700 (PDT) From: Matt Dillon Message-Id: <200106100111.f5A1Be010403@earth.backplane.com> To: Dennis Reiter Cc: Donn Miller , stable@FreeBSD.ORG Subject: Re: Improvements for FreeBSD v4.3.1-Release? References: <3B21D639.14436.461C2A4@localhost> <20010609154753.32846.qmail@web14707.mail.yahoo.com> <20010609195708.A7667@reiters.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :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