Gentoo Archives: gentoo-user

From: Christoph Gysin <cgysin@×××.ch>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Introducing RAID 1 into a running system
Date: Wed, 07 Sep 2005 15:00:41
Message-Id: 431EFEEE.5000905@gmx.ch
In Reply to: Re: [gentoo-user] Introducing RAID 1 into a running system by Mike Williams
1 Mike Williams wrote:
2 > Quicker method :)
3 >
4 > create B1 and B2
5 > umount /dev/A2
6 > # mdadm --create /dev/md0 -l1 -n2 /dev/A2 /dev/B2
7 >
8 > You CAN create a mirror of an existing partition, and NOT lose data.
9 > I know, I've done it.
10
11 But how does it know which of the devices is the master? Does it simply copy the
12 first device mentioned to the second?
13
14 Also the RAID configuration gets stored on the partition. (see mdadm -Es
15 /dev/hdax). Where will it be put so the filesystem doesn't get corrupted? Are
16 there some reserved blocks the fs won't touch?
17
18 Christoph
19 --
20 echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
21 --
22 gentoo-user@g.o mailing list