From owner-freebsd-questions Tue Mar 16 14:27:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 9F52415410 for ; Tue, 16 Mar 1999 14:27:11 -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 IAA17116; Wed, 17 Mar 1999 08:56:48 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA68728; Wed, 17 Mar 1999 08:56:47 +1030 (CST) Message-ID: <19990317085647.X429@lemis.com> Date: Wed, 17 Mar 1999 08:56:47 +1030 From: Greg Lehey To: Brad Knowles , Philip Kizer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Vinum questions? References: <19990216150017.004598@relay.skynet.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990216150017.004598@relay.skynet.be>; from Brad Knowles on Tue, Feb 16, 1999 at 03:00:17PM +0100 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-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tuesday, 16 February 1999 at 15:00:17 +0100, Brad Knowles wrote: > On Tue, Mar 16, 1999, Greg Lehey wrote: > >>> mercury# vinum create -V /etc/vinum.conf >>> Mar 15 15:13:02 mercury /kernel: vinum: loaded >>> Mar 15 15:13:02 mercury /kernel: vinum: loaded >>> Can't get vinum config: Invalid argument >> >> You've gone and removed -DVINUMDEBUG somewhere, haven't you? There >> was a warning in vinum(4), but it's possibly confusing. I've changed >> it to: > > Okay, I downloaded 4.0-CURRENT, extracted the tarball, did a > make in /usr/src/sys/modules/vinum and then a make install (ensuring > that VINUMDEBUG was turned on). Went and modified the kernel in > /usr/src/sys/i386/config/ to include VINUMDEBUG, did a > /usr/sbin/config MERCURY, did the make depend, make, make install, > then sync;sync;sync;shutdown -r now. I've done this enough times > that this is almost a rote process for me, but I didn't miss > anything, did I? Yes. First, you configured it in the kernel, though I continually ask you not to, and secondly you forgot a resetconfig, since you changed the names of the drives. > After coming back up (but not yet having made any changes to the > previously posted /etc/vinum.conf file), I got: > >> mercury# vinum create -V /etc/vinum.conf >> 1: # /etc/vinum.conf - config file for vinum(8) >> 2: # >> 3: # Our drives >> 4: drive d1 device /dev/da1e >> 5: drive d2 device /dev/da2e >> 6: drive d3 device /dev/da3e >> 7: drive d4 device /dev/da4e >> ** 7 Incorrect drive name d4 specified for drive drive4: Invalid argument You've changed the names of the drives, but they're still stored on the drive. You need to do a resetconfig. > Then a kernel panic. When? Immediately after the create command? > I'm waiting for the machine to sync it's disks, but I'll type in as > much of the error as I can before it completes (please excuse any > typos): This isn't much use without a dump; we don't know what those addresses represent. If you can't get a dump, we'll have to do some looking through the kernel namelist to establish what they were. > Well, I got that easily done before it completed, so I'm guessing > that the sync wasn't successful, and that I probably won't have a > recoverable crash dump. Big Red Button time.... Well, it took a long > time to fsck /, but the machine appears to be up again. Let's see if we > can go find a crash dump.... Nope -- dumpdev hadn't been specified in > /etc/rc.conf. Let's do `dumpon -v /dev/da0s1b`, then try again. Fine. I suppose we can take this one offline. 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-questions" in the body of the message