Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: Alan Mackenzie <acm@×××.de>
Subject: Re: [gentoo-user] How broken is my raid device /dev/md6?
Date: Sat, 22 Dec 2012 14:26:23
Message-Id: 1442628.2Dn10PouDC@localhost
In Reply to: [gentoo-user] How broken is my raid device /dev/md6? by Alan Mackenzie
1 Am Samstag, 22. Dezember 2012, 13:53:42 schrieb Alan Mackenzie:
2 > Hi, all.
3 >
4 > Just built kernel 3.6.11 and when I tried to install it with lilo, I got
5 > this difficult error message:
6 >
7 > Fatal: Trying to map files from unnamed device 0x0000 (NFS/RAID
8 > mirror down ?)
9 >
10 > . So I eventually had a look at dmesg for my raid setup, and found this
11 > - note lines 15 - 19:
12 >
13 > [ 2.148410] md: Waiting for all devices to be available before
14 > autodetect
15 > [ 2.149891] md: If you don't use raid, use raid=noautodetect
16 > [ 2.151546] md: Autodetecting RAID arrays.
17 > [ 2.180356] md: Scanned 4 and added 4 devices.
18 > [ 2.181819] md: autorun ...
19 > [ 2.183244] md: considering sdb6 ...
20 > [ 2.184666] md: adding sdb6 ...
21 > [ 2.186079] md: sdb3 has different UUID to sdb6
22 > [ 2.187492] md: adding sda6 ...
23 > [ 2.188884] md: sda3 has different UUID to sdb6
24 > [ 2.190484] md: created md6
25 > [ 2.191883] md: bind<sda6>
26 > [ 2.193224] md: bind<sdb6>
27 > [ 2.194538] md: running: <sdb6><sda6>
28 > 15 [ 2.195855] md: kicking non-fresh sda6 from array!
29 > 16 [ 2.197154] md: unbind<sda6>
30 > 17 [ 2.205840] md: export_rdev(sda6)
31 > [ 2.207176] bio: create slab <bio-1> at 1
32 > 19 [ 2.208520] md/raid1:md6: active with 1 out of 2 mirrors
33 > [ 2.209835] md6: detected capacity change from 0 to 34359672832
34 > [ 2.211187] md: considering sdb3 ...
35 > [ 2.212444] md: adding sdb3 ...
36 > [ 2.213691] md: adding sda3 ...
37 > [ 2.215117] md: created md3
38 > [ 2.216349] md: bind<sda3>
39 > [ 2.217569] md: bind<sdb3>
40 > [ 2.218765] md: running: <sdb3><sda3>
41 > [ 2.220025] md/raid1:md3: active with 2 out of 2 mirrors
42 > [ 2.221231] md3: detected capacity change from 0 to 429507543040
43 > [ 2.222508] md: ... autorun DONE.
44 > [ 2.230821] md6: unknown partition table
45 >
46 > . Further perusal of a log file showed this error first happened on
47 > 2012-11-29. It would appear /dev/md6 has been firing on one cylinder
48 > ever since, and I've been unaware of this. :-(
49 >
50 > What does it mean for sda6 to be "non-fresh"?
51 >
52 > /dev/md6 is my root partition (including /usr :-(), so I can't unmount
53 > it for investigation.
54 >
55 > Could somebody please suggest how I might go about repairing this
56 > problem.
57
58 boot from systemrescuecd
59 mdadm -S /dev/md6
60 mdadm -A /dev/md6
61
62 get some coffee. Make some popcorn. The resync will take some while.
63
64 >
65 > Thanks!
66 --
67 #163933

Replies

Subject Author
Re: [gentoo-user] How broken is my raid device /dev/md6? Alan Mackenzie <acm@×××.de>