From owner-freebsd-questions Mon Sep 20 19: 2:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id A2AE514A03 for ; Mon, 20 Sep 1999 19:02:23 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA16228; Tue, 21 Sep 1999 11:32:14 +0930 (CST) Date: Tue, 21 Sep 1999 11:32:14 +0930 From: Greg Lehey To: Mgmt-PC Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems with vinum on FreeBSD-3.2RELEASE Message-ID: <19990921113214.W55065@freebie.lemis.com> References: <01d201befa86$9908b940$fb2421d4@CM36-251.liwest.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <01d201befa86$9908b940$fb2421d4@CM36-251.liwest.at>; from Mgmt-PC on Thu, Sep 09, 1999 at 07:45:59AM +0200 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 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 9 September 1999 at 7:45:59 +0200, Mgmt-PC wrote: >> >> The following config should do what you want: >> >> drive a device /dev/da2a >> drive b device /dev/da3a >> volume userdisk >> plex org striped 512k >> sd length 8192M drive a >> sd length 8192M drive b >> >> You'll probably have to relabel the drives first. > > Thanks for your reply! > > Yes, that's what i tried first, but then the drive is not found at > all, although the whole slice is unused. To quote vinum(8): Where to put the data The first choice you need to make is where to put the data. You need dedicated disk partitions for vinum. They should be partitions, not de- vices, and they should not be partition c. For example, good names are /dev/da0e or /dev/wd3s4a. Bad names are /dev/da0 and /dev/da0s1, both of which represent a device, not a partition, and /dev/wd1c, which represents a complete disk and should be of type unused. See the example under DRIVE LAYOUT CONSIDERATIONS above. Previously, it shows an example: 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. > The disklabel shows only one entry, which is c and of type unused. > But using da2c gives the same result as da2s1. > > Do i have to create some dummy partitions on da2s1 to get one extra > unused or how do i go about it if i want the whole drive to be used by > vinum? > > Helpless, confused and unable > to understand the manual, OK, what part of the text above don't you understand? Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message