mdadm RAID0 -> RAID1

Paul Howarth paul at city-fan.org
Mon Jul 18 07:29:08 UTC 2005


On Sun, 2005-07-17 at 08:15 -0400, Don Woodward wrote:
> I just reinstalled my system going from FC2 to FC4 and when I setup the
> RAID in Kudzu I created a RAID0 with my two disks...
> 
> # cat /proc/mdstat Personalities : [raid0]
> md0 : active raid0 hdb1[1] hda3[0]
>       237753600 blocks 256k chunks
> 
> unused devices: <none>
> 
> # df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/md0              220G  9.6G  199G   5% /
> /dev/hda1             289M   20M  255M   8% /boot
> 
> 
> What I meant to do was create a RAID1 set - what's the best way to get
> there without starting over?  I can add a disk big enough to mirror md0
> - is it possible to have /dev/md0 and say /dev/hdcX as the other member
> of a RAID1 set? Any good tutorials on doing this?

I don't know of any way of changing the type of a RAID array; given that
you just reinstalled your system, wouldn't it be possible just to
reinstall it again using RAID1?

The manpage for "mdadm" is probably the best reference you're going to
get.

Paul.
-- 
Paul Howarth <paul at city-fan.org>




More information about the fedora-list mailing list