On Jan 9, 2008 5:05 AM, Raimo Niskanen <[EMAIL PROTECTED]> wrote: > On Wed, Jan 09, 2008 at 02:00:31AM -0500, Nick Guenther wrote: > > On Jan 9, 2008 1:22 AM, William Sloan <[EMAIL PROTECTED]> wrote: > > > Dear misc -- > > > > > > I'm attempting to get a root partition on raid 1 RaidFrame > > > configuration working with OpenBSD 4.2. I have a Soekris 4801 with a > > > compact flash card, a USB 2.0 PCI card and 2 identical external usb > > > hard drives. > > > > > > I built a new kernel configured with the pseudo-device raid 4 and > > > option RAID_AUTOCONFIG. > > > > > > I installed OpenBSD on the compact flash, created and initialized > > > the raid array, set the raid device to autoconfigure and set the root > > > flag, changed fstab on the raid disks to point root to raid0a instead > > > of wd0a and rebooted. When the system rebooted wd0a was mounted as > > > root. > > > > > > Attached is dmesg, mount, raid0.conf, disklables. raidctl -sv > > > output. > > > > > > If someone can point me in the direction of what to look at or > > > give > > > me any ideas of what could be going wrong. > > > > > > > When you build your new kernel you also need to change config(8) to > > "set root on raid0". fstab isn't read until *after* the root is > > mounted, remember; how is it going to know to read from > > raid0a:/etc/fstab if the file to tell it that is raid0a:/etc/fstab? > > > > This was not needed in 4.1, just setting the RAID_AUTOCONFIG and > setting the root flag on the raid array was enough, just as wsloan > did it was enough. This is my /usr/src/sys/arch/i386/conf/GENERIC.RAID: > # > # GENERIC.RAID - Add kernelized RAIDframe disk driver > # > include "arch/i386/conf/GENERIC" > > option RAID_AUTOCONFIG > pseudo-device raid 4 > > My raid0 has > Autoconfig: Yes > Root partition: Yes > and that was enough in OpenBSD 4.1 > > Has the behaviour changed? > > Is there somewhere else to configure the root device, e.g from > /etc/boot.conf. I know you can give a flag -a to boot(8) to make > the kernel ask for a root device, but I do not find a root device > variable to set there, nor in options(4) and boot_config(8).
No. No it hasn't. And I've been been burned by not doing my research all the way through yet again. Sorry. -Nick

