On Dec 11, 2012 7:57 AM, "Nilesh Govindrajan" <[email protected]> wrote: > > 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. > [ 1.290590] md: autorun ... > [ 1.292380] md: ... autorun DONE. > [ 1.340838] UDF-fs: warning (device sda1): udf_fill_super: No > partition found (1) > [ 1.350473] XFS (sda1): Mounting Filesystem > [ 1.454096] usb usb5: suspend_rh (auto-stop) > [ 1.454130] usb usb4: suspend_rh (auto-stop) > [ 1.455673] usb usb2: suspend_rh (auto-stop) > [ 1.455698] usb usb3: suspend_rh (auto-stop) > [ 1.573933] XFS (sda1): Ending clean mount > [ 1.575762] VFS: Mounted root (xfs filesystem) readonly on device 8:1. > [ 1.578193] Freeing unused kernel memory: 456k freed > [ 1.580154] BFS CPU scheduler v0.425 by Con Kolivas. > [ 2.503599] systemd-udevd[974]: starting version 196 > [ 2.704048] hub 2-0:1.0: hub_suspend > [ 2.704063] usb usb2: bus auto-suspend, wakeup 1 > [ 2.704068] usb usb2: suspend_rh > [ 2.704091] hub 3-0:1.0: hub_suspend > [ 2.704098] usb usb3: bus auto-suspend, wakeup 1 > [ 2.704102] usb usb3: suspend_rh > [ 2.708031] hub 4-0:1.0: hub_suspend > [ 2.708041] usb usb4: bus auto-suspend, wakeup 1 > [ 2.708046] usb usb4: suspend_rh > [ 2.712023] hub 5-0:1.0: hub_suspend > [ 2.712030] usb usb5: bus auto-suspend, wakeup 1 > [ 2.712034] usb usb5: suspend_rh > [ 2.794061] hub 1-6:1.0: hub_suspend > [ 2.794072] usb 1-6: unlink qh256-0001/ffff8800bb832980 start 1 [1/0 us] > [ 2.797202] usb 1-6: usb auto-suspend, wakeup 1 > [ 2.973953] md: bind<sdb1> > [ 3.020879] md: bind<sdc1> > [ 3.086724] md: bind<sdd1> > [ 3.087690] bio: create slab <bio-1> at 1 > [ 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 > > ------------------------------------------------------------------------- > > Where did md0 come from if it was not setup by mdadm?
Metadata format 0.9 supports auto-detection by the kernel. > > -- > Nilesh Govindarajan > http://nileshgr.com >

