1 |
On Tuesday 11 December 2012 05:18 PM, J. Roeleveld wrote: |
2 |
> |
3 |
> Ouch, auto-detect does not work with metadata 1.2. |
4 |
> Please read the man-page section: |
5 |
> === |
6 |
> --auto-detect |
7 |
> Request that the kernel starts any auto-detected arrays. This can only |
8 |
> work if md is compiled into the kernel - not if it is a module. Arrays |
9 |
> can be auto-detected by the kernel if all the components are in |
10 |
> primary MS-DOS partitions with partition type FD, and all use v0.90 |
11 |
> metadata. In-kernel autodetect is not recommended for new |
12 |
> installations. Using mdadm to detect and assemble arrays - possibly in |
13 |
> an initrd - is substantially more flexible and should be preferred. |
14 |
> === |
15 |
> |
16 |
> Please rebuild the raid-device using v0.90 metadata and try again. |
17 |
> |
18 |
|
19 |
I never had mdadm running in boot runlevel and I don't have a modular |
20 |
kernel. I have compiled everything into the kernel and hence no initrd |
21 |
either as I said earlier. |
22 |
|
23 |
Raid autodetection seems to work even _without_ mdadm running. |
24 |
|
25 |
------------------------------ |
26 |
|
27 |
[ 1.202481] md: Waiting for all devices to be available before autodetect |
28 |
[ 1.204268] md: If you don't use raid, use raid=noautodetect |
29 |
[ 1.206201] md: Autodetecting RAID arrays. |
30 |
[ 1.232482] md: invalid raid superblock magic on sdb1 |
31 |
[ 1.234306] md: sdb1 does not have a valid v0.90 superblock, not |
32 |
importing! |
33 |
[ 1.263187] md: invalid raid superblock magic on sdd1 |
34 |
[ 1.265034] md: sdd1 does not have a valid v0.90 superblock, not |
35 |
importing! |
36 |
[ 1.285106] md: invalid raid superblock magic on sdc1 |
37 |
[ 1.286960] md: sdc1 does not have a valid v0.90 superblock, not |
38 |
importing! |
39 |
[ 1.288787] md: Scanned 3 and added 0 devices. |
40 |
[ 1.290590] md: autorun ... |
41 |
[ 1.292380] md: ... autorun DONE. |
42 |
[ 1.340838] UDF-fs: warning (device sda1): udf_fill_super: No |
43 |
partition found (1) |
44 |
[ 1.350473] XFS (sda1): Mounting Filesystem |
45 |
[ 1.454096] usb usb5: suspend_rh (auto-stop) |
46 |
[ 1.454130] usb usb4: suspend_rh (auto-stop) |
47 |
[ 1.455673] usb usb2: suspend_rh (auto-stop) |
48 |
[ 1.455698] usb usb3: suspend_rh (auto-stop) |
49 |
[ 1.573933] XFS (sda1): Ending clean mount |
50 |
[ 1.575762] VFS: Mounted root (xfs filesystem) readonly on device 8:1. |
51 |
[ 1.578193] Freeing unused kernel memory: 456k freed |
52 |
[ 1.580154] BFS CPU scheduler v0.425 by Con Kolivas. |
53 |
[ 2.503599] systemd-udevd[974]: starting version 196 |
54 |
[ 2.704048] hub 2-0:1.0: hub_suspend |
55 |
[ 2.704063] usb usb2: bus auto-suspend, wakeup 1 |
56 |
[ 2.704068] usb usb2: suspend_rh |
57 |
[ 2.704091] hub 3-0:1.0: hub_suspend |
58 |
[ 2.704098] usb usb3: bus auto-suspend, wakeup 1 |
59 |
[ 2.704102] usb usb3: suspend_rh |
60 |
[ 2.708031] hub 4-0:1.0: hub_suspend |
61 |
[ 2.708041] usb usb4: bus auto-suspend, wakeup 1 |
62 |
[ 2.708046] usb usb4: suspend_rh |
63 |
[ 2.712023] hub 5-0:1.0: hub_suspend |
64 |
[ 2.712030] usb usb5: bus auto-suspend, wakeup 1 |
65 |
[ 2.712034] usb usb5: suspend_rh |
66 |
[ 2.794061] hub 1-6:1.0: hub_suspend |
67 |
[ 2.794072] usb 1-6: unlink qh256-0001/ffff8800bb832980 start 1 [1/0 us] |
68 |
[ 2.797202] usb 1-6: usb auto-suspend, wakeup 1 |
69 |
[ 2.973953] md: bind<sdb1> |
70 |
[ 3.020879] md: bind<sdc1> |
71 |
[ 3.086724] md: bind<sdd1> |
72 |
[ 3.087690] bio: create slab <bio-1> at 1 |
73 |
[ 3.087705] md/raid0:md0: md_size is 2266111488 sectors. |
74 |
[ 3.087708] md: RAID0 configuration for md0 - 3 zones |
75 |
[ 0.524821] ACPI: Invalid Power Resource to register! |
76 |
[ 3.087711] md: zone0=[ |
77 |
[ 3.087714] sdb1/sdc1/sdd1] |
78 |
[ 3.087721] zone-offset= 0KB, device-offset= |
79 |
0KB, size= 468863328KB |
80 |
[ 3.087723] md: zone1=[sdb1/sdc1] |
81 |
[ 3.087730] zone-offset= 468863328KB, device-offset= |
82 |
156287776KB, size= 664191360KB |
83 |
[ 3.087732] md: zone2=[sdb1] |
84 |
[ 3.087737] zone-offset=1133054688KB, device-offset= |
85 |
488383456KB, size= 1056KB |
86 |
|
87 |
[ 3.087752] md0: detected capacity change from 0 to 1160249081856 |
88 |
[ 3.098375] md0: unknown partition table |
89 |
|
90 |
------------------------------------------------------------------------- |
91 |
|
92 |
Where did md0 come from if it was not setup by mdadm? |
93 |
|
94 |
-- |
95 |
Nilesh Govindarajan |
96 |
http://nileshgr.com |