Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Software RAID-1
Date: Sun, 24 Aug 2014 16:07:04
Message-Id: 201408241706.41617.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Software RAID-1 by Peter Humphrey
1 On Sunday 24 Aug 2014 14:51:23 Peter Humphrey wrote:
2 > Hello list,
3 >
4 > For several years I've been running with / on /dev/md5 (0.99 metadata),
5 > which is built on /dev/sd[ab]5. At each boot I see a message scroll by
6 > saying something like "No devices found in config file or automatically"
7 > and then lvm continues to assemble md5 anyway and mount its file system.
8 > The rest of my partitions are on /dev/md7 (1.0 metadata), which is built
9 > on /dev/sd[ab]7. Oh, except for /boot, which is on /dev/sda1 with a copy
10 > on /dev/sdb1.
11 >
12 > So I decided to clean up /etc/mdadm.conf by adding these lines:
13 >
14 > DEVICE /dev/sda* /dev/sdb*
15 > ARRAY /dev/md5 devices=/dev/sda5,/dev/sdb5
16 > ARRAY /dev/md7 devices=/dev/sda7,/dev/sdb7
17 > ARRAY /dev/md9 devices=/dev/sda9,/dev/sdb9
18 >
19 > Now at boot time the no-devices error doesn't appear, but I get a blank
20 > line with a red asterisk.
21 >
22 > What am I doing wrong?
23
24 I suspect that mdadm is warning you that it can't find any arrays in
25 mdadm.conf and then proceeds to automatically scan and mount RAIDs.
26
27 If you want to add something in it, then you can use the output of:
28
29 mdadm --examine --scan
30
31 and append the relevant line to your mdadm.conf.
32
33 --
34 Regards,
35 Mick

Attachments

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