From owner-freebsd-current Tue Jun 22 22:49:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id E72AC154DD for ; Tue, 22 Jun 1999 22:49:34 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id PAA18976; Wed, 23 Jun 1999 15:19:38 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id PAA00640; Wed, 23 Jun 1999 15:19:51 +0930 (CST) Date: Wed, 23 Jun 1999 15:19:50 +0930 From: Greg Lehey To: Thierry Herbelot Cc: "David E. Cross" , freebsd-current@FreeBSD.ORG Subject: Re: vinum in -current Message-ID: <19990623151950.A581@freebie.lemis.com> References: <199906230214.WAA26278@cs.rpi.edu> <19990623120730.H76907@freebie.lemis.com> <377071AF.4541C060@cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <377071AF.4541C060@cybercable.fr>; from Thierry Herbelot on Wed, Jun 23, 1999 at 07:33:35AM +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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 23 June 1999 at 7:33:35 +0200, Thierry Herbelot wrote: > Greg Lehey wrote: >> > > [SNIP] > >> I've also changed the names of the drives. With the old ones, you >> won't be able to start the volume after a reboot. To quote vinum(8): >> >> drive name option >> >> Define a drive. The option must be: >> >> device devicename Specify the device on which the drive resides. >> devicename must be the name of a disk compati- >> bility partition, for example /dev/da1e or >> /dev/wd3h, and it should be of type vinum. Do >> not use the c partition, which is reserved for >> the complete disk, and should be of type >> unused. It is currently possible to create >> drives on other disk devices, for example >> /dev/da0s1 or /dev/da0s1e, but it will not be >> possible to start these drives after a reboot. > > Hello Greg, > > If I may intrude in this discussion, I was wondering what is the correct > syntax for naming vinum drives in rc.conf. > I've got two drives merged and striped with vinum, but I'm not sure what > to put in rc.conf > vinum_conf : > drive drive1 device /dev/wd1s1h > drive drive2 device /dev/wd2s1h As the man page excerpt that you quoted above shows, this is wrong. It should be /dev/wd1h and /dev/wd2h. > volume initial > plex org striped 512b > sd length 19806208b drive drive1 > sd length 19806208b drive drive2 > > in rc.conf : > Is the following correct : > vinum_drives="/dev/wd1s1h /dev/wd2s1h" > or should it be > vinum_drives="/dev/wd1h /dev/wd2h" In fact, it should be vinum_drives="" start_vinum=YES That way, vinum will start all drives. > Big kudos for vinum Thanks. Greg -- 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-current" in the body of the message