From owner-freebsd-questions Wed Feb 12 10:15: 4 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 6066337B405 for ; Wed, 12 Feb 2003 10:15:02 -0800 (PST) Received: from mx.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F50643FA3 for ; Wed, 12 Feb 2003 10:15:01 -0800 (PST) (envelope-from rebehn@ant.uni-bremen.de) Received: from p50866a1f.dip0.t-ipconnect.de ([80.134.106.31] helo=ant.uni-bremen.de) by antsrv1.ant.uni-bremen.de with asmtp (Exim 3.36 #1) id 18j1Ou-0000jB-00; Wed, 12 Feb 2003 19:14:29 +0100 Message-ID: <3E4A8EF5.1070308@ant.uni-bremen.de> Date: Wed, 12 Feb 2003 19:14:13 +0100 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Moran Cc: freebsd-questions@freebsd.org Subject: Re: fsck takes very long after crash/reset References: <3E4A5B77.5080103@ant.uni-bremen.de> <3E4A863E.2030801@potentialtech.com> 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 Bill Moran wrote: > 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. I have read several times that soft updates ensure that the fs is always in a consistent state? > > 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. I was expecting that answer. In the last case, i had to press the reset button because the system hung during boot, in another case the system was dead because mbuf clusters were exhausted. So there *are* occasions where the system goes down/is brought down uncleanly. According to murphy's law this happens when the system is needed most urgently. fsck times of 20 minutes are not tolerable then. This is the point where people talk about journalling fs, and i think they're right. Running fsck in the background might help when 5.0 becomes stable. If it really works, ok, otherwise i really think a journalling fs is needed. Heinrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message