Am Mittwoch, den 07.09.2005, 13:17 +0100 schrieb Mike Williams:
> On Wednesday 07 September 2005 12:58, Christoph Gysin wrote:
> > First, let me recommend you mdadm. It's a replacement for the old
> > raidtools. *Much* better IMHO.
>
> VERY much so.
>
> > - Create a new RAID1 in degraded state from B2:
> > # mdadm --create /dev/md0 --level 1 --raid-devices 2 /dev/B2 missing
> >
> > - Copy contents from A2 to md0
> > - umount A2
> > - add A2 to md0:
> > # mdadm /dev/md0 --add /dev/A2
>
> Quicker method :)
>
> create B1 and B2
> umount /dev/A2
> # mdadm --create /dev/md0 -l1 -n2 /dev/A2 /dev/B2
>
> You CAN create a mirror of an existing partition, and NOT lose data.
> I know, I've done it.
Uuuuh - that sounds MUCH better. I really thought that A2 will be lost
by all means. I will definitely try your method. Thanx for your help!
> You can also re-create an existing array (instead of the obvious
> re-assembly),
> and keep all your data.
> The software raid drivers and tools are surprisingly intelligent.
>
> But as always, keep backups :)
>
> --
> Mike Williams
--
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
--
[email protected] mailing list