From owner-freebsd-questions Mon May 3 21:31:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 19FAB14CCD for ; Mon, 3 May 1999 21:31:38 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA09395; Tue, 4 May 1999 14:01:33 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA36914; Tue, 4 May 1999 14:01:31 +0930 (CST) Date: Tue, 4 May 1999 14:01:31 +0930 From: Greg Lehey To: Andy Dills Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Striping of drives Message-ID: <19990504140130.Q10134@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Andy Dills on Mon, May 03, 1999 at 08:34:03PM -0400 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 Monday, 3 May 1999 at 20:34:03 -0400, Andy Dills wrote: > > Hi, I'm trying to stripe together 3 identitcal 4gig SCSI drives, and am > having some problems. > > I've compiled ccd into my kernel, and created the device. That's the first problem. Why aren't you using Vinum? > I'm using the suggested commands found in the handbook: > > cd /dev ; sh MAKDEV ccd0 > > disklabel -r -w sd0 auto > disklabel -r -w sd1 auto > disklabel -r -w sd2 auto > > disklabel -e sd0c # change type to 4.2BSD > disklabel -e sd1c # change type to 4.2BSD > disklabel -e sd2c # change type to 4.2BSD You shouldn't really use partition c for data storage. Use any other partition. Yes, I know ccd tells you to do it, but that's almost as brain-damaged as wanting to have a partition type 4.2BSD. Partition c should always be "unused". > ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c > > newfs /dev/rccd0c > > My problem is (I assume) when I try to use disklabel -e. > > I edit the type, and change it from SCSI to 4.2BSD, and it doesn't take. > What I mean by that is, if I diskabel -e it again, the type is back to > SCSI. You can't change it from SCSI to 4.2BSD. I suspect you're changing the wrong field. The one you need is at the bottom of the disklabel output: 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 819200 0 swap # (Cyl. 0 - 50*) c: 8388608 0 unused 0 0 # (Cyl. 0 - 522*) Change this to: 8 partitions: # size offset fstype [fsize bsize bps/cpg] b: 819200 0 swap # (Cyl. 0 - 50*) c: 8388608 0 unused 0 0 # (Cyl. 0 - 522*) e: 8388608 0 4.2BSD 0 0 # (Cyl. 0 - 522*) You'll notice I've used partition e here. Change your ccdconfig line accordingly: ccdconfig ccd0 32 0 /dev/sd0e /dev/sd1e /dev/sd2e Greg -- See complete headers for address, home page 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