Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] raid autodetection uuid differences
Date: Sat, 17 Apr 2010 20:31:50
Message-Id: 201004172230.57861.volkerarmin@googlemail.com
In Reply to: [gentoo-user] raid autodetection uuid differences by David Mehler
1 On Samstag 17 April 2010, David Mehler wrote:
2 > Hello,
3 > I've got a new gentoo box with two drives that i'm using raid1 on. On
4 > boot the md raid autodetection is failing. Here's the error i'm
5 > getting:
6 >
7 > md: Waiting for all devices to be available before autodetect
8 > md: If you don't use raid, use raid=noautodetect
9 > md: Autodetecting RAID arrays.
10 > md: Scanned 4 and added 4 devices.
11 > md: autorun ...
12 > md: considering sda3 ...
13 > md: adding sda3 ...
14 > md: sda1 has different UUID to sda3
15 > md: adding sdb3 ...
16 > md: sdb1 has different UUID to sda3
17 > md: created md3
18 > md: bind<sdb3>
19 > md: bind<sda3>
20 > md: running: <sda3><sdb3>
21 > md: personality for level 1 is not loaded!
22 > md: do_md_run() returned -22
23 > md: md3 stopped.
24 > md: unbind<sda3>
25 > md: export_rdev(sda3)
26 > md: unbind<sdb3>
27 > md: export_rdev(sdb3)
28 > md: considering sda1 ...
29 > md: adding sda1 ...
30 > md: adding sdb1 ...
31 > md: created md1
32 > md: bind<sdb1>
33 > md: bind<sda1>
34 > md: running: <sda1><sdb1>
35 > md: personality for level 1 is not loaded!
36 > md: do_md_run() returned -22
37 > md: md1 stopped.
38 > md: unbind<sda1>
39 > md: export_rdev(sda1)
40 > md: unbind<sdb1>
41 > md: export_rdev(sdb1)
42 > md: ... autorun DONE.
43 > EXT3-fs: unable to read superblock
44 > FAT: unable to read boot sector
45 > VFS: Cannot open root device "md3" or unknown-block(9,3)
46 > Please append a correct "root=" boot option; here are the available
47 > partitions: 1600 4194302 hdc driver: ide-cdrom
48 > 0810 20971520 sdb driver: sd
49 > 0811 40131 sdb1
50 > 0812 530145 sdb2
51 > 0813 20394517 sdb3
52 > 0800 20971520 sda driver: sd
53 > 0801 40131 sda1
54 > 0802 530145 sda2
55 > 0803 20394517 sda3
56 > Kernel panic - not syncing: VFS: Unable to mount root fs on
57 > unknown-block(9,3) Pid: 1, comm: swapper Not tainted 2.6.32-gentoo-r7 #1
58 > Call Trace:
59 > [<c12e4bd9>] ? panic+0x38/0xd3
60 > [<c143fb34>] ? mount_block_root+0x1e9/0x1fd
61 > [<c143fb81>] ? mount_root+0x39/0x4d
62 > [<c143fcd7>] ? prepare_namespace+0x142/0x168
63 > [<c143f31e>] ? kernel_init+0x167/0x172
64 > [<c143f1b7>] ? kernel_init+0x0/0x172
65 > [<c100344f>] ? kernel_thread_helper+0x7/0x10
66 >
67 > I've booted with a live CD and checked the arrays they look good, i'm
68 > not sure how to correct this UUID issue, any suggestions welcome.
69 > Thanks.
70 > Dave.
71
72 well, don't make raid1 support a module. Put it into the kernel.