From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 01:42:00 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34C571065672 for ; Fri, 31 Oct 2008 01:42:00 +0000 (UTC) (envelope-from rich@pencil.math.missouri.edu) Received: from pencil.math.missouri.edu (pencil.math.missouri.edu [128.206.184.195]) by mx1.freebsd.org (Postfix) with ESMTP id 031838FC18 for ; Fri, 31 Oct 2008 01:41:59 +0000 (UTC) (envelope-from rich@pencil.math.missouri.edu) Received: from pencil.math.missouri.edu (localhost [127.0.0.1]) by pencil.math.missouri.edu (8.13.8/8.13.8) with ESMTP id m9V1fx2J057481; Thu, 30 Oct 2008 20:41:59 -0500 (CDT) (envelope-from rich@pencil.math.missouri.edu) Received: (from rich@localhost) by pencil.math.missouri.edu (8.13.8/8.13.8/Submit) id m9V1fxn5057480; Thu, 30 Oct 2008 20:41:59 -0500 (CDT) (envelope-from rich) Date: Thu, 30 Oct 2008 20:41:59 -0500 From: Rich Winkel To: Jeremy Chadwick Message-ID: <20081031014159.GI22915@pencil.math.missouri.edu> References: <9f3798c00810291118i1c80cb8cw8d4995eabe6a4f8f@mail.gmail.com> <4908BE2C.7010505@infracaninophile.co.uk> <20081030231207.GA56260@pencil.math.missouri.edu> <20081030233849.GA16747@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081030233849.GA16747@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: Rich Winkel , freebsd-questions@FreeBSD.org Subject: Re: Filesystem, RAID Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 01:42:00 -0000 On Thu, Oct 30, 2008 at 04:38:49PM -0700, Jeremy Chadwick wrote: > On Thu, Oct 30, 2008 at 06:12:07PM -0500, Rich Winkel wrote: > > Doesn't hw.ata.wc affect only card-level caching? > > hw.ata.wc causes the ata(4) subsystem to disable write caching on all > disks attached to the subsystem. It does not disable card features. I mean, the individual disks are invisible to the OS unless the card's driver (and the card itself) specifically supports it. > There's also the below PR, which extends atacontrol to permit disabling > and enabling write caching on a per-disk basis. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=127717 But not on disks which are behind hardware raid cards, correct? > What gives you the impression that during a power outage your data is > going to be intact? One of the main functions of softupdates is to order disk updates in such a way that the fs organizational integrity is maintained at all times. Of course this doesn't protect against actual sector corruption, but if the disk is between writes at the time it loses power, the fs structure is supposed to still be internally consistent. At least that's my understanding of it. Rich