1 |
On Sun, Apr 18, 2010 at 11:01 AM, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
> On Sun, 18 Apr 2010 08:13:08 -0700, Mark Knecht wrote: |
3 |
> |
4 |
>> I'm not sure that we good advice or not for RAIDs that could be |
5 |
>> assembled later but that's what I did and it leads to the kernel |
6 |
>> trying to do everything before the system is totally up and mdadm is |
7 |
>> really running. |
8 |
> |
9 |
> I only have one RAID1 of 400MB for / and one RAID5 carrying an LVM volume |
10 |
> group for everything else. Using multiple RAID partitions without LVM is |
11 |
> far to complicated for my brain to handle. |
12 |
> |
13 |
> |
14 |
> -- |
15 |
> Neil Bothwick |
16 |
|
17 |
Nahh...I don't believe that for a moment, but this is a rather more |
18 |
complicated task than a basic desktop PC. This is about number |
19 |
crunching using multiple instances of Windows running under VMWare. |
20 |
|
21 |
First, the basic system: |
22 |
|
23 |
/dev/md3 - 50GB 3-drive RAID1 => The ~amd64 install we discussed over |
24 |
the last week. This is the whole Gentoo install. |
25 |
/dev/md5 - 50GB 3-drive RAID1 => A standard stable install - same as |
26 |
md3 but stable, and again the whole Gentoo install. |
27 |
|
28 |
Obviously I don't use the two above at the same time. I'm mostly on |
29 |
stable and testing out ~amd64 right now. I use one or the other. |
30 |
|
31 |
/dev/md11 => 100GB RAID0 - This partition is the main data storage for |
32 |
the 5 Windows VMs I want to run at the same time. I went RAID0 because |
33 |
my Windows apps appear to need an aggregate disk bandwidth of about |
34 |
150-200MB/Sec and I couldn't get that with RAID1. I'll see how well |
35 |
this works out over time. |
36 |
|
37 |
/dev/md6 => 250GB RAID1 used purely as backup for the RAID0 which is |
38 |
backed up daily, although right now not automatically. |
39 |
|
40 |
The RAID0 and backup RAID1 need to be available whether I'm booting |
41 |
stable (md5) or ~amd64. (md3) |
42 |
|
43 |
I found some BIOS options, one of which was as default set to 'Fast |
44 |
Boot'. I disabled that, slowing down boot and hopefully allowing far |
45 |
more time to get the drives online more reliably. So far I've powered |
46 |
off and rebooted 5 or 6 times. Each time the system has come up clean. |
47 |
That's a first. |
48 |
|
49 |
I could maybe post a photo of what I'm seeing at boot but essentially |
50 |
the boot process complains with red exclamation marks about md6 & md11 |
51 |
but in dmesg the only thing I find is the one-liner |
52 |
|
53 |
md: created md3 |
54 |
md: bind<sda3> |
55 |
md: bind<sdc3> |
56 |
md: bind<sdb3> |
57 |
md: running: <sdb3><sdc3><sda3> |
58 |
raid1: raid set md3 active with 3 out of 3 mirrors |
59 |
md3: detected capacity change from 0 to 53694562304 |
60 |
md: ... autorun DONE. |
61 |
md5: unknown partition table |
62 |
|
63 |
and after that no other messages. |
64 |
|
65 |
BTW - I did sort of take a gamble and change the partitions for md6 |
66 |
and md11 to type 83 instead of 0xfd. It doesn't appear to have caused |
67 |
any problems and I have only the above 'unknown partition table' |
68 |
message. Strange as md5 is mounted and the system seems completely |
69 |
happy: |
70 |
|
71 |
mark@c2stable ~ $ df |
72 |
Filesystem 1K-blocks Used Available Use% Mounted on |
73 |
/dev/md5 51612920 7552836 41438284 16% / |
74 |
udev 10240 296 9944 3% /dev |
75 |
/dev/md11 103224600 17422220 80558784 18% /virdata |
76 |
/dev/md6 243534244 24664820 206498580 11% /backups |
77 |
shm 6151580 0 6151580 0% /dev/shm |
78 |
mark@c2stable ~ $ |
79 |
|
80 |
Cheers, |
81 |
Mark |