*BSD News Article 80442


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!newsfeed.internetmci.com!news.xnet.com!news-admin
From: Eli Lazich <elazich@loopback.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ccd configuration woes
Date: Fri, 11 Oct 1996 15:34:05 -0500
Organization: Loopback Systems, Inc.
Lines: 47
Message-ID: <325EAF3D.86B@loopback.com>
References: <52ra4s$ed7@service3.uky.edu> <55e0pf.5rl.rtaylor@bbs.mpcs.com> <ASAMI.96Oct9135031@sunrise.cs.berkeley.edu>
NNTP-Posting-Host: 205.243.146.12
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)

Satoshi Asami wrote:
> 
> In article <55e0pf.5rl.rtaylor@bbs.mpcs.com>
>         rtaylor@bbs.mpcs.com (Rob Taylor) writes:
> 
>  *  CCD what a nightmare, I know how you feel.  We went through the same
>  * thing a few weeks ago.  Trying to retrace my steps.   First off the
>  * slices have to be pre-created as a UFS file system.   Once you have done
>  * that, you can then use the ccdconfig to bind them together, but before
>  * you can use them you will need to do a newfs on them COMBINED.
>  *
>  *
>  *
>  * On 1 Oct 1996 14:34:04 GMT, John Soward <soward@neworder.cc.uky.edu> wrote:
>  *  : I know this must be a common problem, with a simple fix, I read several
>  *  : messages from people with similar problems -- only thing is I never found an
>  *  : answer in the FAQs or mailing list archives....
>  *  : currently I'm getting
>  *  : ccdconfig: ioctl(CCDIOCSET): /dev/ccd0c: Invalid Argument
>  *  : but I've gotten various other complaints concerning /dev/ccd0c as well...
> 
> Sorry you couldn't find this in a FAQ, I sent a submission for entries
> for this a long time ago and kinda forgot about it.
> 
> Anyway, what you need is to use disklabel to mark the underlying
> partitions as "4.2BSD".  No need to create filesystems on them
> individually, but as Rob says, you need to run newfs on them after
> ccdconfig.
> 
> I should probably write a handbook chapter on this too.... ;)
> 
> Satoshi

On a related note, I finally got ccd to work, thanks for the tip
Satoshi.  I luckily set it up on a development system so no big loss. 
But what ends up happening is that I tried to stripe my "e" slice which
housed my /usr filesystem.  Needless to say this is gone since you have
to do a newfs once you configure the ccd.  So my question now is this. 
What do I do about the /usr filesystem short of restoring from tape? 
Also how does one go about setting up ccd so that you can stripe/mirror
existing information, since it seems anything that is on the involved
slice gets wiped away.  It is a neat product but it would be great if
you could use it during installation or after install but not wipe out
your old info.  Any help anyone might have in this regard would be
greatly appreciated.

Eli