Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id B7D662E3153 for ; Mon, 3 Dec 2007 08:16:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 80692-08 for ; Mon, 3 Dec 2007 08:15:58 -0400 (AST) Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by postgresql.org (Postfix) with ESMTP id 314E22E3144 for ; Mon, 3 Dec 2007 08:16:02 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id 6FF9123CB55; Mon, 3 Dec 2007 09:15:59 -0300 (ART) Received: from bugs.unl.edu.ar ([127.0.0.1]) by localhost (bugs.unl.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AG4pUa7rxsSt; Mon, 3 Dec 2007 09:15:59 -0300 (ART) Received: from [168.96.132.208] (bugs.unl.edu.ar [168.96.132.208]) by bugs.unl.edu.ar (Postfix) with ESMTP id 52F2023CB53; Mon, 3 Dec 2007 09:15:59 -0300 (ART) Message-ID: <4753F37F.6050105@marquesminen.com.ar> Date: Mon, 03 Dec 2007 09:15:59 -0300 From: Martin Marques User-Agent: IceDove 1.5.0.14pre (X11/20071018) MIME-Version: 1.0 To: Greg Smith CC: pgsql-general@postgresql.org Subject: Re: full_page_writes = off? References: <4751150F.8080604@mail.ru> <20071201114754.GA2552@batory.org.pl> <47514DDC.70607@marquesminen.com.ar> <20071201121601.GB2552@batory.org.pl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/65 X-Sequence-Number: 124810 Greg Smith escribió: > On Sat, 1 Dec 2007, Tomasz Ostrowski wrote: > >> You can also use "hdparm -I" to check this - look for a "Write >> caching" in "Commands/features" section. If it has a "*" in front >> then it is enabled and dangerous. > > Right; using -I works with most Linux hdparm versions: > > # hdparm -V > hdparm v6.6 > # hdparm -I /dev/hda | grep "Write cache" > * Write cache > # hdparm -W 0 /dev/hda > > /dev/hda: > setting drive write-caching to 0 (off) > # hdparm -I /dev/hda | grep "Write cache" > Write cache Out of ignorance, do RAID[1] devices have write cache? [1]: I'm talking about RAID through hardware.