1 |
Hi all! |
2 |
|
3 |
I was wondering if it is possible to introduce RAID 1 (i.e. mirroring of |
4 |
a spare partition to be precise) into a running system? Let's assume |
5 |
there is a disk A with partitions A1 and A2. A1 carries a fully |
6 |
functional Gentoo, A2 is a spare partition. Kernel is 2.6.12.5 with Raid |
7 |
stuff enabled. |
8 |
|
9 |
Now I'd like to add a disk B (identical to disk A), duplicate the |
10 |
partition layout from A and start mirroring A2 to B2. |
11 |
|
12 |
Now let's also assume that A2 and B2 are set to partition type fd and |
13 |
that there's a matching /etc/raidtype like |
14 |
|
15 |
# /boot (RAID 1) |
16 |
raiddev /dev/md0 |
17 |
raid-level 1 |
18 |
nr-raid-disks 2 |
19 |
chunk-size 32 |
20 |
persistent-superblock 1 |
21 |
device A2 |
22 |
raid-disk 0 |
23 |
device B2 |
24 |
raid-disk 1 |
25 |
|
26 |
Question: may I run mkraid /dev/md0 on the fly now or will that somehow |
27 |
destroy the partition table on the entire disk A ? |
28 |
|
29 |
-- |
30 |
Mit freundlichen Grüßen |
31 |
|
32 |
Heinz Sporn |
33 |
|
34 |
SPORN it-freelancing |
35 |
|
36 |
Mobile: ++43 (0)699 / 127 827 07 |
37 |
Email: heinz.sporn@××××××××.com |
38 |
heinz.sporn@××××××.at |
39 |
Website: http://www.sporn-it.com |
40 |
Snail: Steyrer Str. 20 |
41 |
A-4540 Bad Hall |
42 |
Austria / Europe |
43 |
|
44 |
-- |
45 |
gentoo-user@g.o mailing list |