linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* migrating from RAID5 to RAID10
@ 2010-06-09 15:11 Gilad Arnold
  2010-06-10 18:52 ` Roman Mamedov
  0 siblings, 1 reply; 19+ messages in thread
From: Gilad Arnold @ 2010-06-09 15:11 UTC (permalink / raw)
  To: linux-raid

Dear all,

I have been using RAID5 on a desktop machine using a couple of 500 GB
drives.  My original intent was to grow the array by adding more drives,
as the need arises.  I am now looking to expand the capacity (by adding
one more drive, for simplicity assume it's an identical one) but I'd
also like to switch to RAID10, which (I understand) has much better read
and write performance compared to RAID5 with more than two drives.  It
is my understanding that growing a RAID10 array is not yet supported,
but my hope is that by the time I need to expand again it will already
be supported ;-)  Finally, I'd like to do the migration on a "live"
machine, to the extent possible (I will use a remote backup, at least
for some of the data).

I'd like to hear your thoughts about whether or not the following is
a good way to perform the migration:

1. Backup data.

2. Remove one of the drives from the current array, causing it to work
   in degraded mode.

3. Start a new RAID10 array with two actual drives (the one removed from
   the existing array and the new one) and one "missing" drive.  I know
   that other RAID levels (e.g. 1 and 5) can be created with a missing
   drive, not sure about RAID10 though.  If this actually works, I'll
   get a 750 GB array working in degraded mode.

4. Copy the data from the old array to the new array.

5. Kill the old array entirely; add the remaining drive to the new array
   and watch it rebuild.

My main doubts are about step 3 above, and of course the fact that
a drive failure at any point between 2-5 (except when 4 has fully
completed and before going to 5) means losing data and having to resort
to backup.

A separate question concerns which layout I should be using for RAID10,
it sounds like f2 is the way to go, isn't it?

Your advice is much appreciated. Thanks!

Gilad

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-06-21 22:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).