From owner-freebsd-hackers Mon Nov 1 8:48:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 0174814F94 for ; Mon, 1 Nov 1999 08:48:06 -0800 (PST) (envelope-from grog@lemis.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id DAA29760; Tue, 2 Nov 1999 03:18:00 +1030 (CST) (envelope-from grog@lemis.com) Message-ID: <19991101104221.34455@mojave.sitaranetworks.com> Date: Mon, 1 Nov 1999 10:42:21 -0500 From: Greg Lehey To: Andre Albsmeier , Doug White Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Reply-To: Greg Lehey References: <199910290341.XAA38860@cc158233-a.catv1.md.home.com> <19991031195351.A22791@internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991031195351.A22791@internal>; from Andre Albsmeier on Sun, Oct 31, 1999 at 07:53:51PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 31 October 1999 at 19:53:51 +0100, Andre Albsmeier wrote: > On Fri, 29-Oct-1999 at 08:56:01 -0700, Doug White wrote: >> On Thu, 28 Oct 1999, Stephen J. Roznowski wrote: >> >>> I'm looking at the tutorial on building CCDs at >>> >>> http://www.freebsd.org/tutorials/formatting-media/x205.html >> >> I am the author of said document ;) >> >>> It seems that this page needs to be updated to include the FAQ >>> entry between the ccdconfig and newfs. [I don't remember the >>> error I had before I did the disklabel...] >>> >>> # ccdconfig ccd0 32 0 /dev/sd0c /dev/sd1c /dev/sd2c >>> >>>>> # disklabel ccd0 > /tmp/ccd.label >>>>> # disklabel -Rr ccd0 /tmp/ccd.label >>> >>> # newfs /dev/rccd0c >>> >>> Is this really the case? [If so, I'll send-pr a correction] >> >> ccdconfig manufactures a disklabel when you create the stripe, so you >> don't need to adjust the disklabel. The subdisks must have disklabels, >> and you can't use the C partition since ccd only uses partitions of type >> 4.2BSD. > > Does that mean I should not use partition c as a 4.2BSD type? Yes. > This is what I am currently doing on all disks (ccd'ed or single) if > the whole disk is used as one big filesystem, e.g.: > 3 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 45322644 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2810*) > > > I didn't have any problems for the last 3 years but if someone tells me that this > is bad, danegerous or simply ugly, I will change that :-) It's bad, dangerous and ugly :-) Seriously, you can normally get by this way, but it's confusing things, and there's no guarantee that you won't run into trouble in the future. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message