From owner-freebsd-questions@FreeBSD.ORG Sun Feb 22 07:06:29 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 029D816A4CF for ; Sun, 22 Feb 2004 07:06:29 -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 B4EF643D2D for ; Sun, 22 Feb 2004 07:06:28 -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 1AuvBb-0000XR-JS; Sun, 22 Feb 2004 16:06:27 +0100 Message-ID: <4038D21B.2030903@ant.uni-bremen.de> Date: Sun, 22 Feb 2004 16:00:27 +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 References: <4037A0BB.8030807@ant.uni-bremen.de> <44n07c85md.fsf@be-well.ilk.org> <40388FF1.4000004@ant.uni-bremen.de> <1664802739.20040222113449@buz.ch> In-Reply-To: <1664802739.20040222113449@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 15:06:29 -0000 Gabriel Ambuehl wrote: > Hi Heinrich Rebehn, > you wrote. > > >>>Make sure you've disabled write caching on the drive firmware >>>itself... > > HR> Does this also apply for RAID disks (twe)? Also, there is no word about > HR> this in man tuning(7). Is this more of a guess or is softupdates > HR> definately dangerous with wite cache enabled? > > I'd say it's the other way round: write cache is dangerous with > softupdates. Softupdates itself is certainly better than no > softupdates, even if it takes a slight performance drop by disabling > write cache. > > I think you should disable the write cache on the 3ware cache (not > sure whether there actually is one, mine don't come with any RAM > sockets) anyway as you'll lose all data in there in the event of a > crash. Why that? I can imagine that i lose data in case of a power failure, but why in case of a crash? And why is write cache only dangerous with softupdates, as you wrote above? I had always write cache enabled on my twe controller, but my problems with softupdates definetely started with 5.2 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? > > > > > Regards, > Gabriel > Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax : -3341