From owner-freebsd-fs@FreeBSD.ORG Thu May 20 13:16:24 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA1B616A4CE for ; Thu, 20 May 2004 13:16:24 -0700 (PDT) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60A0543D4C for ; Thu, 20 May 2004 13:16:24 -0700 (PDT) (envelope-from mi+mx@aldan.algebra.com) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i4KKGFQF082709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 20 May 2004 16:16:16 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from localhost (mteterin@localhost [127.0.0.1]) i4KKFqov028658; Thu, 20 May 2004 16:15:55 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Steve Byan Date: Thu, 20 May 2004 16:15:51 -0400 User-Agent: KMail/1.6.1 References: <20040517174836.GA983@frontfree.net> <40A974DA.30704@comcast.net> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 7bit Message-Id: <200405201615.51539@misha-mx.virtual-estates.net> X-Scanned-By: MIMEDefang 2.39 cc: freebsd-fs@freebsd.org cc: Julian Elischer Subject: Re: QMail and SoftUpdates X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2004 20:16:25 -0000 => Even if the OS crashes, as long as power is supplied to the drive, => its firmware should finish writing the data from its cache to the => disk media, no? And therefore, as long as one has a stable power => source, e.g. running off a UPS, there really isn't any great risk => from on-drive write caches, is there? = =No. Unlike SCSI disks, ATA disks will toss their write-cache on a =reset. When the system crashes and the BIOS starts rebooting, guess =what it issues to the ATA disks? Yep, a reset. So with ATA write-cache =enabled, your filesystem is likely to be toast after a crash, as well =as after a power failure. Is not this only of concern if the power is restored and the BIOS resets the disks _before_ they flush their write caches? I'd expect them to do that (the flushing) within seconds anyway, no? -mi