Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2000 13:38:06 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Marc Tardif <intmktg@CAM.ORG>
Cc:        freebsd-fs@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG
Subject:   Re: ccd with other filesystems
Message-ID:  <20000923133806.B78943@wantadilla.lemis.com>
In-Reply-To: <Pine.LNX.4.10.10009221124230.31864-100000@Gloria.CAM.ORG>; from intmktg@CAM.ORG on Fri, Sep 22, 2000 at 11:54:10AM -0400
References:  <Pine.LNX.4.10.10009221124230.31864-100000@Gloria.CAM.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 22 September 2000 at 11:54:10 -0400, Marc Tardif wrote:
> At which level does ccd concatenate or mirror disks? Is the
> operation performed on slices or partitions? 

Partitions.

> If slices, does it have to be set to sysid 165? If partitions, does
> it have to be in the FFS format?

ccd requires a ufs partition (4.2BSD in the disk label).  This is
stupid, since what it puts there is not a ufs file system, and it
encourages you to shoot yourself in the foot and overwrite a ufs file
system.

> I ask because I'm not sure how the word "partition" is used
> in the manpage, is it suppose to mean a slice (as in DOS
> partition) or the partition of a slice? Also, I'm intrigued
> by the following passage:
>     Note that the `raw' partitions of the disks should not be
>     combined.

I really don't understand what this is supposed to mean.

>  The kernel will only allow component partitions of type FS_BSDFFS.

This is basically saying the same thing as I said above: you need a
partition of 4.2BSD.

> Does this mean ccd will only accept FFS partitions?

Yes.

> Could msdos partitions, be concatenated or mirrored for example?

Don't confuse the partition type that ccd wants with the data you put
on it.  You can put MS-DOS file systems on ccd, though I can't imagine
why you'd want to.

> Also, why does it say "the keryenl will only allow", isn't it ccd
> which allows?

Yes.  But it's in the kernel.

> Lastly, if ccd doesn't act on raw partitions, does that apply to
> vinum also?

Vinum requires partitions of type (wait for it) Vinum.  We now only
have raw partitions, so both work with them.  But a raw partition
isn't the same thing as a non-4.2BSD partition.

On the whole, I'd recommend using Vinum, which is more actively
maintained and gives you more flexibility.  But I suspect you still
have a question out there which I haven't been able to guess.

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-fs" in the body of the message




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