Subject: Re: ccd
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Todd Vierling <tv@duh.org>
List: netbsd-users
Date: 07/21/2005 11:34:39
On Wed, 20 Jul 2005, Patrick Welche wrote:

> > Filesystem  1024-blocks     Used     Avail Capacity  Mounted on
> > /dev/raid0a      254007    30116    211190    12%    /
> > /dev/raid0f     4065710   156535   3705889     4%    /var
> > /dev/raid0e     4065710   486031   3376393    12%    /usr
> > /dev/raid0h     4065710  2175245   1687179    56%    /home
>
> Is that striped or mirrored? (I thought the boot blocks only knew
> about mirrored raidframe - I am after striping hence ccd)

If your kernel is on a bootable partition outside of the raidframe disk,
separate from the "real" root inside the raidframe, then you can boot any
type of RAID (including 0, 4, and 5).  For nonredundant setups (such as
striping), this should be no problem.

This is accomplished with the "-A yes" and "-A root" raidctl operations,
which tell a booting kernel to autoconfigure the RAID device *and* make its
'a' partition override any other notion of root partition.

I use a similar setup, and simply mount my wd0a as /stand and wd1a
(alternate boot partition) as /stand2 -- with /netbsd as a symlink to
/stand/netbsd.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>