Gentoo Archives: gentoo-server

From: "Jesse
To: gentoo-server@l.g.o
Subject: RE: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
Date: Wed, 23 Nov 2005 17:05:30
Message-Id: FB5D3CCFCECC2948B5DCF4CABDBE6697545BF2@QTEX1.qg.com
1 Yep! I've been using the RAID sets for awhile, but I rebooted to get
2 sound (*that* I forgot in the kernel) and saw that they didn't come
3 back.
4
5 Thanks!
6 Rich
7
8 -----Original Message-----
9 From: Ewald Wasscher [mailto:ewald@××××××××.net]
10 Sent: Wednesday, November 23, 2005 9:40 AM
11 To: gentoo-server@l.g.o
12 Subject: Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
13
14
15 Jesse, Rich wrote:
16 > Hey all,
17 >
18 > I've got two RAID-0 sets (I know, I know, but they really are
19 expendable
20 > and it's my test box) but when I reboot, the RAID sets are not
21 > reallocated. I've looked in /etc/init.d/mdadm and
22 > /lib/rcscripts/raid_start.sh, but "mdadm --assemble" isn't called and
23 > consequently the RAIDs aren't mounted. Here's the pertinent lines
24 from
25 > /etc/mdadm.conf:
26 >
27 > #DEVICE /dev/sd*
28 > #ARRAY /dev/md0 devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
29 > #ARRAY /dev/md1 devices=/dev/sde,/dev/sdf
30 > ARRAY /dev/md0 level=raid0 num-devices=4
31 > UUID=bb968c49:5ca8ea1b:383ac76f:8950b88a
32 > ARRAY /dev/md1 level=raid0 num-devices=2
33 > UUID=96ba9471:e161224f:6bac7812:23c3f914
34 >
35 > I've tried the commented out lines first, but no autostart so I went
36 > with the bottom ones, which are the output of "mdadm --examine
37 --scan".
38 > And still no autostart. Not that I really thought so, since there's
39 no
40 > "mdadm --assemble" found in the startup, but I'm still kinda green on
41 > mdadm so I thought I'd try.
42 >
43 > And Google hasn't really helped. The Gentoo Wiki's great for
44 > installation and setup, but I wasn't able to find anything about this.
45 >
46 > Thoughts? This must be really simple...
47 >
48 >
49 You do have raid0 compiled in your kernel or loaded as a kernel module,
50 do you? I forgot that once.
51
52 Ewald Wasscher
53
54 --
55 gentoo-server@g.o mailing list