This will work although I have not written all the magic to make it
pretty.  I will at some point make this into an actual raid type so that
it is a single create statement instead of several.  I do not recommend
using it this way.

On Sun, Nov 30, 2008 at 01:22:55PM -0800, Manuel Ravasio wrote:
> I read that softraid now supports RAID0 and RAID1 only.
> I'm thinking of adding two more disks to the i386 pc I wrote about in this 
> thread.
> Would a RAID 1+0 or 0+1 supported in this case?
> 
> I can think of a procedure like this:
> - fdisk and disklabel all 4 disks with a single RAID partition
> - create a RAID0 sd0/softraid0 device on, say, wd1 and wd2
> - create a RAID0 sd1/softraid1 device on wd3 and wd4
> - disklabel sd0 creating a single RAID partition
> - idem with sd1
> - create a RAID1 sd2/softraid2 device on sd0 and sd1
> - disklabel sd2 with a single 4.2BSD partition
> - create filesystem, mount, etc etc
> 
> Would something like this work?
> Unfortunately I have no suitable hardware available right now.
> I'll try tampering with a OpenBSD 4.4 virtual machine as soon as I have a 
> couple of spare hours.
> 
> Manuel
> 
> 
>  --
> "On two occasions I have been asked [by members of Parliament!], `Pray,
> Mr.  Babbage, if you put into the machine wrong figures, will the right
> answers come out?'  I am not able rightly to apprehend the kind of
> confusion of ideas that could provoke such a question."
> -- Charles Babbage

Reply via email to