From owner-freebsd-fs Sun Apr 1 15:58:22 2001 Delivered-To: freebsd-fs@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 6EB6A37B71A for ; Sun, 1 Apr 2001 15:58:17 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 2041F6A90D; Mon, 2 Apr 2001 08:28:16 +0930 (CST) Date: Mon, 2 Apr 2001 08:28:16 +0930 From: Greg Lehey To: Kirk Strauser Cc: freebsd-fs@freebsd.org Subject: Re: My Vinum heart attack Message-ID: <20010402082816.J77617@wantadilla.lemis.com> References: <87vgooi7kz.fsf@pooh.honeypot> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <87vgooi7kz.fsf@pooh.honeypot>; from kirk@strauser.com on Sun, Apr 01, 2001 at 05:22:20PM -0500 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 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 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sunday, 1 April 2001 at 17:22:20 -0500, Kirk Strauser wrote: > Read on to find out how the world almost lost a loyal FreeBSD user to > heart-attack and/or stroke: > > I use cvsup to track 4.x-STABLE, and use the following procedure (from > /usr/src/UPDATING) to make world from time to time. > > ################ > > To update from 4.0-RELEASE or later to the most current > 4.x-STABLE > ---------- > make buildworld > make buildkernel KERNCONF=YOUR_KERNEL_HERE > make installkernel KERNCONF=YOUR_KERNEL_HERE > reboot (in single user) [1] > make installworld > mergemaster > reboot > > ################ > > I had last done this on February 11, 2001. Yesterday (2001-03-31), > I decided to make world again. During the reboot-into-single-user > process, I watched in abject horror as vinum started, tried to read > its configuration, didn't like what it found, and TOTALLY WIPED > everything in /dev/vinum (including subdirectories). This is a feature, not a bug. Don't confuse a device node (in /dev) with the device itself. > After regaining consciousness, I realized that I had a live tape > backup online, so I restored /dev/vinum, You shouldn't have done that. > restarted vinum, and nearly wept as it repeated the config-nuking > process. Eventually, I discovered that renaming /modules.old to > /modules and rebooting with kernel.old, coupled with that > handy-dandy /dev/vinum backup, was sufficient to bring my system > back to life. > > My assumption was that some low-level change to vinum was made > sometime between 2001-02-11 and 2001-03-31, and that rebooting > before 'make installworld' left my kernel and userland utilities > out-of-sync. Well, if you had kept the log files, we could check. The only change made to Vinum in that time was a minor one fixing a panic when starting striped plexes. Take a look at http://www.vinumvm.org/vinum/how-to-debug.html and let me know what info you have. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message