From owner-freebsd-questions Thu Apr 19 17:14:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 314AA37B424 for ; Thu, 19 Apr 2001 17:14:06 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 6000E6ACB8; Fri, 20 Apr 2001 09:44:04 +0930 (CST) Date: Fri, 20 Apr 2001 09:44:04 +0930 From: Greg Lehey To: =?iso-8859-1?Q?P=E4r_Thoren?= Cc: freebsd-questions@freebsd.org Subject: Re: Vinum raid 4.3 RC Message-ID: <20010420094404.I72816@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from t98pth@student.bth.se on Thu, Apr 19, 2001 at 01:43:20PM +0200 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 Thursday, 19 April 2001 at 13:43:20 +0200, Pär Thoren wrote: > Hi! > > after I upgraded to 4.3 RC i got some problem with vinum. > > z#>> vinum create /etc/vinum.conf > 1: drive d1 device /dev/wd1c > ** 1 Can't initialize drive d1: Inappropriate ioctl for device > 2: drive d2 device /dev/wd2c > ** 2 Can't initialize drive d2: Inappropriate ioctl for device > 3: drive d3 device /dev/wd3c > ** 3 Can't initialize drive d3: Inappropriate ioctl for device > Can't create /dev/vinum/: File exists > Can't create /dev/vinum/vol/: File exists > Can't get config for plex 0: Invalid argument > > > The vinum.conf looks like this: > > z# cat /etc/vinum.conf > drive d1 device /dev/wd1c > drive d2 device /dev/wd2c > drive d3 device /dev/wd3c This is an RTFM: 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. > volume big > plex org concat > sd length 0 drive d1 > sd length 0 drive d2 > sd length 0 drive d3 > > I´m using the old ata driver couse the new ones didn´t work. > This configuration worked with 4.2 It shouldn't have. I suppose I should add a better error message. 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