Gentoo Archives: gentoo-server

From: Christoph Gysin <cgysin@×××.ch>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] UUIDs in software RAID arrays
Date: Thu, 13 Oct 2005 18:57:49
Message-Id: 434EAD9C.10509@gmx.ch
In Reply to: [gentoo-server] UUIDs in software RAID arrays by "A. Khattri"
1 A. Khattri wrote:
2 > raid1: raid set md2 active with 2 out of 2 mirrors
3 > md: considering sdb3 ...
4 > md: adding sdb3 ...
5 > md: sdb1 has different UUID to sdb3
6 > md: adding sda3 ...
7 > md: sda1 has different UUID to sdb3
8 > md: created md1
9 >
10 >
11 > Does it really matter if the UUIDs are the same or not?
12
13 Yes it does. Two devices with the same UUID build up one virtual md device.
14
15 What your seeing here is the noisy md module looking for matching devices. It compares every
16 partition of type fd (linux autodetect) to any other with the same type.
17
18 On a system with lots of md devices, this looks like this:
19
20 md: Autodetecting RAID arrays.
21 md: autorun ...
22 md: considering hdc11 ...
23 md: adding hdc11 ...
24 md: hdc10 has different UUID to hdc11
25 md: hdc9 has different UUID to hdc11
26 md: hdc8 has different UUID to hdc11
27 md: hdc7 has different UUID to hdc11
28 md: hdc6 has different UUID to hdc11
29 md: hdc5 has different UUID to hdc11
30 md: hdc3 has different UUID to hdc11
31 md: hdc1 has different UUID to hdc11
32 md: adding hda11 ...
33 md: hda10 has different UUID to hdc11
34 md: hda9 has different UUID to hdc11
35 md: hda8 has different UUID to hdc11
36 md: hda7 has different UUID to hdc11
37 md: hda6 has different UUID to hdc11
38 md: hda5 has different UUID to hdc11
39 md: hda3 has different UUID to hdc11
40 md: hda1 has different UUID to hdc11
41 md: created md8
42 md: bind<hda11>
43 md: bind<hdc11>
44 md: running: <hdc11><hda11>
45 raid1: raid set md8 active with 2 out of 2 mirrors
46 md: considering hdc10 ...
47 md: adding hdc10 ...
48 md: hdc9 has different UUID to hdc10
49 md: hdc8 has different UUID to hdc10
50 md: hdc7 has different UUID to hdc10
51 md: hdc6 has different UUID to hdc10
52 md: hdc5 has different UUID to hdc10
53 md: hdc3 has different UUID to hdc10
54 md: hdc1 has different UUID to hdc10
55 md: adding hda10 ...
56 md: hda9 has different UUID to hdc10
57 md: hda8 has different UUID to hdc10
58 md: hda7 has different UUID to hdc10
59 md: hda6 has different UUID to hdc10
60 md: hda5 has different UUID to hdc10
61 md: hda3 has different UUID to hdc10
62 md: hda1 has different UUID to hdc10
63 md: created md7
64 md: bind<hda10>
65 md: bind<hdc10>
66 md: running: <hdc10><hda10>
67 raid1: raid set md7 active with 2 out of 2 mirrors
68 md: considering hdc9 ...
69 md: adding hdc9 ...
70 md: hdc8 has different UUID to hdc9
71 md: hdc7 has different UUID to hdc9
72 md: hdc6 has different UUID to hdc9
73 md: hdc5 has different UUID to hdc9
74 md: hdc3 has different UUID to hdc9
75 md: hdc1 has different UUID to hdc9
76 md: adding hda9 ...
77 md: hda8 has different UUID to hdc9
78 md: hda7 has different UUID to hdc9
79 md: hda6 has different UUID to hdc9
80 md: hda5 has different UUID to hdc9
81 md: hda3 has different UUID to hdc9
82 md: hda1 has different UUID to hdc9
83 md: created md6
84 md: bind<hda9>
85 md: bind<hdc9>
86 md: running: <hdc9><hda9>
87 raid1: raid set md6 active with 2 out of 2 mirrors
88 md: considering hdc8 ...
89 md: adding hdc8 ...
90 md: hdc7 has different UUID to hdc8
91 md: hdc6 has different UUID to hdc8
92 md: hdc5 has different UUID to hdc8
93 md: hdc3 has different UUID to hdc8
94 md: hdc1 has different UUID to hdc8
95 md: adding hda8 ...
96 md: hda7 has different UUID to hdc8
97 md: hda6 has different UUID to hdc8
98 md: hda5 has different UUID to hdc8
99 md: hda3 has different UUID to hdc8
100 md: hda1 has different UUID to hdc8
101 md: created md5
102 md: bind<hda8>
103 md: bind<hdc8>
104 md: running: <hdc8><hda8>
105 raid1: raid set md5 active with 2 out of 2 mirrors
106 md: considering hdc7 ...
107 md: adding hdc7 ...
108 md: hdc6 has different UUID to hdc7
109 md: hdc5 has different UUID to hdc7
110 md: hdc3 has different UUID to hdc7
111 md: hdc1 has different UUID to hdc7
112 md: adding hda7 ...
113 md: hda6 has different UUID to hdc7
114 md: hda5 has different UUID to hdc7
115 md: hda3 has different UUID to hdc7
116 md: hda1 has different UUID to hdc7
117 md: created md4
118 md: bind<hda7>
119 md: bind<hdc7>
120 md: running: <hdc7><hda7>
121 raid1: raid set md4 active with 2 out of 2 mirrors
122 md: considering hdc6 ...
123 md: adding hdc6 ...
124 md: hdc5 has different UUID to hdc6
125 md: hdc3 has different UUID to hdc6
126 md: hdc1 has different UUID to hdc6
127 md: adding hda6 ...
128 md: hda5 has different UUID to hdc6
129 md: hda3 has different UUID to hdc6
130 md: hda1 has different UUID to hdc6
131 md: created md3
132 md: bind<hda6>
133 md: bind<hdc6>
134 md: running: <hdc6><hda6>
135 raid1: raid set md3 active with 2 out of 2 mirrors
136 md: considering hdc5 ...
137 md: adding hdc5 ...
138 md: hdc3 has different UUID to hdc5
139 md: hdc1 has different UUID to hdc5
140 md: adding hda5 ...
141 md: hda3 has different UUID to hdc5
142 md: hda1 has different UUID to hdc5
143 md: created md2
144 md: bind<hda5>
145 md: bind<hdc5>
146 md: running: <hdc5><hda5>
147 raid1: raid set md2 active with 2 out of 2 mirrors
148 md: considering hdc3 ...
149 md: adding hdc3 ...
150 md: hdc1 has different UUID to hdc3
151 md: adding hda3 ...
152 md: hda1 has different UUID to hdc3
153 md: created md1
154 md: bind<hda3>
155 md: bind<hdc3>
156 md: running: <hdc3><hda3>
157 raid1: raid set md1 active with 2 out of 2 mirrors
158 md: considering hdc1 ...
159 md: adding hdc1 ...
160 md: adding hda1 ...
161 md: created md0
162 md: bind<hda1>
163 md: bind<hdc1>
164 md: running: <hdc1><hda1>
165 raid1: raid set md0 active with 2 out of 2 mirrors
166 md: ... autorun DONE.
167
168 Christoph
169 --
170 echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
171 --
172 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] UUIDs in software RAID arrays "A. Khattri" <ajai@××××.net>