From owner-freebsd-questions Mon Dec 6 14:28: 4 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 2284E14FEB for ; Mon, 6 Dec 1999 14:28:01 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991206172759.59383@mojave.sitaranetworks.com> Date: Mon, 6 Dec 1999 17:27:59 -0500 From: Greg Lehey To: Steven Honson , questions@FreeBSD.ORG Subject: Re: Vinum Reply-To: Greg Lehey References: <3.0.5.32.19991206001912.007c9dc0@omega.static.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3.0.5.32.19991206001912.007c9dc0@omega.static.net>; from Steven Honson on Mon, Dec 06, 1999 at 12:19:12AM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 6 December 1999 at 0:19:12 +1100, Steven Honson wrote: > Hi, > Im trying to setup a machine to combine 2 18gb drives to create one 36gb > partition in freebsd. > Ive been playing around with Vinum, but am unshure how to partition the > drives so that vinum can use them, when i try to create the drive in vinum, > i get the following error, > > vinum -> concat -v /dev/da1a /dev/da2a > volume vinum0 > plex name vinum0.p0 org concat > drive vinumdrive0 device /dev/da1a > Can't create drive vinumdrive0, device /dev/da1a: Drive vinumdrive0 has > invalid partition type This is telling you that drive vinumdrive0 has an invalid partition type. Set the partition type to type 'vinum'. From 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. 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