From owner-freebsd-questions Tue Oct 31 19:58:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sydney.worldwide.lemis.com (sydney.worldwide.lemis.com [192.109.197.167]) by hub.freebsd.org (Postfix) with ESMTP id A586337B479 for ; Tue, 31 Oct 2000 19:58:07 -0800 (PST) Received: (from grog@localhost) by wantadilla.lemis.com (8.11.0/8.9.3) id e973jsT28613; Sat, 7 Oct 2000 13:15:54 +0930 (CST) (envelope-from grog) Date: Sat, 7 Oct 2000 13:15:54 +0930 From: Greg Lehey To: keith@telestream.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: vinum Message-ID: <20001007131554.D28501@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from keith@telestream.com on Fri, Oct 06, 2000 at 10:52:20AM -0700 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 6 October 2000 at 10:52:20 -0700, keith@telestream.com wrote: > In the man page for vinum it states the following > > device devicename - Specify the device on which the drive resides. > devicename must be the name of a disk partition, for example /dev/da1e > or /dev/wd3s2h, and it must be of type vinum. Do not use the c > partition, which is reserved for the complete disk. > > How do I get the device to be of type vinum? In the disk slice editor it > only allows for a couple different types. 165 for freebsd, 6 for DOS, 131 > for Linux etc. I tried just typing in vinum and it didn't recognise it all > all. The "disk slice editor" you're talking about is probably /stand/sysinstall, and it duplicates the functionality of fdisk. Specifically, in this example it describes the properties of the slices /dev/da1s1, /dev/da1s2, /dev/da1s3 and /dev/da1s4. What you need is disklabel, which handles the partitions (the letters at the end of the device names). But that's in the man page too: 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. If you don't, I may ignore the reply. 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