Subject: Re: Problems with Concatenated disk driver
To: Juan RP <juan@xtraeme.dyndns.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 11/12/2002 13:31:18
On Sat, 9 Nov 2002, Juan RP wrote:

> Hello, im building a concatenated disk driver in my second HD, the disklabel
> wd1 print this:

I assume this is to test out how ccd works? Doing what you did below will
give you lower overall performance, but should illustrate how ccd works.

>  #        size    offset     fstype  [fsize bsize cpg/sgs]
>  a:  40960000         0        ccd                      # (Cyl.    0 - 40634*)

Don't start the first parttition at offset zero. You will then have the
ccd's disklabel and the drive's disklabels ending up in the same place.

>  b:   40960000  40960000   ccd                      # (Cyl. 40634*-81269*)
>  c: 117231408         0   unused      0     0         # (Cyl.    0 - 116300)
>  d: 117231408         0   unused      0     0         # (Cyl.    0 - 116300)
>  e:  35311408  81920000    ccd                      # (Cyl. 81269*- 116300)
>
> I have in my kernel pseudo-device ccd 4 too, in /etc/ccd.conf i have this:
>
> ccd0    16      none    /dev/ccd1a /dev/ccd1b /dev/ccd1e

Those should be the components going INTO the ccd. So they should be
"/dev/wd1a /dev/wd1b /dev/wd1e".

Take care,

Bill