Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 1998 08:32:16 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Leigh Porter <leigh@wisper.net>, FreeBSD questions <questions@FreeBSD.ORG>
Subject:   Re: CCD Drivers
Message-ID:  <19980213083216.62155@freebie.lemis.com>
In-Reply-To: <34E31A06.28592530@wisper.net>; from Leigh Porter on Thu, Feb 12, 1998 at 03:49:29PM %2B0000
References:  <34E31A06.28592530@wisper.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 February 1998 at 15:49:29 +0000, Leigh Porter wrote:
> Hiya folks,
>
> I am trying to get the CCD driver working, here is what happens:
>
> # dmesg | grep ccd
> ccd0-3: Concatenated disk drivers
> # /etc/ccd.conf
> # Configuration file for concatenated disk devices
> #
> # ccd           ileave  flags   component devices
> ccd0            256      none    /dev/sd1e /dev/sd2e
>
> All looks good so far, yeah!? (If not, please let me know :)

So far, yes.

> bash# ccdconfig -Cv
> ccdconfig: ioctl (CCDIOCSET): /dev/ccd1c: Inappropriate file type or
> format
> bash#
>
> If anybody can shed some light on this, please let me know!

Take a look at your disk labels with

 disklabel -r sd1
 disklabel -r sd2

It should end with something like:

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c:  1173930        0    unused        0     0         # (Cyl.    0 - 358)
  e:  1173930        0    4.2BSD        0     0     0   # (Cyl.    0 - 358)

I'd guess that your fstype for partition e is "unused".  That will
cause this error message.  Compare ccd(4):

  Note that the `raw' partitions of the disks should not be combined.
  The kernel will only allow component partitions of type FS_BSDFFS
  (type ``4.2BSD'' as shown as disklabel(8)).

Greg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980213083216.62155>