Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Failure to start md at boot
Date: Tue, 02 Jun 2015 09:42:45
Message-Id: 1677469.Ah80pmlNML@wstn
In Reply to: Re: [gentoo-user] Failure to start md at boot by Mick
1 On Sunday 31 May 2015 16:34:19 Mick wrote:
2 > On Sunday 31 May 2015 16:09:22 Peter Humphrey wrote:
3 > > On Sunday 31 May 2015 15:18:19 Peter Humphrey wrote:
4 > > > On Sunday 31 May 2015 13:06:58 Mick wrote:
5 > > > > On Sunday 31 May 2015 10:01:43 Peter Humphrey wrote:
6 > > > > > On Friday 29 May 2015 01:10:52 I wrote:
7 > > > > > > OK, so this is what I have at present. I haven't booted with it
8 > > > > > > yet
9 > > > > > > to test it - I'll do that in the morning:
10 > > > > > >
11 > > > > > > DEVICE /dev/sd[abcde][123456789]
12 > > > > > > ARRAY /dev/md1 UUID=ea156c7f:183ca28e:c44c77eb:7ee19756
13 > > > > > > ARRAY /dev/md5 UUID=e7640378:966a5b3a:c44c77eb:7ee19756
14 > > > > > > ARRAY /dev/md7 UUID=c2d056c4:9118021f:ad73c633:b38fa97c
15 > > > > >
16 > > > > > Specifying the UUIDs hasn't helped. I still get failure to start
17 > > > > > /dev/md7
18 > > > > > during boot as often as not.
19 > > > >
20 > > > > Did you try my suggestion to (also) specify the metadata type to see
21 > > > > if
22 > > > > it makes a difference?
23 > > >
24 > > > Ah, no, I missed that. I'll try it and see how it goes.
25 > >
26 > > It hasn't helped.
27 > >
28 > > I think I know what the problem is: namely, that I haven't discovered how
29 > > to set up lvmetad. I get an error "lvmetad is running but disabled" but if
30 > > I enable it in /etc/lvm/lvm.conf I get a different error. What should I be
31 > > doing here? Google hasn't helped me.
32 > >
33 > > In my own defence, I did mention this on Wednesday.
34 >
35 > Sorry, but I don't really know much about LVM because I've never used it in
36 > anger. I just (re)size my partitions as I need them to be. However, I see
37 > this mentioned in the Wiki:
38 >
39 > https://wiki.gentoo.org/wiki/Talk:LVM
40
41 Yes, I'd seen that, and several other sites that shed a little light.
42
43 One thing that does seem to have helped is that I've removed mdraid from the
44 boot run level. Bug 521280 refers. It seems that mdraid must be in the boot
45 run level during installation and the first few boots of the system, but should
46 be removed again when the error "mdadm: No arrays found in config file or
47 automatically" starts appearing at boot time.
48
49 --
50 Rgds
51 Peter