From owner-freebsd-hackers Mon Nov 1 8:52:45 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 21A90152E6 for ; Mon, 1 Nov 1999 08:52:34 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer thoth.mch.sni.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id RAA05559 for ; Mon, 1 Nov 1999 17:52:31 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id RAA15344 for ; Mon, 1 Nov 1999 17:52:30 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id RAA18206 for ; Mon, 1 Nov 1999 17:52:30 +0100 (CET) Date: Mon, 1 Nov 1999 17:52:27 +0100 From: Andre Albsmeier To: Greg Lehey Cc: Andre Albsmeier , Doug White , freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Message-ID: <19991101175227.B36991@internal> References: <199910290341.XAA38860@cc158233-a.catv1.md.home.com> <19991031195351.A22791@internal> <19991101104221.34455@mojave.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991101104221.34455@mojave.sitaranetworks.com>; from grog@lemis.com on Mon, Nov 01, 1999 at 10:42:21AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 01-Nov-1999 at 10:42:21 -0500, Greg Lehey wrote: > 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 :-) OK, the author of vinum will know that :-) As I just said in another mail, I will use the a partition in future and leave c untouched... > > 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. Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message