From owner-freebsd-current Sun Jul 1 13:15:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from gypsy.vrac.iastate.edu (gypsy.vrac.iastate.edu [129.186.232.122]) by hub.freebsd.org (Postfix) with ESMTP id 446AC37B401; Sun, 1 Jul 2001 13:15:45 -0700 (PDT) (envelope-from patrick@137.org) Received: from tomservo.vrac.iastate.edu (tomservo.vrac.iastate.edu [129.186.232.121]) by gypsy.vrac.iastate.edu (Postfix) with ESMTP id 079E550D; Sun, 1 Jul 2001 15:15:44 -0500 (CDT) Received: from tomservo.vrac.iastate.edu (localhost [127.0.0.1]) by tomservo.vrac.iastate.edu (Postfix) with ESMTP id 900A319F81; Sun, 1 Jul 2001 15:15:43 -0500 (CDT) To: Greg Lehey Cc: Alfred Perlstein , freebsd-current@freebsd.org Subject: Re: Vinum + DEVFS ? In-reply-to: "Sun, 01 Jul 2001 15:59:22 EDT." <20010701155921.C454@sydney.worldwide.lemis.com> Date: Sun, 01 Jul 2001 15:15:43 -0500 From: Patrick Hartling Message-Id: <20010701201543.900A319F81@tomservo.vrac.iastate.edu> 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 Greg Lehey wrote: } 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. Sorry, I'll be sure to include everything next time. } 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. That was it, thanks. I must have missed that point in reading the web pages yesterday (which are very helpful and readable, btw). } 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. Thanks for the tip. -Patrick Patrick L. Hartling | Research Assistant, VRAC patrick@137.org | 2624 Howe Hall -- (515)294-4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message