linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Online RAID1 -> RAID10 migration?
@ 2011-11-26  7:48 Bart Kus
  0 siblings, 0 replies; only message in thread
From: Bart Kus @ 2011-11-26  7:48 UTC (permalink / raw)
  To: linux-raid

Hello,

I'd like to know if it's possible to do online RAID1 -> RAID10 migration 
with md.  I ran a little experiment and it seems my approach doesn't work:

jo test # mdadm --detail /dev/md7
/dev/md7:
         Version : 1.0
   Creation Time : Fri Nov 25 23:29:37 2011
      Raid Level : raid1
      Array Size : 51188 (50.00 MiB 52.42 MB)
   Used Dev Size : 51188 (50.00 MiB 52.42 MB)
    Raid Devices : 2
   Total Devices : 4
     Persistence : Superblock is persistent

     Update Time : Fri Nov 25 23:33:55 2011
           State : clean
  Active Devices : 2
Working Devices : 4
  Failed Devices : 0
   Spare Devices : 2

            Name : jo.bartk.us:TEST  (local to host jo.bartk.us)
            UUID : 5c6e806a:d91b8007:dce490aa:1442d468
          Events : 19

     Number   Major   Minor   RaidDevice State
        0       7        0        0      active sync   /dev/loop0
        1       7        1        1      active sync   /dev/loop1

        2       7        2        -      spare   /dev/loop2
        3       7        3        -      spare   /dev/loop3
jo test # mdadm -G /dev/md7 -n 4 -l 10
mdadm: /dev/md7: could not set level to raid10
jo test # dmesg | tail -1
md: md7: raid10 would not accept array

Any advice on how to pull this off?  Is it even possible?  Can it be 
implemented?  My root device is on RAID1 and I'd like to move it to 
RAID10 to get some write/read speed benefit.

Thanks,

--Bart


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-26  7:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-26  7:48 Online RAID1 -> RAID10 migration? Bart Kus

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