All of lore.kernel.org
 help / color / mirror / Atom feed
From: Psalle <psalleetsile@gmail.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: raid1 vs raid5
Date: Tue, 5 Jan 2016 17:24:31 +0100	[thread overview]
Message-ID: <568BEE3F.4060402@gmail.com> (raw)

Hello all and excuse me if this is a silly question. I looked around in 
the wiki and list archives but couldn't find any in-depth discussion 
about this:

I just realized that, since raid1 in btrfs is special (meaning only two 
copies in different devices), the effect in terms of resilience achieved 
with raid1 and raid5 are the same: you can lose one drive and not lose data.

So!, presuming that raid5 were at the same level of maturity, what would 
be the pros/cons of each mode?

As a corollary, I guess that if raid1 is considered a good compromise, 
then functional equivalents to raid6 and beyond could simply be 
implemented as "storing n copies in different devices", dropping any 
complex parity computations and making this mode entirely generic. Since 
this seems pretty obvious, I'd welcome your insights on what are the 
things I'm missing, since it doesn't exist (and it isn't planned to be 
this way, AFAIK). I can foresee consistency difficulties, but that seems 
hardly insurmountable if its being done for raid1?

Thanks in advance,
Psalle.

             reply	other threads:[~2016-01-05 16:24 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-05 16:24 Psalle [this message]
2016-01-06  8:09 ` raid1 vs raid5 Sean Greenslade
2016-01-20 14:17 ` Psalle
  -- strict thread matches above, loose matches on Subject: below --
2003-10-26 14:45 RAID1 VS RAID5 Mario Giammarco
2003-10-26 16:16 ` maarten van den Berg
2003-10-26 18:22   ` Mario Giammarco
2003-10-27  8:27   ` Hermann Himmelbauer
2003-10-27  9:54     ` Lars Marowsky-Bree
2003-10-27 10:16     ` Jeff Woods
2003-10-28 10:45       ` Mario Giammarco
2003-10-27 11:08     ` maarten van den Berg
2003-10-27 12:03       ` Jeff Woods
2003-10-26 16:55 ` Matti Aarnio
2003-10-28 10:46   ` Mario Giammarco
2003-10-27  8:33 ` Hermann Himmelbauer
2003-10-27  9:19   ` Gordon Henderson
2003-10-27 11:01     ` Hermann Himmelbauer
2003-10-27 13:40       ` Gordon Henderson
2003-10-27 15:34         ` Hermann Himmelbauer
2003-10-27 14:17       ` Lars Marowsky-Bree
2003-10-27 15:52       ` Andrew Herdman
2003-10-28 10:40   ` Mario Giammarco
2003-10-26 11:24 Mario Giammarco

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=568BEE3F.4060402@gmail.com \
    --to=psalleetsile@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.