From owner-freebsd-questions Mon Nov 8 9: 2:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 157A214C99 for ; Mon, 8 Nov 1999 09:02:49 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991108120232.45658@mojave.sitaranetworks.com> Date: Mon, 8 Nov 1999 12:02:32 -0500 From: Greg Lehey To: cjclark@home.com, Marc Dodsworth Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Another Vinum question Reply-To: Greg Lehey References: <99110623580401.07046@zen.dodsworth.org> <199911062330.SAA33262@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <199911062330.SAA33262@cc942873-a.ewndsr1.nj.home.com>; from Crist J. Clark on Sat, Nov 06, 1999 at 06:30:21PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 6 November 1999 at 18:30:21 -0500, Crist J. Clark wrote: > Marc Dodsworth wrote, >> Sorry if this has been answered before (maybe I should have paid closer >> attention. >> >> In the documentation it talks about having the disk slice being of type vinum. >> Do I take this to mean that it's vinum instead of type 165? > > No it doesn't. It talks about the partition being of type 'vinum,' not > slices. From the partition names you used, you don't even have DOS > slice tables on the disks. > > You need to go into the disklabel and change them from type 'BSD4.2' > to 'vinum,' > > # disklabel -r -e da1e > > Then repeat for each. There's more detail in vinum(8): DRIVE LAYOUT CONSIDERATIONS vinum drives are currently BSD disk partitions. They must be of type vinum in order to avoid overwriting data used for other purposes. Use disklabel -e to edit a partition type definition. The following display shows a typical partition layout as shown by disklabel: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 81920 344064 4.2BSD 0 0 0 # (Cyl. 240*- 297*) b: 262144 81920 swap # (Cyl. 57*- 240*) c: 4226725 0 unused 0 0 # (Cyl. 0 - 2955*) e: 81920 0 4.2BSD 0 0 0 # (Cyl. 0 - 57*) f: 1900000 425984 4.2BSD 0 0 0 # (Cyl. 297*- 1626*) g: 1900741 2325984 vinum 0 0 0 # (Cyl. 1626*- 2955*) In this example, partition g may be used as a vinum partition. Parti- tions a, e and f may be used as UFS file systems or ccd partitions. Par- tition b is a swap partition, and partition c represents the whole disk and should not be used for any other purpose. This was added relatively recently, and may not be in your version of the man page. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html 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-questions" in the body of the message