Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 1999 19:53:51 +0100
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: CCD questions
Message-ID:  <19991031195351.A22791@internal>
In-Reply-To: <Pine.BSF.4.10.9910290849390.91567-100000@resnet.uoregon.edu>; from dwhite@resnet.uoregon.edu on Fri, Oct 29, 1999 at 08:56:01AM -0700
References:  <199910290341.XAA38860@cc158233-a.catv1.md.home.com> <Pine.BSF.4.10.9910290849390.91567-100000@resnet.uoregon.edu>

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




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