From owner-freebsd-hackers Sun Oct 31 10:53:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id DE6E114E87 for ; Sun, 31 Oct 1999 10:53:53 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.9.3/8.9.3) with ESMTP id TAA19432 for ; Sun, 31 Oct 1999 19:53:52 +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 TAA12622 for ; Sun, 31 Oct 1999 19:53:52 +0100 (MET) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id TAA11541 for ; Sun, 31 Oct 1999 19:53:52 +0100 (CET) Date: Sun, 31 Oct 1999 19:53:51 +0100 From: Andre Albsmeier To: Doug White Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CCD questions Message-ID: <19991031195351.A22791@internal> References: <199910290341.XAA38860@cc158233-a.catv1.md.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from dwhite@resnet.uoregon.edu on Fri, Oct 29, 1999 at 08:56:01AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? 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.: andre@server:~>disklabel da1 # /dev/rda1c: type: SCSI disk: SEAGATE label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 256 sectors/cylinder: 16128 cylinders: 2810 sectors/unit: 45322644 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 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 :-) Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message