pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: david@lang.hm
To: Aidan Van Dyk <aidan@highrise.ca>
Cc: Ron Mayer <rm_pg@cheapcomplexdevices.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Greg Smith <greg@2ndquadrant.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: SSD + RAID
Date: Tue, 23 Feb 2010 13:22:16 -0800 (PST)
Message-ID: <alpine.DEB.2.00.1002231256470.5131@asgard.lang.hm> (raw)
In-Reply-To: <20100223203435.GV14128@oak.highrise.ca>
References: <201002221437.o1MEbDJ13005@momjian.us>
	<4B82C642.8020409@cheapcomplexdevices.com>
	<alpine.DEB.2.00.1002230022110.27818@asgard.lang.hm>
	<alpine.DEB.2.00.1002231131300.5131@asgard.lang.hm>
	<20100223203435.GV14128@oak.highrise.ca>

On Tue, 23 Feb 2010, Aidan Van Dyk wrote:

> * david@lang.hm <david@lang.hm> [100223 15:05]:
>
>> However, one thing that you do not get protection against with software
>> raid is the potential for the writes to hit some drives but not others.
>> If this happens the software raid cannot know what the correct contents
>> of the raid stripe are, and so you could loose everything in that stripe
>> (including contents of other files that are not being modified that
>> happened to be in the wrong place on the array)
>
> That's for stripe-based raid.  Mirror sets like raid-1 should give you
> either the old data, or the new data, both acceptable responses since
> the fsync/barreir hasn't "completed".
>
> Or have I missed another subtle interaction?

one problem is that when the system comes back up and attempts to check 
the raid array, it is not going to know which drive has valid data. I 
don't know exactly what it does in that situation, but this type of error 
in other conditions causes the system to take the array offline.

David Lang



view thread (36+ messages)  latest in thread

Message-ID: <alpine.DEB.2.00.1002231256470.5131@asgard.lang.hm>
Permalink:  ../alpine.DEB.2.00.1002231256470.5131@asgard.lang.hm/
Also on:    postgresql.org/message-id/alpine.DEB.2.00.1002231256470.5131@asgard.lang.hm

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: david@lang.hm, aidan@highrise.ca, rm_pg@cheapcomplexdevices.com, bruce@momjian.us, greg@2ndquadrant.com
  Subject: Re: SSD + RAID
  In-Reply-To: <alpine.DEB.2.00.1002231256470.5131@asgard.lang.hm>
  References: <201002221437.o1MEbDJ13005@momjian.us> <4B82C642.8020409@cheapcomplexdevices.com> <alpine.DEB.2.00.1002230022110.27818@asgard.lang.hm> <alpine.DEB.2.00.1002231131300.5131@asgard.lang.hm> <20100223203435.GV14128@oak.highrise.ca> <alpine.DEB.2.00.1002231256470.5131@asgard.lang.hm>

* 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