*BSD News Article 81708


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!news
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ccd help
Date: Tue, 29 Oct 1996 12:55:25 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 38
Message-ID: <3275721D.628D@OntheNet.com.au>
References: <3270DC0C.15E4@loopback.com>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Eli Lazich <elazich@loopback.com>

Eli Lazich wrote:
> 
> I need any help anyone can offer with ccd.  What I've got so far is the
> ability to use ccdconfig to configure ccd0 just fine.  Of course I have
> to unmount any involved filesystems which is a pain.  I have tried using
> ccdconfig from the command line as follows;
> 
> ccdconfig ccd0 0 0 /dev/wd0s1se /dev/wd1s1e
> 
> If I am understanding the man pages properly this sets up 2 slices to
> look as if they are one, or concatenate serially as they say which is
> what I am looking for in this specific case.
> 
> This all works fine and well until I go to mount the newly configured
> ccd0, I've tried;
>
I'm not at all surprised!
 
> mount /dev/ccd0 /usr (the former slice held /usr)
> mount /dev/ccd0c /usr
> 
> both to no avail.  When I execute newfs on the ccd then I can mount it
> on /usr but since newfs was run there is nothing there anymore.
Yep, that's what you needed to do...  Create a UFS filesystem on the
'logical' drive.

> Does
> anyone know how to configure ccd so that a preexisting filesystem will
> not be wiped out?
Not to my knowledge.  The UFS filesystem is not dynamically extendable
so if you change a partition size or add another partition to an
existing ccd 'drive', then you are up for a newfs.

> I would appreciate any input on this.
> 
> Eli

Tony