From owner-freebsd-questions Thu Apr 9 00:44:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA17321 for freebsd-questions-outgoing; Thu, 9 Apr 1998 00:44:11 -0700 (PDT) (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 AAA17306 for ; Thu, 9 Apr 1998 00:44:04 -0700 (PDT) (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 RAA15498; Thu, 9 Apr 1998 17:13:50 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id RAA20939; Thu, 9 Apr 1998 17:13:49 +0930 (CST) (envelope-from grog) Message-ID: <19980409171349.57448@freebie.lemis.com> Date: Thu, 9 Apr 1998 17:13:49 +0930 From: Greg Lehey To: Greg Pavelcak , freebsd-questions@FreeBSD.ORG Subject: Re: Check on ccd setup and "Vinum(??)" question References: <0ER4004MBPGTD7@rfd1.oit.umass.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <0ER4004MBPGTD7@rfd1.oit.umass.edu>; from Greg Pavelcak on Thu, Apr 09, 1998 at 12:24:23AM +0000 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 Thu, 9 April 1998 at 0:24:23 +0000, Greg Pavelcak wrote: > I think I'm starting to get ccd, but I just wanted to run this by you > all before I try it. I don't want to hurt anything. > > I have two Maxtor IDE drives: a 3.2G Diamondmax (UltraDMA), and a 2.1G > CrystalMax (Not UDMA). My controllers don't support UDMA anyway. I just > want to make sure I can do the following. > > Suppose I partition the disks like this. > > 3.2G 2.1G > ---- ---- > 64M swap 64M swap > 2.1G-64M /usr1 2.1G-64M /usr2 > 64M / > remainder /usr > > The idea, of course, is to get two file systems, /usr1 and /usr2 > that are the same size. > > Then I'll do an ordinary install onto / and /usr, ccd /usr1 and /usr2. > Finally, I'll move the /usr stuff to the ccd and mount it on /usr > resulting, I hope, in better performance from my disks, and I'll use the > former /usr partition just for sources and ports distfiles. > > Does this make sense? Up to a point. There are a number of ways to shoot yourself in the foot. I'm assuming a striped rather than a concatenated organization, since your goal is performance, not reliability. 1. Make sure you put your / file system up front. There are various limits that can bite you and stop the system from booting otherwise. You also probably don't need more than 40 MB / unless you have some strange things you want to do there. 2. The partitions used by ccd don't have file system names. You might call them /dev/wd0s1f and /dev/wd1s1f, for example. 3. You don't really need the third /usr file system. You can set ccd up to run before you go multi-user, so the ccd file systems are enough. 4. If one of your disks dies, ccd is too stupid to bring up the remaining one by itself. You'll have to reboot and reconfigure ccd. I believe the correct ccdconfig entry for this would be: ccd0 128 CCDF_UNIFORM /dev/wd0s1f /dev/wd1s1f In vinum (remember, you read it here first) you would define a file system like this: drive a device /dev/wd0s1f drive b device /dev/wd1s1f volume usr plex org striped 64k subdisk size 64m drive a subdisk size 64m drive b Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message