From owner-freebsd-questions Sun Jan 18 08:14:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA19113 for questions-outgoing; Sun, 18 Jan 1998 08:14:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18975 for ; Sun, 18 Jan 1998 08:13:39 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id OAA05539; Sun, 18 Jan 1998 14:25:14 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id OAA00640; Sun, 18 Jan 1998 14:25:12 +1030 (CST) (envelope-from grog) Message-ID: <19980118142512.62444@lemis.com> Date: Sun, 18 Jan 1998 14:25:12 +1030 From: Greg Lehey To: Greg Pavelcak Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ccd References: <19980118105549.55824@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: ; from Greg Pavelcak on Sat, Jan 17, 1998 at 09:43:23PM -0500 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk 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