Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 11:59:34 -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:  <19991101115934.04368@mojave.sitaranetworks.com>
In-Reply-To: <19991101174929.A36991@internal>; from Andre Albsmeier on Mon, Nov 01, 1999 at 05:49:29PM %2B0100
References:  <19991031195351.A22791@internal> <Pine.BSF.4.10.9911010834540.27564-100000@resnet.uoregon.edu> <19991101174929.A36991@internal>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday,  1 November 1999 at 17:49:29 +0100, Andre Albsmeier wrote:
> On Mon, 01-Nov-1999 at 08:36:35 -0800, Doug White wrote:
>> On Sun, 31 Oct 1999, Andre Albsmeier wrote:
>>
>>>> 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.:
>>
>>> #        size   offset    fstype   [fsize bsize bps/cpg]
>>>   c: 45322644        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 2810*)
>>
>> I've been admonished for using the c partition as a filesystem since it's
>> somewhat magic.  For regular disks the running recommendation is to make
>> another partition (a or g or whatever) that is identical to the c
>> partition information, and to newfs/mount that.  I personally haven't run
>> into problems but I've been warned that the c partition interface is
>> subject to change.
>
> OK, I see. So I am going to use the a partition in future and leave
> c unused.

BTW, it's pretty trivial to change things.  Run 'disklabel -e da0' (or
whatever your drive is), duplicate the line and change to, say:

   c: 45322644        0    unused     1024  8192    16   # (Cyl.    0 - 2810*)
   e: 45322644        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 2810*)

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