Re: Write cache

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Write cache
Дата
Msg-id 200401312119.i0VLJ7W01821@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Write cache  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan wrote:
> 
> 
> Tom Lane wrote:
> 
> >Andreas Pflug <pgadmin@pse-consulting.de> writes:
> >  
> >
> >>This would be the first time a SCSI disk lies about its write caching. 
> >>There are plenty of low-cost (i.e. IDE) disks out there having a hidden 
> >>write cache, but AFAIK a generic SCSI tool is usable to enable/disable 
> >>the write cache.
> >>    
> >>
> >
> >A SCSI disk shouldn't lie about write completion in any case; there's no
> >need to because the interface spec is inherently multi-threaded (unlike
> >IDE).  See past discussions.
> >
> >  
> >
> Unless I am reading it wrong,
> 
> http://www.fcpa.com/download/download/hard-drives/map10krpm-manual.pdf 
> appears to suggest (page 5-21) that the write cache can be disabled. How 
> I am not sure - maybe using one of the tools Andreas mentioned.

My guess is to look for scsicmd or something like that.  The man page
usually talks about how to dump the device parametes.  Do that and you
should see something clear.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Ezra Epstein"
Дата:
Сообщение: Re: Extending SET SESSION AUTHORIZATION
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Transaction aborts on syntax error.