Gentoo Archives: gentoo-user

From: Roy Wright <roy@××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Raid5 not assembled after boot
Date: Sat, 19 Apr 2008 19:52:05
Message-Id: 480A4D2D.3050402@wright.org
1 Howdy,
2
3 This is the first time I've played with a software raid and it looks
4 like I'm missing a part.
5
6 The raid5 consists of three AHCI 1TB drives (sdb1,sdc1,sdd1) assembled
7 as /dev/md1 and formatted ext3. The raid is just a data drive mounted
8 on /var/media.
9
10 Here's the array line from /etc/mdadm.conf:
11
12 ARRAY /dev/md1 level=raid5 num-devices=3
13 UUID=32d159bf:9c7d988b:1caf26c5:a35f83fb
14
15 After boot, /dev/md1 does not exist.
16
17 I can run:
18
19 mdadm --assemble /dev/md1 /dev/sdb1 /dev/sdc1 /dev/sdd1
20
21 which starts /dev/md1 then I can mount the raid fine.
22
23 I've tried adding:
24
25 DEVICE /dev/sd[bcd]1
26
27 to /etc/mdadm.conf, no observable effect.
28
29 /etc/init.d/mdadm is in the boot rc level and is running after boot (I
30 was expecting this to start the array).
31
32 Looking thru dmesg and /var/log/messages, it looks like there are no
33 attempts to start the array until I manually try.
34
35 Any hints on what I'm missing?
36
37 TIA,
38 Roy
39
40
41 --
42 gentoo-user@l.g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Raid5 not assembled after boot Francesco Talamona <ti.liame@×××××.it>