From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 23:28:37 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 A5EBD16A4BF for ; Mon, 25 Aug 2003 23:28:37 -0700 (PDT) Received: from uccinc.net (ns1.uccinc.net [216.161.174.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C57CD43F75 for ; Mon, 25 Aug 2003 23:28:36 -0700 (PDT) (envelope-from tom@openadventures.org) Received: from openadventures.org (ns3.uccinet.net [216.161.174.4]) by uccinc.net (8.11.6/linuxconf) with ESMTP id h7Q6R9m29289 for ; Mon, 25 Aug 2003 23:27:09 -0700 Message-ID: <3F4AFDA8.1000801@openadventures.org> Date: Mon, 25 Aug 2003 23:26:48 -0700 From: Thomas Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <3F4AB59D.1010802@openadventures.org> <20030826013415.GK45617@wantadilla.lemis.com> In-Reply-To: <20030826013415.GK45617@wantadilla.lemis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean 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 06:28:37 -0000 Okay, I'm getting closer. I've got the drives relabeled with a FSType of vinum. Now, I can't seem to get them both up. When I run "vinum create -f /etc/vinum.conf" it creates the a1 drive but shows a2 as "State: referenced". The config file is as follows: drive a1 device /dev/ad0a drive a2 device /dev/ad1e volume root setupstate plex org concat sd length 36g drive a1 plex org concat sd length 36g drive a2 The previous error no longer occurs since I'm now setting the FStype to vinum via disklabel. Greg 'groggy' Lehey wrote: >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 > >