Gentoo Archives: gentoo-server

From: Patrick Lauer <patrick@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm
Date: Wed, 23 Nov 2005 15:41:10
Message-Id: 1132760270.2541.6.camel@localhost
In Reply to: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm by "Jesse
1 On Wed, 2005-11-23 at 09:21 -0600, 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 add a DEVICE line ...
19 mdadm will only use disks that are listed there, e.g.
20 DEVICE /dev/sd[abcd]1
21
22 [snip]
23 > And Google hasn't really helped. The Gentoo Wiki's great for
24 > installation and setup, but I wasn't able to find anything about this.
25 man mdadm / mdadm --help
26 > Thoughts? This must be really simple...
27 It usually is :-)
28
29 wkr,
30 Patrick
31 --
32 Stand still, and let the rest of the universe move

Attachments

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