1 |
On Thursday 28 May 2015 19:51:24 Rich Freeman wrote: |
2 |
> On Thu, May 28, 2015 at 1:03 PM, Peter Humphrey <peter@××××××××××××.uk> |
3 |
wrote: |
4 |
> > I've found blkid, which tells me the UUIDs of my various devices, thus: |
5 |
> > |
6 |
> > # blkid /dev/md7 |
7 |
> > /dev/md7: UUID="ycGMf9-hEP2-tjT4-AtkJ-n8RI-pZ44-RqvlEY" |
8 |
> > TYPE="LVM2_member" |
9 |
> |
10 |
> Just keep in mind that the UUID that goes into mdadm.conf might not be |
11 |
> the same UUID returned by blkid. I'm honestly not certain either way. |
12 |
> You can get the mdadm ID from mdadm --detail --scan. |
13 |
|
14 |
Good grief! When is a UUID not a UUID? Or, how can one device have more than |
15 |
one UUID? |
16 |
|
17 |
|
18 |
> > Two odd things: |
19 |
> > 1. /dev/md7 is the physical volume in which logical volumes are |
20 |
> > defined, so I'm surprised to see TYPE="LVM2_member". |
21 |
> |
22 |
> I'm pretty sure this is fine. It recognizes it as an LVM pv, so that |
23 |
> makes it an LVM2 member. |
24 |
|
25 |
If you say so. It still smells a bit to me. |
26 |
|
27 |
> > 2. There is no entry corresponding to /dev/md7 under |
28 |
> > /dev/disk/by-uuid, though /dev/md1 and /dev/md5 do have entries there |
29 |
> > [1]. |
30 |
> |
31 |
> udev may be configured to not create uuid symlinks for LVM pvs (since |
32 |
> you wouldn't directly mount them anyway). The others contain |
33 |
> filesystems and do get symlinks. |
34 |
> |
35 |
> > What should I be doing about this? |
36 |
> |
37 |
> I'd probably just edit your mdadm.conf to be more liberal with |
38 |
> scanning, and add the arrays output by mdadm --detail --scan to your |
39 |
> config file. That alone may make your problems go away, and it should |
40 |
> be pretty harmless. |
41 |
|
42 |
OK, so this is what I have at present. I haven't booted with it yet to test it |
43 |
- I'll do that in the morning: |
44 |
|
45 |
DEVICE /dev/sd[abcde][123456789] |
46 |
ARRAY /dev/md1 UUID=ea156c7f:183ca28e:c44c77eb:7ee19756 |
47 |
ARRAY /dev/md5 UUID=e7640378:966a5b3a:c44c77eb:7ee19756 |
48 |
ARRAY /dev/md7 UUID=c2d056c4:9118021f:ad73c633:b38fa97c |
49 |
|
50 |
> Nothing about what you've written here concerns me. |
51 |
|
52 |
Well, let us be thankful for small mercies :-) |
53 |
|
54 |
-- |
55 |
Rgds |
56 |
Peter |