1 |
On Thu 29 Sep 2011 05:02:40 PM IST, Florian Philipp wrote: |
2 |
> Am 29.09.2011 11:00, schrieb Adam Carter: |
3 |
>> Sanity check please gurus :) |
4 |
>> I've installed the new disks, partitioned them and created the md |
5 |
>> devices, which are now syncing. The kernel already has all the modules |
6 |
>> built in. I believe the next steps are; |
7 |
>> 1 mkfs the md devices |
8 |
>> 2 copy the partitions from the current disk to the mirror |
9 |
>> 3 edit fstab on the mirror |
10 |
>> 4 install mbr on both submirror disks |
11 |
>> 5 halt the box |
12 |
>> 6 set the bios boot order to the two sub mirrors |
13 |
>> 7 boot from mirror |
14 |
>> |
15 |
>> Is that incorrect or incomplete? Do I need to be concerned about disk |
16 |
>> devices being renamed when the original disk is removed? |
17 |
>> |
18 |
> |
19 |
> Is /boot a partition on top of the md device? If it is, you should make |
20 |
> sure to use the --metadata=0.90 when creating the md devices. If it is a |
21 |
> separate md device, this should not be necessary. |
22 |
> |
23 |
> If you run into issues concerning the renaming, you can try to specify |
24 |
> the md devices explicitly with the kernel parameter 'raid=noautodetect |
25 |
> md=0,/dev/sda1,/dev/sdb1' |
26 |
> |
27 |
> Regards, |
28 |
> Florian Philipp |
29 |
> |
30 |
|
31 |
A big thing I learnt while configuring raid on a new server (well, you |
32 |
can't see the kernel boot up messages, so one single misconfiguration |
33 |
and it's a nightmare!) with Gentoo. |
34 |
What I did was, disabled kernel based automatic raid detection and |
35 |
didn't add an initrd with the required modules (md ones). |
36 |
So, make sure that raid support and automatic detection and any other |
37 |
disk related modules are compiled right into the kernel. In fact, I |
38 |
prefer w/o any initrd, all critical stuff right into the kernel. |
39 |
|
40 |
-- |
41 |
Nilesh Govindarajan |
42 |
http://nileshgr.com |