> On Tuesday 11 December 2012 05:18 PM, J. Roeleveld wrote:
>>
>> Ouch, auto-detect does not work with metadata 1.2.
>> Please read the man-page section:
>> ===
>> --auto-detect
>>     Request that the kernel starts any auto-detected arrays. This can
>> only
>> work if md is compiled into the kernel - not if it is a module. Arrays
>> can be auto-detected by the kernel if all the components are in
>> primary MS-DOS partitions with partition type FD, and all use v0.90
>> metadata. In-kernel autodetect is not recommended for new
>> installations. Using mdadm to detect and assemble arrays - possibly in
>> an initrd - is substantially more flexible and should be preferred.
>> ===
>>
>> Please rebuild the raid-device using v0.90 metadata and try again.
>>
>
> I never had mdadm running in boot runlevel and I don't have a modular
> kernel. I have compiled everything into the kernel and hence no initrd
> either as I said earlier.
>
> Raid autodetection seems to work even _without_ mdadm running.
>
> ------------------------------
>
> [    1.202481] md: Waiting for all devices to be available before
> autodetect
> [    1.204268] md: If you don't use raid, use raid=noautodetect
> [    1.206201] md: Autodetecting RAID arrays.
> [    1.232482] md: invalid raid superblock magic on sdb1
> [    1.234306] md: sdb1 does not have a valid v0.90 superblock, not
> importing!
> [    1.263187] md: invalid raid superblock magic on sdd1
> [    1.265034] md: sdd1 does not have a valid v0.90 superblock, not
> importing!
> [    1.285106] md: invalid raid superblock magic on sdc1
> [    1.286960] md: sdc1 does not have a valid v0.90 superblock, not
> importing!
> [    1.288787] md: Scanned 3 and added 0 devices.

This clearly indicates that the "autostart" is not working


> [    3.087705] md/raid0:md0: md_size is 2266111488 sectors.
> [    3.087708] md: RAID0 configuration for md0 - 3 zones
> [    0.524821] ACPI: Invalid Power Resource to register!
> [    3.087711] md: zone0=[
> [    3.087714] sdb1/sdc1/sdd1]
> [    3.087721]       zone-offset=         0KB, device-offset=
> 0KB, size= 468863328KB
> [    3.087723] md: zone1=[sdb1/sdc1]
> [    3.087730]       zone-offset= 468863328KB, device-offset=
> 156287776KB, size= 664191360KB
> [    3.087732] md: zone2=[sdb1]
> [    3.087737]       zone-offset=1133054688KB, device-offset=
> 488383456KB, size=      1056KB
>
> [    3.087752] md0: detected capacity change from 0 to 1160249081856
> [    3.098375]  md0: unknown partition table

Something found and started md0 after the autoraid-detect clearly failed.

> Where did md0 come from if it was not setup by mdadm?

What does "rc-status" show right after boot?

--
Joost


Reply via email to