linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bart Kus <me@bartk.us>
To: Gordan Bobic <gordan@bobich.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Update to Project_ideas wiki page
Date: Wed, 17 Nov 2010 10:41:01 -0800	[thread overview]
Message-ID: <4CE421BD.7040105@bartk.us> (raw)
In-Reply-To: <4CE419ED.3020209@bobich.net>

On 11/17/2010 10:07 AM, Gordan Bobic wrote:
> On 11/17/2010 05:56 PM, Hugo Mills wrote:
>> On Wed, Nov 17, 2010 at 04:12:29PM +0100, Bart Noordervliet wrote:
>>> Can I suggest we combine this new RAID level management with a
>>> modernisation of the terminology for storage redundancy, as has been
>>> discussed previously in the "Raid1 with 3 drives" thread of March this
>>> year? I.e. abandon the burdened raid* terminology in favour of
>>> something that makes more sense for a filesystem.
>>
>>     Well, our current RAID modes are:
>>
>>   * 1 Copy ("SINGLE")
>>   * 2 Copies ("DUP")
>>   * 2 Copies, different spindles ("RAID1")
>>   * 1 Copy, 2 Stripes ("RAID0")
>>   * 2 Copies, 2 Stripes [each] ("RAID10")
>>
>>     The forthcoming RAID5/6 code will expand on that, with
>>
>>   * 1 Copy, n Stripes + 1 Parity ("RAID5")
>>   * 1 Copy, n Stripes + 2 Parity ("RAID6")
>>
>>     (I'm not certain how "n" will be selected -- it could be a config
>> option, or simply selected on the basis of the number of
>> spindles/devices currently in the FS).
>>
>>     We could further postulate a RAID50/RAID60 mode, which would be
>>
>>   * 2 Copies, n Stripes + 1 Parity
>>   * 2 Copies, n Stripes + 2 Parity
>
> Since BTRFS is already doing some relatively radical things, I would 
> like to suggest that RAID5 and RAID6 be deemed obsolete. RAID5 isn't 
> safely usable for arrays bigger than about 5TB with disks that have a 
> specified error rate of 10^-14. RAID6 pushes that problem a little 
> further away, but in the longer term, I would argue that RAID (n+m) 
> would work best. We specify that of (n+m) disks in the array, we want 
> n data disks and m redundancy disks. If this is implemented in a 
> generic way, then there won't be a need to implement additional RAID 
> modes later.

Not to throw a wrench in the works, but has anyone given any thought as 
to how to best deal with SSD-based RAIDs?  Normal RAID algorithms will 
maximize synchronized failures of those devices.  Perhaps there's a 
chance here to fix that issue?

I like the RAID n+m mode of thinking though.  It'd also be nice to have 
spares which are spun-down until needed.

Lastly, perhaps there's also a chance here to employ SSD-based caching 
when doing RAID, as is done in the most recent RAID controllers?  
Exposure to media failures in the SSD does make me nervous about that 
though.  Does anyone know if those controllers write some sort of extra 
data to the SSD for redundancy/error recovery purposes?

--Bart


  reply	other threads:[~2010-11-17 18:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  3:19 Update to Project_ideas wiki page Chris Ball
2010-11-17 14:31 ` Hugo Mills
2010-11-17 15:12   ` Bart Noordervliet
2010-11-17 17:19     ` Xavier Nicollet
2010-11-17 17:52     ` Mike Fedyk
2010-11-17 17:56     ` Hugo Mills
2010-11-17 18:07       ` Gordan Bobic
2010-11-17 18:41         ` Bart Kus [this message]
2010-11-18  8:36           ` Gordan Bobic
2010-11-18 14:31         ` Bart Noordervliet
2010-11-18 15:02           ` Justin Ossevoort
2010-11-18 15:06           ` Gordan Bobic
2010-11-17 18:14       ` Andreas Philipp
2010-11-17 18:34         ` Hugo Mills
2010-11-26 14:57   ` Paul Komkoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CE421BD.7040105@bartk.us \
    --to=me@bartk.us \
    --cc=gordan@bobich.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).