Re: [GENERAL] Arguments Pro/Contra Software Raid

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [GENERAL] Arguments Pro/Contra Software Raid
Дата
Msg-id 1147201448.9755.16.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Arguments Pro/Contra Software Raid  (Steve Atkins <steve@blighty.com>)
Ответы Re: [GENERAL] Arguments Pro/Contra Software Raid  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-performance
On Tue, 2006-05-09 at 12:52, Steve Atkins wrote:
> On May 9, 2006, at 8:51 AM, Joshua D. Drake wrote:
>
> ("Using SATA drives is always a bit of risk, as some drives are lying
> about whether they are caching or not.")
>
> >> Don't buy those drives. That's unrelated to whether you use hardware
> >> or software RAID.
> >
> > Sorry that is an extremely misleading statement. SATA RAID is
> > perfectly acceptable if you have a hardware raid controller with a
> > battery backup controller.
>
> If the drive says it's hit the disk and it hasn't then the RAID
> controller
> will have flushed the data from its cache (or flagged it as correctly
> written). At that point the only place the data is stored is in the non
> battery backed cache on the drive itself. If something fails then you'll
> have lost data.
>
> You're not suggesting that a hardware RAID controller will protect
> you against drives that lie about sync, are you?

Actually, in the case of the Escalades at least, the answer is yes.
Last year (maybe a bit more) someone was testing an IDE escalade
controller with drives that were known to lie, and it passed the power
plug pull test repeatedly.  Apparently, the escalades tell the drives to
turn off their cache.  While most all IDEs and a fair number of SATA
drives lie about cache fsyncing, they all seem to turn off the cache
when you ask.

And, since a hardware RAID controller with bbu cache has its own cache,
it's not like it really needs the one on the drives anyway.

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [GENERAL] Arguments Pro/Contra Software Raid
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Big IN() clauses etc : feature proposal