From: Martin Marques <martin@marquesminen.com.ar>
To: Greg Smith <gsmith@gregsmith.com>
Cc: pgsql-general@postgresql.org
Subject: Re: full_page_writes = off?
Date: Mon, 03 Dec 2007 09:15:59 -0300
Message-ID: <4753F37F.6050105@marquesminen.com.ar> (raw)
In-Reply-To: <Pine.GSO.4.64.0712021528290.2007@westnet.com>
References: <4751150F.8080604@mail.ru>
<20071201114754.GA2552@batory.org.pl>
<47514DDC.70607@marquesminen.com.ar>
<20071201121601.GB2552@batory.org.pl>
<Pine.GSO.4.64.0712021528290.2007@westnet.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: martin@marquesminen.com.ar, gsmith@gregsmith.com, pgsql-general@postgresql.org
Subject: Re: full_page_writes = off?
In-Reply-To: <4753F37F.6050105@marquesminen.com.ar>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox