Thanks for the much more productive and helpful response. ;-) Responses below...
On Saturday 07 April 2007 12:01:20 pm jared r r spiegel wrote > On Sat, Apr 07, 2007 at 02:41:50AM -0700, Merp.com Volunteer wrote: > > I'm trying to have it setup as: > > /raid0a => /boot > > /raid0d => / > > /raid0e => /usr > > > > Instead it's coming up as: > > /raid0a => / > > /raid0e => /usr > > first, caveat that i've never setup root-on-raid; however sometime in the > near future i will be, so i've looked at the docs a couple of times. > > i thought you could only do root-on-raid[frame] if you used a nonraid > boot partition: > > from raid(4): > > --- > RAID filesystems which are automatically configured > are also eligible to be the root filesystem. There is currently no sup- > port for booting a kernel directly from a RAID set. To use a RAID set as > the root filesystem, a kernel is usually obtained from a small non-RAID > partition, after which any auto-configuring RAID set can be used for the > root filesystem. > --- > > my interpretation of that is that a construct like: > > My fstab looks like: > > /dev/raid0a /boot ffs rw 1 1 > > ^^^^^^^^^^^^^^^^^^^ > > is invalid. > > you'd need a regular wd(4)/sd(4)/whatever partition to boot from. > > * in openbsd, '/boot' is a file (the 2nd stage boot loader), not a > directory (like linux), as is indicated in biosboot(8): > That would explain why they were setup that way when I came onboard (though it wasn't working, that could have been because of the fstab not matching). This definitely seems less robust and reliable, and easily recoverable than the other software raid implementations I've experienced. Hopefully the benefits of OpenBSD in general will outweight the consequences of this kind of setup. Thanks for the specific clarifications, I'll adjust that area accordingly, I don't think that will be very difficult at this stage. > --- > FILES > /usr/mdec/mbr Master Boot Record block > /usr/mdec/biosboot primary bootstrap > --> /boot secondary bootstrap <-- > /usr/mdec/pxeboot PXE bootstrap > /bsd OpenBSD kernel > /bsd.mp OpenBSD kernel for multi-processor machines > /bsd.rd OpenBSD kernel for installation/recovery > --- > > so to accomodate the root on raid, say with two physical IDE drives > in the box, you setup the disklabel on the harddrives identically, > and then have your 'a' partitions be regular 4.2_BSD partitions, > and then make the 'd' partitions type RAID, and then setup raid0.conf > to use wd0d and wd1d, build your raid drive off that, and then setup > the disklabel inside raid0 however you want for the partitions you > want to be on raid ( in your case, '/' and '/usr' ). > > the 'a' partitions would not need to be large at all (256MB would > probably be more than enough) because all they're gonna do is > have the bootloader and the kernel on them. they might not even > appear in fstab at all. > > when the machine boots the openbsd bootloader on that wd0a partition, > it loads up and then when the kernel looks for a root partition, > if you've setup the '/' on the raid to be '-A root', it would > load that up. > > the filesystem layout on the wd0a would only need to have the > basic kernel and boot files, and then an '/etc/boot.conf' if you > used that. Thank you very much for that information. I'll try making those corrections. And report back. Thanks again for your help! > > > My raid0.conf looks like: > > raid0.conf looks fine. > > > Not sure what else I should include. > > the disklabels (and might as well do fdisk output) of wd0 and wd1. > Ok, I'll try the above recommended corrections, and if there's still a problem, include the additional output. > maybe you're coming up r/o because of that '/boot' in fstab thing. > Seems most likely. > if it seems that everything i said above is already how you have it, > also including a copy/paste of the bootup (from kernel down to getty) > might help. might need a serial console to get that info, as there's > no analogue to linux's 'bootlogd'. Thanks. Cheers! -- *** Volunteer Team for the completely non-profit, non-revenue, non-business-entity dedicated to the Middle-earth Role-playing International Community at Merp.com "Fighting the noble battle against the dark forces, trying to keep alive, and growing, the dream and joy of role-playing gaming in J.R.R. Tolkien's Middle-earth" http://www.merp.com Mailing list subscribe: [EMAIL PROTECTED] IRC (Internet Relay Chat) Server: irc.merp.com (channel: #merpchat) Yahoo=merpcom ICQ=293-163-919 [EMAIL PROTECTED] Alternate Email: [EMAIL PROTECTED] (in case you're blocked by our spam filters). Be sure to sign up for the 3rd annual International MerpCon (2007): July 27th, 28th, & 29th in Spokane, WA, USA. This event is not run by merp.com, but by a different group of volunteers, but merp.com has donated many services to help them out. Show them your support by signing up, spreading the word, and showing up. http://www.merpcon.com "I would draw some of the great tales in fullness, and leave many only placed in the scheme, and sketched. The cycles should be linked to a majestic whole, and yet leave scope for other minds and hands, wielding paint and music and drama..." - John Ronald Reuel Tolkien, from a letter written to Milton Waldman, ca. 1951 -