From owner-freebsd-current Sun Jan 17 21:08:23 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA15620 for freebsd-current-outgoing; Sun, 17 Jan 1999 21:08:23 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15587 for ; Sun, 17 Jan 1999 21:08:14 -0800 (PST) (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 PAA25811; Mon, 18 Jan 1999 15:38:08 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id PAA91525; Mon, 18 Jan 1999 15:38:06 +1030 (CST) Date: Mon, 18 Jan 1999 15:38:05 +1030 From: Greg Lehey To: Makoto MATSUSHITA Cc: current@FreeBSD.ORG Subject: Re: vinum is always started at boot-time... Message-ID: <19990118153804.D55525@freebie.lemis.com> References: <19990118021522.A443@keltia.freenix.fr> <19990118021522.A443@keltia.freenix.fr> <19990118135514.Y55525@freebie.lemis.com> <19990118130353I.matusita@ics.es.osaka-u.ac.jp> <19990118144636.B55525@freebie.lemis.com> <19990118135157W.matusita@ics.es.osaka-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990118135157W.matusita@ics.es.osaka-u.ac.jp>; from Makoto MATSUSHITA on Mon, Jan 18, 1999 at 01:51:57PM +0900 WWW-Home-Page: http://www.lemis.com/~grog 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 Monday, 18 January 1999 at 13:51:57 +0900, Makoto MATSUSHITA wrote: > > grog> Because it doesn't work like that. The config is stored in the > grog> disk labels, not in a static (and not necessarily correct) > grog> config file. The config file is only for the first-time create. > > O.K. I understand (not 'vinum create' but 'vinum read'). Would you > please ('cause I don't know :-) how to set the "vinum_slice" variable? > We don't include /etc/rc.conf in such an early stage of /etc/rc... Oops. This was a thoroughly successful commit, wasn't it? At least it didn't break `make world'. I'll think out another way and test more thoroughly. How does this look? if [ -f /etc/vinumslices ]; then read /etc/vinumslices if [ -r /modules/vinum.ko ]; then # jkh paranoia kldload vinum vinum read $vinum_slices else echo "Can't find /modules/vinum.ko" fi fi > grog> Currently, yes. Peter put in hooks to statically configure > grog> Vinum, but THEY ARE NOT TESTED. Not at all. Please don't use > grog> them, or if you do, tell me only about the fixes you make. > > Hmm, I've used vinum without module (built-in the kernel). It works > for a week... Anyway, I'll stop it and switch to kldloading... thank you. OK, I take that back. You can also tell me about your successes :-) There's still one way you can shoot yourself in the foot with statically configured Vinum: unless you specify VINUMDEBUG, you can find yourself out of sync with Vinum(8): they pass structures via ioctl, and some of the structures include debugging information. 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