Re: Upgrading my BSDI box, again

From: Lamar Owen <lowen(at)pari(dot)edu>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Andrew Sullivan <andrew(at)libertyrms(dot)info>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Upgrading my BSDI box, again
Date: 2003-07-30 20:18:39
Message-ID: 200307301618.39979.lowen@pari.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday 30 July 2003 15:39, Bruce Momjian wrote:
> Andrew Sullivan wrote:
> > It's yet worse than this. Some IDE drives will respond to the
> > command to turn off write cacheing, but they _don't actually turn it
> > off_. In other words, you think you've done the right thing, and you
> > haven't anyway.

> Is there an interface to control this with IDE drives? I know there is
> scsicmd for SCSI, but I didn't think IDE had any similar interface to
> control the drive.

What Andrew is saying is that on some IDE drives it doesn't matter what the OS
tells the drive to do. According to the Linux hdparm man page, the desired
flag is '-W':

-W Disable/enable the IDE drive’s write-caching feature (default
state is undeterminable; manufacturer/model specific).

--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nailah Ogeer 2003-07-30 21:03:57 File Cache
Previous Message Þórhallur Hálfdánarson 2003-07-30 19:46:22 Re: Upgrading my BSDI box, again