1 |
Am Mittwoch, den 07.09.2005, 13:17 +0100 schrieb Mike Williams: |
2 |
> On Wednesday 07 September 2005 12:58, Christoph Gysin wrote: |
3 |
> > First, let me recommend you mdadm. It's a replacement for the old |
4 |
> > raidtools. *Much* better IMHO. |
5 |
> |
6 |
> VERY much so. |
7 |
> |
8 |
> > - Create a new RAID1 in degraded state from B2: |
9 |
> > # mdadm --create /dev/md0 --level 1 --raid-devices 2 /dev/B2 missing |
10 |
> > |
11 |
> > - Copy contents from A2 to md0 |
12 |
> > - umount A2 |
13 |
> > - add A2 to md0: |
14 |
> > # mdadm /dev/md0 --add /dev/A2 |
15 |
> |
16 |
> Quicker method :) |
17 |
> |
18 |
> create B1 and B2 |
19 |
> umount /dev/A2 |
20 |
> # mdadm --create /dev/md0 -l1 -n2 /dev/A2 /dev/B2 |
21 |
> |
22 |
> You CAN create a mirror of an existing partition, and NOT lose data. |
23 |
> I know, I've done it. |
24 |
|
25 |
Uuuuh - that sounds MUCH better. I really thought that A2 will be lost |
26 |
by all means. I will definitely try your method. Thanx for your help! |
27 |
|
28 |
> You can also re-create an existing array (instead of the obvious re-assembly), |
29 |
> and keep all your data. |
30 |
> The software raid drivers and tools are surprisingly intelligent. |
31 |
> |
32 |
> But as always, keep backups :) |
33 |
> |
34 |
> -- |
35 |
> Mike Williams |
36 |
-- |
37 |
Mit freundlichen Grüßen |
38 |
|
39 |
Heinz Sporn |
40 |
|
41 |
SPORN it-freelancing |
42 |
|
43 |
Mobile: ++43 (0)699 / 127 827 07 |
44 |
Email: heinz.sporn@××××××××.com |
45 |
heinz.sporn@××××××.at |
46 |
Website: http://www.sporn-it.com |
47 |
Snail: Steyrer Str. 20 |
48 |
A-4540 Bad Hall |
49 |
Austria / Europe |
50 |
|
51 |
-- |
52 |
gentoo-user@g.o mailing list |