Hi all!

I was wondering if it is possible to introduce RAID 1 (i.e. mirroring of
a spare partition to be precise) into a running system? Let's assume
there is a disk A with partitions A1 and A2. A1 carries a fully
functional Gentoo, A2 is a spare partition. Kernel is 2.6.12.5 with Raid
stuff enabled.

Now I'd like to add a disk B (identical to disk A), duplicate the
partition layout from A and start mirroring A2 to B2.

Now let's also assume that A2 and B2 are set to partition type fd and
that there's a matching /etc/raidtype like

# /boot (RAID 1)
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  A2
raid-disk               0
device                  B2
raid-disk               1

Question: may I run mkraid /dev/md0 on the fly now or will that somehow
destroy the partition table on the entire disk A ?

-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
         [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
         A-4540 Bad Hall
         Austria / Europe

-- 
gentoo-user@gentoo.org mailing list

Reply via email to