From owner-freebsd-current Sun Jul 1 12:59:32 2001 Delivered-To: freebsd-current@freebsd.org Received: from sydney.worldwide.lemis.com (ip-208.54.117.169.mobilestar.net [208.54.117.169]) by hub.freebsd.org (Postfix) with ESMTP id D474337B401 for ; Sun, 1 Jul 2001 12:59:26 -0700 (PDT) (envelope-from grog@sydney.worldwide.lemis.com) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.11.3/8.9.3) id f61JxMx00513; Sun, 1 Jul 2001 15:59:22 -0400 (EDT) (envelope-from grog) Date: Sun, 1 Jul 2001 15:59:22 -0400 From: Greg Lehey To: Patrick Hartling Cc: Alfred Perlstein , freebsd-current@freebsd.org Subject: Re: Vinum + DEVFS ? Message-ID: <20010701155921.C454@sydney.worldwide.lemis.com> References: <20010630223014.F84523@sneakerz.org> <20010701192236.E712419F81@tomservo.vrac.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010701192236.E712419F81@tomservo.vrac.iastate.edu>; from patrick@137.org on Sun, Jul 01, 2001 at 02:22:36PM -0500 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: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday, 1 July 2001 at 14:22:36 -0500, Patrick Hartling wrote: > Alfred Perlstein wrote: > >> * Patrick Hartling [010630 14:04] wrote: >>> I just got two new hard drives, and I am preparing to set them up to do >>> RAID-1 with Vinum. A few weeks ago (around the time that use of DEVFS >>> became the default in -current), I saw a message saying that Vinum was >>> not yet ready for use with DEVFS. Is that still the case? >> >> I fixed that. :) Let me and Grog know if you have problems. > > Everything seems to be okay with the vinum device node creation, but I > am having problems with my vinum configuration. I basically copied this > from an example in the online documentation (which is also in the > vinum(8) manpage); > > drive da3e device /dev/da3s1e > drive da4e device /dev/da4s1e > volume mirror > plex org concat > sd length 12g drive da3e > plex org concat > sd length 12g drive da4e > > When I do 'vinum create', I get the following: > > 1: drive da3e device /dev/da3s1e > ** 1 : Invalid argument > 2: drive da4e device /dev/da4s1e > ** 2 : Invalid argument > 3: volume mirror > 4: plex org concat > 5: sd length 12g drive da3e > 6: plex org concat > 7: sd length 12g drive da4e > > Which one is the invalid argument, The name of the partition. > and why is it invalid? I can't say for sure, since you don't supply the info asked for in the man page and the web page. But I'd be prepared to bet that your da3s1e and da4s1e partitions are not of type Vinum. Look for 'disklabel' in the man page. BTW, it's bad practice to name your drives after the partition on which they are currently resident. You can take those two drives and swap their SCSI IDs. Vinum will still find them and operate correctly, but your da3s1e partition will be drive da4e, and da4s1e will be drive da3e, which is completely confusing. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message