Gentoo Archives: gentoo-server

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

Replies

Subject Author
Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm Patrick Lauer <patrick@g.o>
Re: [gentoo-server] Auto allocating RAID sets on reboot w/mdadm Ewald Wasscher <ewald@××××××××.net>