[ale] SW RAID install problem - can't find root on raid at boot time

Jeff Hubbs hbbs at comcast.net
Tue Aug 29 11:52:50 EDT 2006


Again, from the original message: "* SATA, the SATA chipset in question,
device mapper support, and RAID
1 are all compiled into the kernel." Here's how it looks in menuconfig:


[*] Multiple devices driver support (RAID and LVM) ? ?
? ? <*> RAID support ? ?
? ? <*> Linear (append) mode ? ?
? ? <*> RAID-0 (striping) mode ? ?
? ? <*> RAID-1 (mirroring) mode ? ?
? ? <*> RAID-10 (mirrored striping) mode (EXPERIMENTAL) ? ?
? ? <*> RAID-4/RAID-5 mode ? ?
? ? <*> RAID-6 mode ? ?
? ? <*> Multipath I/O support ? ?
? ? < > Faulty test module for MD ? ?
? ? <*> Device mapper support ? ?
? ? < > Crypt target support ? ?
? ? < > Snapshot target (EXPERIMENTAL) ? ?
? ? < > Mirror target (EXPERIMENTAL) ? ?
? ? < > Zero target (EXPERIMENTAL) ? ?
? ? < > Multipath target (EXPERIMENTAL)

James P. Kinney III wrote:
> Are you sure the kernel in /boot has all the pieces of raid modules
> compiled in (i.e. has support for RAID0, RAID1, etc). It looks like the
> software RAID is in but the RAID level support is not.
>
> On Tue, 2006-08-29 at 10:14 -0400, Jeff Hubbs wrote:
>   
>> >From the original message:
>>
>> "* /dev/sd[ab][23] are all of partition type fd."
>>
>>
>> Christopher Fowler wrote:
>>     
>>> Are the partition types 'fd' ?  "Raid Auto-detect"?
>>>
>>>
>>> On Tue, 2006-08-29 at 09:46 -0400, Jeff Hubbs wrote:
>>>   
>>>       
>>>> Having all manner of trouble with this.
>>>>
>>>> Two SATA drives; onboard RAID disabled in favor of SW RAID:
>>>>
>>>>   ptn |   1   |   2   |   3   |
>>>>  disk ------------------------
>>>>   sda | /boot |  md1  |  md2  |
>>>>   sdb | spare |  md1  |  md2  |
>>>>
>>>> The goal here is to mount /dev/md1 at boot.
>>>>
>>>> At boot, I get:
>>>>
>>>>   md: autodetecting raid arrays
>>>>   md: autorun...
>>>>   md: ...autorun done
>>>>   VFS: cannot open root device "md1" or unknown-device(0,0)
>>>>   please append a correct "root=" boot option
>>>>   Kernel panic - not syncing: vfs : unable to mount root fs on
>>>> unknown-block(0,0)
>>>>
>>>> I have been using http://tinyurl.com/mauwd for guidance.  I am not now
>>>> dealing with LVM (that will involve /dev/md2, after I get this machine
>>>> booting on its own.
>>>>
>>>> Let me try to cover the more obvious things:
>>>>   * SATA, the SATA chipset in question, device mapper support, and RAID
>>>> 1 are all compiled into the kernel.
>>>>   * /etc/mdadm.conf looks like
>>>>
>>>>         DEVICE /dev/sd[ab][23]
>>>>         ARRAY /dev/md2 level=raid1 num-devices=2
>>>> UUID=833313e0:55a9f505:b67e7c38:af37019a
>>>>         ARRAY /dev/md1 level=raid1 num-devices=2
>>>> UUID=b67bd189:933757ef:ef6dff61:50ad811a
>>>>
>>>>     (Note: the two ARRAY lines were generated with mdadm --detail --scan
>>>> when booted to a livecd with
>>>>      the RAID volumes up and running)
>>>>   * /dev/sd[ab][23] are all of partition type fd.
>>>>   * /dev/md1 and /dev/md2 are fundamentally sound; I can boot to a
>>>> LiveCD, modprobe raid1,
>>>>     mdadm --assemble, and mount them right up with no problem.
>>>>
>>>> I made a point of not being module-dependent at boot.  I have no initrd,
>>>> and the doc I linked to above likewise has no initrd. 
>>>>
>>>> Anything here I've missed?
>>>>
>>>> - Jeff
>>>> _______________________________________________
>>>> Ale mailing list
>>>> Ale at ale.org
>>>> http://www.ale.org/mailman/listinfo/ale
>>>>     
>>>>         
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://www.ale.org/mailman/listinfo/ale
>>>
>>>   
>>>       
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>>     
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list