All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilad Arnold <arnold@cs.berkeley.edu>
To: Neil Brown <neilb@suse.de>
Cc: Bill Davidsen <davidsen@tmr.com>, Roman Mamedov <roman@rm.pp.ru>,
	linux-raid@vger.kernel.org
Subject: Re: migrating from RAID5 to RAID10
Date: Thu, 17 Jun 2010 10:44:46 -0700	[thread overview]
Message-ID: <20100617174445.GB8450@libra.CS.Berkeley.EDU> (raw)
In-Reply-To: <20100617072631.09641f48@notabene.brown>

On Thu, Jun 17, 2010 at 07:26:31AM +1000, Neil Brown wrote:
> A RAID5 on 2 devices would be a little slower than RAID1 on two
> devices as there is more copying of data around in memory, and there
> is no read balancing, but it shouldn't be much slower.
> 
> However with recent mdadm and kernel you can trivially convert a 2 drive
> RAID1 to a 2 drive RAID5 while the array is online, so it should be easy to
> experiment and change you mind about how you want it configured.

Thanks for the interesting comments, Neil.

Preparing for the upgrade I've been cleaning up data and ended up
realizing that I won't need to add another drive in the near future ;-)
I would like to change my RAID level, though, to improve performance,
and the idea of online layout conversion is very appealing.

I understand that a 2-drive RAID5 can be converted to a RAID1 already,
but it is also my understanding that RAID1 currently does not benefit
from striped reading performance, either entirely (due to
implementation) or partly (compared to RAID10 in f2 mode).  This leads
me to think that even with 2 drives, RAID10/f2 is a better choice than
RAID1. Is this a fair assessment?  And, if it is the case, can RAID5 be
converted to RAID10/f2 on-the-fly, or would I have to take the longer
path?  (i.e.  degrade RAID5, start RAID10 in degraded mode, copy data,
kill RAID5 and rebuild RAID10)

Many thanks for all your help. I finally seem to be converging ;-)

Gilad

  reply	other threads:[~2010-06-17 17:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 15:11 migrating from RAID5 to RAID10 Gilad Arnold
2010-06-10 18:52 ` Roman Mamedov
2010-06-10 19:58   ` Gilad Arnold
2010-06-10 22:11     ` Drew
2010-06-10 22:21       ` Drew
2010-06-10 22:30         ` Gilad Arnold
2010-06-10 22:26       ` Gilad Arnold
2010-06-16 15:54     ` Bill Davidsen
2010-06-16 18:30       ` Gilad Arnold
2010-06-16 20:15         ` Gilad Arnold
2010-06-17  1:59           ` Bill Davidsen
2010-06-16 21:26       ` Neil Brown
2010-06-17 17:44         ` Gilad Arnold [this message]
2010-06-17 22:30           ` Neil Brown
2010-06-18  8:40             ` Keld Simonsen
2010-06-21 22:09               ` Neil Brown
2010-06-17 22:46           ` Gilad Arnold
2010-06-18  2:39             ` Neil Brown
2010-06-18  4:01               ` Gilad Arnold

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=20100617174445.GB8450@libra.CS.Berkeley.EDU \
    --to=arnold@cs.berkeley.edu \
    --cc=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=roman@rm.pp.ru \
    /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.