From owner-freebsd-questions Fri Oct 18 10:51:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA11597 for questions-outgoing; Fri, 18 Oct 1996 10:51:54 -0700 (PDT) Received: from dfw-ix6.ix.netcom.com (dfw-ix6.ix.netcom.com [206.214.98.6]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA11590; Fri, 18 Oct 1996 10:51:52 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (ala-ca11-27.ix.netcom.com [199.35.209.187]) by dfw-ix6.ix.netcom.com (8.6.13/8.6.12) with ESMTP id KAA00161; Fri, 18 Oct 1996 10:48:53 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.6/8.6.9) id KAA21608; Fri, 18 Oct 1996 10:48:50 -0700 (PDT) Date: Fri, 18 Oct 1996 10:48:50 -0700 (PDT) Message-Id: <199610181748.KAA21608@silvia.HIP.Berkeley.EDU> To: branson@widomaker.com CC: petzi@zit.th-darmstadt.de, black@gage.com, fs@FreeBSD.ORG, questions@FreeBSD.ORG In-reply-to: (message from Branson Matheson on Fri, 18 Oct 1996 13:26:19 -0400 (EDT)) Subject: Re: ccd setup for striping From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * Hmm.. I am running 2.1.5-RELEASE here and it was not fixed.. making * that change allowed me to ccdconfig where before I could not. Really? This is what I get on a -current box (I don't have a 2.1.5R machine handy): === ## disklabel sd1 | egrep '(size|f:)' # size offset fstype [fsize bsize bps/cpg] f: 500500 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 31*) ## disklabel sd2 | egrep '(size|f:)' # size offset fstype [fsize bsize bps/cpg] f: 500500 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 31*) ## ccdconfig -c ccd0 128 0 /dev/sd1f /dev/sd2f ## ccdconfig -g ccd0 128 0 /dev/sd1f /dev/sd2f ## disklabel ccd0 | egrep '(size|c:)' # /dev/rccd0c: # size offset fstype [fsize bsize bps/cpg] c: 1000960 0 4.2BSD 0 0 0 # (Cyl. 0 - 488*) ## newfs /dev/ccd0c newfs: /dev/ccd0c: not a character-special device Warning: 2560 sector(s) in last cylinder unallocated /dev/ccd0c: 1000960 sectors in 245 cylinders of 1 tracks, 4096 sectors 488.8MB in 16 cyl groups (16 c/g, 32.00MB/g, 7680 i/g) super-block backups (for fsck -b #) at: 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, 589856, 655392, 720928, 786464, 852000, 917536, 983072, ## (and so on) === And from the cvs log of /sys/dev/ccd/ccd.c: === revision 1.10.2.2 date: 1996/05/13 08:39:02; author: asami; state: Exp; lines: +10 -3 Merge from HEAD: Leave 16 lines in front of each component partition. It's now safe to use sd87a or sd237e even if they start at the beginning of the slice. You can also use sd85c if you prefer, although you need to change the type field in the disklabel to "4.2BSD". === This is two months before the 2.1.5, so this should be in there too. What did ccdconfig say? Satoshi