Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 10:42:21 -0500
From:      Greg Lehey <grog@lemis.com>
To:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, Doug White <dwhite@resnet.uoregon.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: CCD questions
Message-ID:  <19991101104221.34455@mojave.sitaranetworks.com>
In-Reply-To: <19991031195351.A22791@internal>; from Andre Albsmeier on Sun, Oct 31, 1999 at 07:53:51PM %2B0100
References:  <199910290341.XAA38860@cc158233-a.catv1.md.home.com> <Pine.BSF.4.10.9910290849390.91567-100000@resnet.uoregon.edu> <19991031195351.A22791@internal>

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

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.

Greg
--
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


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?19991101104221.34455>