From owner-freebsd-current Wed Oct 21 01:31:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA00514 for freebsd-current-outgoing; Wed, 21 Oct 1998 01:31:18 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA00485 for ; Wed, 21 Oct 1998 01:31:11 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id SAA16171; Wed, 21 Oct 1998 18:00:33 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id SAA03231; Wed, 21 Oct 1998 18:00:32 +0930 (CST) Message-ID: <19981021180032.X21008@freebie.lemis.com> Date: Wed, 21 Oct 1998 18:00:32 +0930 From: Greg Lehey To: Bruce Albrecht , Jaime Bozza Cc: current@FreeBSD.ORG Subject: Subdividing synthetic disks (was: newfs problems, more information:) References: <13868.3117.390224.376379@zuhause.zuhause.mn.org> <003801bdfc74$da58cae0$313d31cc@electron.nuc.net> <13869.12610.899877.506387@zuhause.zuhause.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <13869.12610.899877.506387@zuhause.zuhause.mn.org>; from Bruce Albrecht on Tue, Oct 20, 1998 at 07:56:34PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 20 October 1998 at 19:56:34 -0500, Bruce Albrecht wrote: > Jaime Bozza writes: >>> You do it the same way you do it for any other disk. You create the >>> partition information, and do a disklabel for ccd0 to write the label, >>> and then you newfs each partition, ccd0d, ccd0e, ... >> >> Are you saying you can have subpartitions within a ccd? (Which in itself >> is formed by partitions on the original drives) >> >> That could be pretty interesting. I've fiddled with disklabel and was >> finally able to create a disklabel for a ccd. But I haven't been able to >> create a partition 'e' ... disklabel returns "Bad partition name". I was >> able to create an 'a' partition though. > > I never had any problem doing so. Here's my ccd's disklabel entry: > > (snip) Why do you want to do this? Would you still find a reason to do it with vinum? > I've been told that you're better off not using a ccd partition for > swap, Right. The ccd driver malloc()s, and there's the danger of a deadlock if malloc tries to swap. I'm working on a solution for vinum, which currently carries the same danger. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message