1 |
Well yes, I had previously tried the lines that were commented out, |
2 |
including the DEVICE statement as listed. And I had followed one of the |
3 |
conventions given in mdadm.conf(5) -- using the "*" to wildcard the |
4 |
devices. I had seen other examples on the net where an SA had used |
5 |
multiple DEVICE statement to separate out the devices with their |
6 |
respective ARRAYs, but there's no mention of that being needed in the |
7 |
man pages of mdadm/mdadm.conf that I could find. |
8 |
|
9 |
And I may be a little dense here, but I still don't see an "mdadm |
10 |
--assemble" in the startup anywhere, so I'm a little confused as to how |
11 |
this is supposed to happen. Rough being a raidtools kinda guy for all |
12 |
those years... ;) |
13 |
|
14 |
Thanks! |
15 |
Rich |
16 |
|
17 |
-----Original Message----- |
18 |
From: Patrick Lauer [mailto:patrick@g.o] |
19 |
Sent: Wednesday, November 23, 2005 9:38 AM |
20 |
To: gentoo-server@l.g.o |
21 |
Subject: Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm |
22 |
|
23 |
|
24 |
On Wed, 2005-11-23 at 09:21 -0600, Jesse, Rich wrote: |
25 |
> Hey all, |
26 |
> |
27 |
> I've got two RAID-0 sets (I know, I know, but they really are |
28 |
expendable |
29 |
> and it's my test box) but when I reboot, the RAID sets are not |
30 |
> reallocated. I've looked in /etc/init.d/mdadm and |
31 |
> /lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and |
32 |
> consequently the RAIDs aren't mounted. Here's the pertinent lines |
33 |
from |
34 |
> /etc/mdadm.conf: |
35 |
> |
36 |
> #DEVICE /dev/sd* |
37 |
> #ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd |
38 |
> #ARRAY /dev/md1 devices=/dev/sde,/dev/sdf |
39 |
> ARRAY /dev/md0 level=raid0 num-devices=4 |
40 |
> UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a |
41 |
> ARRAY /dev/md1 level=raid0 num-devices=2 |
42 |
> UUID=96ba9471:e161224f:6bac7812:23c3f914 |
43 |
add a DEVICE line ... |
44 |
mdadm will only use disks that are listed there, e.g. |
45 |
DEVICE /dev/sd[abcd]1 |
46 |
|
47 |
[snip] |
48 |
> And Google hasn't really helped. The Gentoo Wiki's great for |
49 |
> installation and setup, but I wasn't able to find anything about this. |
50 |
man mdadm / mdadm --help |
51 |
> Thoughts? This must be really simple... |
52 |
It usually is :-) |
53 |
|
54 |
wkr, |
55 |
Patrick |
56 |
-- |
57 |
Stand still, and let the rest of the universe move |
58 |
|
59 |
-- |
60 |
gentoo-server@g.o mailing list |