1 |
On Sat, Dec 22, 2012 at 03:24:53PM +0100, Volker Armin Hemmann wrote: |
2 |
> Am Samstag, 22. Dezember 2012, 13:53:42 schrieb Alan Mackenzie: |
3 |
> > Hi, all. |
4 |
|
5 |
> > Just built kernel 3.6.11 and when I tried to install it with lilo, I got |
6 |
> > this difficult error message: |
7 |
|
8 |
> > Fatal: Trying to map files from unnamed device 0x0000 (NFS/RAID |
9 |
> > mirror down ?) |
10 |
|
11 |
> > . So I eventually had a look at dmesg for my raid setup, and found this |
12 |
> > - note lines 15 - 19: |
13 |
|
14 |
> > [ 2.148410] md: Waiting for all devices to be available before |
15 |
> > autodetect |
16 |
> > [ 2.149891] md: If you don't use raid, use raid=noautodetect |
17 |
> > [ 2.151546] md: Autodetecting RAID arrays. |
18 |
> > [ 2.180356] md: Scanned 4 and added 4 devices. |
19 |
> > [ 2.181819] md: autorun ... |
20 |
> > [ 2.183244] md: considering sdb6 ... |
21 |
> > [ 2.184666] md: adding sdb6 ... |
22 |
> > [ 2.186079] md: sdb3 has different UUID to sdb6 |
23 |
> > [ 2.187492] md: adding sda6 ... |
24 |
> > [ 2.188884] md: sda3 has different UUID to sdb6 |
25 |
> > [ 2.190484] md: created md6 |
26 |
> > [ 2.191883] md: bind<sda6> |
27 |
> > [ 2.193224] md: bind<sdb6> |
28 |
> > [ 2.194538] md: running: <sdb6><sda6> |
29 |
> > 15 [ 2.195855] md: kicking non-fresh sda6 from array! |
30 |
> > 16 [ 2.197154] md: unbind<sda6> |
31 |
> > 17 [ 2.205840] md: export_rdev(sda6) |
32 |
> > [ 2.207176] bio: create slab <bio-1> at 1 |
33 |
> > 19 [ 2.208520] md/raid1:md6: active with 1 out of 2 mirrors |
34 |
> > [ 2.209835] md6: detected capacity change from 0 to 34359672832 |
35 |
> > [ 2.211187] md: considering sdb3 ... |
36 |
> > [ 2.212444] md: adding sdb3 ... |
37 |
> > [ 2.213691] md: adding sda3 ... |
38 |
> > [ 2.215117] md: created md3 |
39 |
> > [ 2.216349] md: bind<sda3> |
40 |
> > [ 2.217569] md: bind<sdb3> |
41 |
> > [ 2.218765] md: running: <sdb3><sda3> |
42 |
> > [ 2.220025] md/raid1:md3: active with 2 out of 2 mirrors |
43 |
> > [ 2.221231] md3: detected capacity change from 0 to 429507543040 |
44 |
> > [ 2.222508] md: ... autorun DONE. |
45 |
> > [ 2.230821] md6: unknown partition table |
46 |
|
47 |
> > . Further perusal of a log file showed this error first happened on |
48 |
> > 2012-11-29. It would appear /dev/md6 has been firing on one cylinder |
49 |
> > ever since, and I've been unaware of this. :-( |
50 |
|
51 |
> > What does it mean for sda6 to be "non-fresh"? |
52 |
|
53 |
> > /dev/md6 is my root partition (including /usr :-(), so I can't unmount |
54 |
> > it for investigation. |
55 |
|
56 |
> > Could somebody please suggest how I might go about repairing this |
57 |
> > problem. |
58 |
|
59 |
> boot from systemrescuecd |
60 |
> mdadm -S /dev/md6 |
61 |
> mdadm -A /dev/md6 |
62 |
|
63 |
This didn't quite work, since mdadm -A merely restarted the array without |
64 |
the non-fresh partition. Still it got me searching, and what eventually |
65 |
worked was mdadm /dev/md6 -a /dev/sda6. (Where -a stands for "add".) |
66 |
The mdadm man page is very vague for this use case. |
67 |
|
68 |
|
69 |
> get some coffee. Make some popcorn. The resync will take some while. |
70 |
|
71 |
Indeed it did. The coffee settled me down somewhat. Thanks again! |
72 |
|
73 |
-- |
74 |
Alan Mackenzie (Nuremberg, Germany). |