From owner-freebsd-questions Wed Feb 12 9:37: 8 2003 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 846F937B401 for ; Wed, 12 Feb 2003 09:37:06 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC0D543FAF for ; Wed, 12 Feb 2003 09:37:05 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h1CHb2rX002747; Wed, 12 Feb 2003 12:37:03 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E4A863E.2030801@potentialtech.com> Date: Wed, 12 Feb 2003 12:37:02 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Heinrich Rebehn Cc: freebsd-questions@freebsd.org Subject: Re: fsck takes very long after crash/reset References: <3E4A5B77.5080103@ant.uni-bremen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Heinrich Rebehn wrote: > Hi list, > > I operate a FreeBSD server with a 300GB Raid. This morning i had to hard > reset it and when booting, fsck took some 20 minutes. I would expect that from 300G > Most partitions, especially the large ones are mounted with soft-updates. Good. > Also, some weeks ago, we had missing files after a crash/fsck. Soft-updates will do that if the system crashes in the middle of writes. Sounds to me like you need to address your hardware or environmental problems. If your system is needing hard-booted that often, you'll benefit from fixing the cause of the hard-booting more than from a journalling fs. > My collegues ask me why i don't use a journalling file system, but > FreeBSD doesn't seem to provide any. Collegues are like that. No matter what you do, they'll ask why you didn't do the thing that they think will save the day. The journalling fs issue seems to come up on this list every few months. Search the archives and you'll find a lot of information on it compared to soft updates. > Is there any way to speed up the fsck? 20 minutes really is too long! FreeBSD 5.0 has background fsck, which seems to work very well in the limited tests I've done. fscking doesn't interrupt the boot process at all. However, 5.0 isn't considered production quality yet, so you can only really consider it for the near future. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message