1 |
On Sunday 31 May 2015 10:01:43 I wrote: |
2 |
> I've split this out from the previous thread because it was getting messy. |
3 |
> I'd followed Rich Freeman's advice to specify arrays by UUID in mdadm.conf, |
4 |
> and this is what happened: |
5 |
> |
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 yet to |
8 |
> > test |
9 |
> > 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 /dev/md7 |
17 |
> during boot as often as not. |
18 |
|
19 |
What I hope will be the final postscript: |
20 |
|
21 |
I did eventually find the right setup, thus: |
22 |
|
23 |
# cat /etc/mdadm.conf |
24 |
# mdadm configuration file |
25 |
# |
26 |
DEVICE /dev/sd[ab][123456789] |
27 |
ARRAY /dev/md1 metadata=0.90 UUID=0240695f:38fe6523:7bfe4778:da957cc1 |
28 |
ARRAY /dev/md5 metadata=0.90 UUID=a6a8a1bf:f7058f1d:7bfe4778:da957cc1 |
29 |
ARRAY /dev/md7 metadata=1.2 UUID=77f93f10:1ff22cae:81c5117d:5c25873e |
30 |
ARRAY /dev/md8 metadata=0.90 UUID=ce921c64:3685e8c7:7bfe4778:da957cc1 |
31 |
ARRAY /dev/md9 metadata=1.2 UUID=0f74fff3:cdae1a64:0a44d949:4f1ad406 |
32 |
|
33 |
But I was still getting occasional failures of /dev/md7 to start - this |
34 |
contains all except the root and boot partitions of my everyday system, in |
35 |
LVM. It turns out that I had the wrong UUID specified in the file above, but |
36 |
nevertheless, almost always the system found the right devices to start. Now |
37 |
that I've corrected it I don't expect any more failures (that's what I meant |
38 |
when I said I hope this is the final postscript.) |
39 |
|
40 |
In case anyone's interested, I've been installing a qt5 equivalent of my main |
41 |
system, using md8 as the root partition and md9 (plus LVM) for everything |
42 |
else. Oh, except /boot, which is md1 in common with the main system. My fstabs |
43 |
are getting long and complicated! |
44 |
|
45 |
-- |
46 |
Rgds |
47 |
Peter |