Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 1996 10:48:50 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        branson@widomaker.com
Cc:        petzi@zit.th-darmstadt.de, black@gage.com, fs@FreeBSD.ORG, questions@FreeBSD.ORG
Subject:   Re: ccd setup for striping
Message-ID:  <199610181748.KAA21608@silvia.HIP.Berkeley.EDU>
In-Reply-To: <Pine.BSF.3.91.961018132510.18111T-100000@toth.hq.ferg.com> (message from Branson Matheson on Fri, 18 Oct 1996 13:26:19 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
 *  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610181748.KAA21608>