linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Converting RAID1 to RAID5
@ 2011-09-11  3:38 Alex
  2011-09-11  3:57 ` NeilBrown
  0 siblings, 1 reply; 8+ messages in thread
From: Alex @ 2011-09-11  3:38 UTC (permalink / raw)
  To: linux-raid

Hi,
I have a a few two-disk RAID1 partitions that I'd like to convert to
three-disk RAID5 partitions using fedora15 with ext4. I've read a few
docs online, but none that are authoritative or current. Some even say
to zero the superblock first, which doesn't sound safe at all.

The partitions were created using v1.0 with mdadm-3.2.2:

# mdadm --detail /dev/md0
/dev/md0:
        Version : 1.0
  Creation Time : Sat Jan  1 13:07:37 2011
     Raid Level : raid1
     Array Size : 511988 (500.07 MiB 524.28 MB)
  Used Dev Size : 511988 (500.07 MiB 524.28 MB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Sat Sep 10 23:11:23 2011
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           Name : localhost.localdomain:0
           UUID : a7af0eec:2bf1bb46:a6afa7a4:6e61d731
         Events : 181

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1

I've read the man page, and it seems to indicate to use the --grow
option, but it's still a little unclear. I've read that the arrays
should be stopped first, but the man page seems to indicate it should
be performed on a running array.

Is the general process to first convert the RAID1 to a two-disk RAID5,
then --add the third disk?

Thanks,
Alex

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

end of thread, other threads:[~2011-09-16 15:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-11  3:38 Converting RAID1 to RAID5 Alex
2011-09-11  3:57 ` NeilBrown
2011-09-11 15:40   ` Alex
2011-09-15 23:50   ` Alex
2011-09-16  3:57     ` NeilBrown
2011-09-16 13:56       ` Alex
2011-09-16 15:10         ` Robin Hill
     [not found]   ` <27910711.10376.1316131253095.JavaMail.mobile-sync@iagt29>
2011-09-16  2:54     ` Jérôme Poulin

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