-
Using RAID in OpenBSD
Well anyone who is worth their oats is running raid right?
I guess that depends on your definition of anyone, what a bunch of nub sauces. Ok so it’s my first real attempt at doing it, I only have two disks and most of my media however much I may not think so right now is disposable.
Compile a new kernel since Theo leaves raid out by default:
$ cd /usr/src/sys/arch/amd64/conf/ $ cat /usr/src/sys/arch/amd64/conf/GENERIC.MP.RAID # $OpenBSD: GENERIC.MP,v 1.8 2007/01/27 22:48:01 kettenis Exp $ include "arch/amd64/conf/GENERIC.MP" option RAID_AUTOCONFIG # Automatically configure RAID at boot pseudo-device raid 4 # RAIDframe disk driver $ config GENERIC.MP.RAID $ cd ../compile/GENERIC.MP.RAID Don't forget to run "make depend" $ make clean && make depend && make .... magic .... $ su - Password: # make install rm -f /obsd ln /bsd /obsd cp bsd /nbsd mv /nbsd /bsdHere is the exceprt from the OpenBSD 4.2 manpage, that brings it home:
toot-toot! _default/list.html