Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 1998 14:25:12 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Greg Pavelcak <gp@tower.my.domain>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ccd
Message-ID:  <19980118142512.62444@lemis.com>
In-Reply-To: <XFMail.980117214323.gp@tower.my.domain>; from Greg Pavelcak on Sat, Jan 17, 1998 at 09:43:23PM -0500
References:  <19980118105549.55824@lemis.com> <XFMail.980117214323.gp@tower.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 17, 1998 at 09:43:23PM -0500, Greg Pavelcak wrote:
>
> On 18-Jan-98 Greg Lehey wrote:
>> On Sat, Jan 17, 1998 at 08:48:06AM -0500, Greg Pavelcak wrote:
>>> I'm running short on hard disk space, and I'm thinking about getting
>>> a
>>> new drive to add to my setup. That leads me to a few ccd questions.
>>> I
>>> hope this isn't a repost. I've been getting my lists now for over
>>> two
>>> days and haven't seen it show up.
>>>
>>> 1. Any advice on what to read on ccd. I read man ccd, man ccdconfig,
>>> and the diskformat tutorial. They seem to be more for the person who
>>> understands what ccd is but doesn't know how to make it happen on
>>> FreeBSD.
>>
>> Yes, the CCD man pages are not the best documentation available.
>> Unfortunately, I don't know anything better.
>>
>>> 2. Can you ccd IDE devices,
>>
>> Yes.
>>
>>> 3. Can you do ccdconfig at any time. That is, it seems like
>>> something
>>> one would want to do early on, perhaps at the beginning of the
>>> installation process, and then make file systems on ccd.
>>
>
>
>> I don't think you could have a CCD root file system: there's a chicken
>> and egg problem inherent in this, since the boot doesn't understand
>> CCD.  I also strongly suspect that you wouldn't be able to start the
>> CCD system before installation, though I could be wrong about that.
>> If I were doing this now, I would probably install normally (if
>> necessary), back up the non-root file systems, reboot in single-user
>> mode, repartition and create file systems for CCD, and then restore
>> the data.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Thanks for the reply, but I'm afraid you lost me there. Would I just do
> ccdconfig and then create file systems using sysinstall. When you say
> create for ccd, does that mean that the partition editor will show the
> disk as a single device /dev/ccd0?

OK.  Let's look at how CCD works.  It creates pseudo-device such as
/dev/ccd0, which look like normal disk slices to the software which
accesses them.  To use such a device as a file system, you first need
to run newfs on it just like you would on a normal disk slice.
 
> Sorry to be a bother, but I'd appreciate any more help anyone can
> provide. I would just try these things, but I don't have the matching
> disk yet. Nor do I have a good backup method (I'll tar to a bunch of
> zip disks) So I want to be pretty confident about what I'm doing before
> I fool with file systems.

First get a good backup method.  Any other way you're going to end up
shooting yourself in the foot.

Greg



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