From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 18:34:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D53A16A4BF for ; Mon, 25 Aug 2003 18:34:20 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1B0C43FE3 for ; Mon, 25 Aug 2003 18:34:17 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6776553151; Tue, 26 Aug 2003 11:04:15 +0930 (CST) Date: Tue, 26 Aug 2003 11:04:15 +0930 From: Greg 'groggy' Lehey To: Thomas Smith Message-ID: <20030826013415.GK45617@wantadilla.lemis.com> References: <3F4AB59D.1010802@openadventures.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OHOABd/r1N6D/+xo" Content-Disposition: inline In-Reply-To: <3F4AB59D.1010802@openadventures.org> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: Need Vinum help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 01:34:20 -0000 --OHOABd/r1N6D/+xo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 25 August 2003 at 18:19:25 -0700, Thomas Smith wrote: > I think I have the process of creating a Vinum volume but I'm missing > something. > > My config file (config1) contains: > > drive a device /dev/ad0 > volume root > plex org concat > sd length 36g drive a > > When I run /vinum create config1/ I get the error "Can't initialize > device a: Operation not supported by device" > > I've huffed, and I've puffed, and I've blown over many a page of docs > and can't seem to figure out what gives. Try this part of the man page: 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): 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. Par- titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd partitions. Partition ``b'' is a swap partition, and partition ``c'' represents the whole disk and should not be used for any other purpose. The vinum utility uses the first 265 sectors on each partition for con- figuration information, so the maximum size of a subdisk is 265 sectors smaller than the drive. > The FStype in /etc/fstab for / is ufs--as I understand it, Vinum > needs an FStype of vinum. No. It requires a partition type 'vinum' Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --OHOABd/r1N6D/+xo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/SrkXIubykFB6QiMRAo8wAJ0aLdtMs6IdVCeTyJaoXT5UKgnKrgCfW2vw Izp+Fpy1e1mSTSfM99pHaz4= =BwCn -----END PGP SIGNATURE----- --OHOABd/r1N6D/+xo--