Date: Fri, 20 Apr 2001 09:44:04 +0930 From: Greg Lehey <grog@lemis.com> To: =?iso-8859-1?Q?P=E4r_Thoren?= <t98pth@student.bth.se> Cc: freebsd-questions@freebsd.org Subject: Re: Vinum raid 4.3 RC Message-ID: <20010420094404.I72816@wantadilla.lemis.com> In-Reply-To: <Pine.GSO.4.21.0104191339240.15133-100000@helios>; from t98pth@student.bth.se on Thu, Apr 19, 2001 at 01:43:20PM %2B0200 References: <Pine.GSO.4.21.0104191339240.15133-100000@helios>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010420094404.I72816>