On 2008/01/23 14:49, Lars Noodin wrote:
> Stuart Henderson wrote:
> > On 2008/01/23 14:07, Lars NoodC)n wrote:
> >> What are some better ways to turn on RAID level 0 in OpenBSD 4.2 -
> >> stable - and still stay with the GENERIC kernel?
> >
> > there are only two ways: ccd(4) and hardware RAID.
> > Otherwise, you have to use -current or compile a custom kernel.
>
> Thanks. Are there any large reasons (or good links to a comparison) of
> why ccd support was chosen for GENERIC over RAIDframe?
ccd is simpler and much smaller. (it's not a fair comparison,
since raidframe does a lot more, but for a basic "I want copies
of the data files on two disks and will deal with recovering
and backing up / myself" ccd is just enough).
$ cd /sys/dev
$ wc -l ccd*
1403 ccd.c
191 ccdvar.h
1594 total
$ wc -l raidframe/*|tail -1
46290 total
-current has softraid(4) in GENERIC, btw. it's not feature-
complete yet, but what it does works well.