Gentoo Archives: gentoo-server

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

Attachments

File name MIME type
signature.asc application/pgp-signature