From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 08:55:48 2004 Return-Path: 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 9BE3A16A4CE for ; Sun, 22 Feb 2004 08:55:48 -0800 (PST) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 648E443D1D for ; Sun, 22 Feb 2004 08:55:48 -0800 (PST) (envelope-from rebehn@ant.uni-bremen.de) Received: from europa.ant.uni-bremen.de ([134.102.176.10] helo=ant.uni-bremen.de) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.30; FreeBSD) id 1AuwtO-0000EL-VT; Sun, 22 Feb 2004 17:55:46 +0100 Message-ID: <4038EBBA.9030400@ant.uni-bremen.de> Date: Sun, 22 Feb 2004 17:49:46 +0000 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gabriel_ambuehl@buz.ch References: <4037A0BB.8030807@ant.uni-bremen.de> <44n07c85md.fsf@be-well.ilk.org> <40388FF1.4000004@ant.uni-bremen.de> <1664802739.20040222113449@buz.ch> <4038D21B.2030903@ant.uni-bremen.de> <1693129206.20040222172315@buz.ch> In-Reply-To: <1693129206.20040222172315@buz.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: UNEXPECTED SOFTUPDATES INCONSISTENCY X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 16:55:48 -0000 Gabriel Ambuehl wrote: > Hello Heinrich, > > Sunday, February 22, 2004, 5:00:27 PM, you wrote: > >>Why that? I can imagine that i lose data in case of a power failure, but >>why in case of a crash? > > > Well I guess the card COULD still commit the data, however, who knows > if it actually does it? > > >>And why is write cache only dangerous with softupdates, as you wrote above? > > > IIRC softupdates relies on the assumption that when the softupdate > changes return, they really ARE on the disk. It's the same with most > RDBMS: because they go to great lengths to ensure the journal is in an > ok state they need to know for sure that the data they wrote to it > actually made it to disk. > > >>Since i found no word about disabling write cache in the FreeBSD >>handbook or in man tuning(7), i would really like to know, if this is >>just a rumour, or where does it come from? > > > I can't say for sure, but I have little confidence in write caching > anyhow. It changes semantics the system relies on, for one. > > > > > Best regards, > Gabriel > Gabriel, what you write does make sense, although i really can't understand why this important info is not in the FreeBSD documentation. I have disabled write cache, but i will keep softupdates disabled as well for now, and see how the system behaves. Thanks for your help, Heinrich