Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 03:11:20 +0100
From:      Brad Knowles <blk@skynet.be>
To:        Greg Lehey <grog@lemis.com>
Cc:        Andy De Petter <andy.depetter@ops.skynet.be>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: Problems with corrupted vinum devices...
Message-ID:  <v04220827b67c2e5df079@[172.17.1.121]>
In-Reply-To: <20010106122304.I48589@wantadilla.lemis.com>
References:  <v0422080ab67b97176227@[172.17.1.121]> <20010106122304.I48589@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:23 PM +1030 2001/1/6, Greg Lehey wrote:

>  Well, I've taken a look at the log file, and in fact all the drives
>  except the first two have "NO VINO", which is the magic number for
>  deleted Vinum drives.  This is probably the result of a resetconfig,
>  and it completely explains the following problems.

	I counted only four instances of "NO VINO", which I take to mean 
that the old devices (da4s1, da4s2, da5s1, and da5s2) were all 
relatively clean, while the new devices were all corrupt.

>  I've just checked the source code, and it looks as if I don't log
>  whether the configuration updates are enabled at all.  There's no
>  reason to think that they should not be based on the other information
>  you give, but evidently we never got the configuration to disk.  Did
>  you get any error messages?

	No, everything seemed to work just fine -- vinum showed the sub 
disks, plexes, and volumes as being up, I could create filesystems, 
etc....

>  Anyway, the good news is that the data is almost certainly still
>  there.  You should be able to recreate the volumes with the same
>  configuration file you used the first time round (don't use
>  resetconfig first).  If the second plexes were up when the system
>  crashed, you should use the setupstate keyword for the volumes to
>  indicate that.

	Well, we've already deleted and re-created the devices once, and 
now we can't even get vinum to start because it can't read the 
supposedly existing devices.  I am at a loss to understand how we 
would recreate the devices another time, on top of the old 
configurations (and hopefully be able to retain all the data, etc...).

	Is there something I'm missing?  Maybe you could explain this 
process in a little more detail?

--
   These are my opinions -- not to be taken as official Skynet policy
======================================================================
Brad Knowles, <blk@skynet.be>                || Belgacom Skynet SA/NV
Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124
Phone/Fax: +32-2-706.13.11/12.49             || B-1140 Brussels
http://www.skynet.be                         || Belgium

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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