Subject: Re: RAIDframe questions
To: Chris Ross <cross+netbsd@distal.com>
From: Geert Hendrickx <ghen@telenet.be>
List: current-users
Date: 09/20/2007 09:11:57
On Wed, Sep 19, 2007 at 10:01:10PM -0400, Chris Ross wrote:
> Wow, that bit of dc(1) magic in that chapter of the netbsd documentation
> is a little scary.  I had to do it quite a few times to get the right  
> numbers,
> and even in the end got one that didn't match the cylinder  boundaries
> correctly.  I had to adjust it by hand, using my own calculations.   
> I'm not
> sure why.  It's not very well explained there, at least for my eyes...


I usually test it with something like:

file -s /dev/wd0b -> "data" (or whatever)
file -s /dev/wd1b -> "data"
cat /bin/ls > /dev/raid0b
file -s /dev/wd0b -> "executable blabla"
file -s /dev/wd1b -> "executable blabla"

If that works and wd0b/wd1b are smaller or equal in size than raid0b,
you're set.

	Geert