Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 08:28:16 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: My Vinum heart attack
Message-ID:  <20010402082816.J77617@wantadilla.lemis.com>
In-Reply-To: <87vgooi7kz.fsf@pooh.honeypot>; from kirk@strauser.com on Sun, Apr 01, 2001 at 05:22:20PM -0500
References:  <87vgooi7kz.fsf@pooh.honeypot>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010402082816.J77617>