From owner-freebsd-questions Sat May 30 17:23:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01304 for freebsd-questions-outgoing; Sat, 30 May 1998 17:23:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA01198 for ; Sat, 30 May 1998 17:22:42 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id JAA23793; Sun, 31 May 1998 09:52:39 +0930 (CST) (envelope-from grog) Message-ID: <19980531095238.G16873@freebie.lemis.com> Date: Sun, 31 May 1998 09:52:38 +0930 From: Greg Lehey To: Jake , freebsd-questions@FreeBSD.ORG Subject: Re: some ccd questions References: <199805302220.SAA01012@elephants.dyn.ml.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199805302220.SAA01012@elephants.dyn.ml.org>; from Jake on Sat, May 30, 1998 at 06:20:24PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 30 May 1998 at 18:20:24 -0400, Jake wrote: > Hi, > soon as I have the money I want to add a second hard drive > to my system, identical to the one I have now ( wd caviar AC22500 ) > I'd like to configure part of it using the ccd driver, > namely my swap and /usr partitions. > I'm running a pretty recent build of -current. > > Here's my plan: > > root - wd0s1a ~50 megs > /var - wd2s1a ~50 megs > swap - ccd0c ; wd0s1b & wd2s1b ~64 megs each, 128 total > /usr - ccd1c ; wd0s1e & wd2s1e ~1 gig each, 2 gigs total > > the letters might be wrong, I'm just extrapolating from my fstab > and the man page, but you get the drift. > > wd0s2 and wd2s2 will be fat32 partitions, for win95, > storage, my ftp site, etc... > > Is this nuts? No. > Can the ccd driver stripe slices together? Yes. > all the examples are "ccdconfig ccd0 32 0 /dev/sd2e /dev/sd3e" > ... no "s1" Since it'll mostly be a random-access oriented workload > I figured I'd use a large interleave, maybe 65,536. I don't consider that a large interleave. It's about normal. > Should swap be the same? Should I use the CCDF_SWAP ( 0x01 ) flag > for swap? Yes. I'm working on a replacement for ccd. Check out http://www.lemis.com/vinum.html for more details. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message