From owner-freebsd-stable@FreeBSD.ORG Sat Apr 17 18:55:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1925916A4CE for ; Sat, 17 Apr 2004 18:55:48 -0700 (PDT) Received: from dukas.upc.es (dukas.upc.es [147.83.2.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5090643D41 for ; Sat, 17 Apr 2004 18:55:47 -0700 (PDT) (envelope-from joan@iaeste-catalunya.upc.es) Received: from localhost (localhost [127.0.0.1]) by dukas.upc.es (8.12.10/8.12.10) with ESMTP id i3I1tktX012112 for ; Sun, 18 Apr 2004 03:55:46 +0200 (MEST) Received: from dukas.upc.es ([127.0.0.1]) by localhost (dukas [127.0.0.1]) (amavisd-new, port 10023) with LMTP id 11987-01 for ; Sun, 18 Apr 2004 03:55:45 +0200 (MEST) Received: from iaeste-catalunya.upc.es (iaeste-catalunya.upc.es [147.83.55.111]) by dukas.upc.es (8.12.10/8.12.10) with SMTP id i3I1n1iH010053 for ; Sun, 18 Apr 2004 03:50:22 +0200 (MEST) Received: (qmail 8745 invoked by uid 1001); 18 Apr 2004 01:46:41 -0000 Date: Sun, 18 Apr 2004 03:46:40 +0200 From: Joan Picanyol i Puig To: "Greg 'groggy' Lehey" Message-ID: <20040418014640.GA6730@iaeste-catalunya.upc.es> Mail-Followup-To: joan-lists@iaeste-catalunya.upc.es, freebsd-stable@freebsd.org References: <20040417120451.GB26650@iaeste-catalunya.upc.es> <20040417141545.GC26650@iaeste-catalunya.upc.es> <20040417193036.GA4485@iaeste-catalunya.upc.es> <20040418002338.GG74025@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040418002338.GG74025@wantadilla.lemis.com> User-Agent: Mutt/1.5.5.1i cc: freebsd-stable@FreeBSD.org cc: joan-lists@iaeste-catalunya.upc.es Subject: Re: vinum configuration broken X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 01:55:48 -0000 Summary: I've screwed up my working vinum configuration. I have done it _without_ issuing any vinum commands. About all the info I can give is on the web at http://biaix.org/pk/debug/vinum/, plus some postings on questions@ and stable@ with 'vinum' on the subject. On Sun, Apr 18, 2004 at 09:53:38AM +0930, Greg 'groggy' Lehey wrote: > On Saturday, 17 April 2004 at 21:30:36 +0200, Joan Picanyol i Puig wrote: > > [please honour Mail-Followup-To:] > This appears to be identical to the group reply addresses. Am I > missing something? I can't access my subscription address, it's on the broken system :(. I set MFT so both me and the list get the answer. > > On Sat, Apr 17, 2004 at 04:15:45PM +0200, Joan Picanyol i Puig wrote: > >> During this afternoon I'll work on crafting a configuration file for all > >> this, should I do a resetconfig before applying it? In any case, I'll > >> definitely wish I can get a reassuring review of the config file before > >> I risk it :o > > > > I'm attaching what I think is the right configuration file to get vinum > > back to reason. However, I have some doubts: > > > > I'd really like if someone could reassure me before definitely screwing > > up everything, just to be able to not feel guilty twice (once for > > screwing it up, another time for _really_ screwing it up) > You've sent a lot of messages, but none of them contain the > information that is asked for in the man page or at the web site > (http://www.vinumvm.org/vinum/how-to-debug.html). I publish this link > at least once a week. In particular, I want to see the history file. > In many cases where it's missing, it shows that somebody did something > wrong. I realize that posting so many messages doesn't make it easier to solve the issue, and I'm 99% sure it's my fault. However, the only vinum commands I've issued are start/stop and read disk (once vinum was already broken). Before that, I booted from another root partition (dump/restored from the original) and reMAKEDEV'd devices. I just started giving info as I could gather it. In http://docs.freebsd.org/cgi/mid.cgi?20040417120451.GB26650 I state that my logs (/var/log) are on one of the affected vinum volumes, therefore I can't provide them :( > Publishing your findings on the web as a maze of links doesn't make > it any easier. On the web there's the output of the vinum list command and the on-disk configuration (I just rechecked and would ask you to rely on vinum.log.ad0s1.clean); since there's no tr in the fixit CD, I did the 'clean up' later, hence the names. In there you can find what I've been able to gather so far, I'll be glad to follow any further directions. The fdisk* files are what fdisk says about my disks, same with disklabel*. I obtained vinum.log* following your directions, first as a whole and then separated. Sorry if it looks confusing, I thought my naming scheme was clear enough. > Nor does a configuration file by itself. From the link mentioned > above: > > What not to supply ------------------ Please don't supply the > following information unless I ask for it: [...] * Your Vinum > configuration file, unless your problem is that you can't start > Vinum at all. The configuration file I attached is _not_ the one used to set everything up (which is also on one of the affected volumes). It's the one I think would reset my config to a working state (ie: restore the disk metadata preserving the data). To make sure there's no misunderstanding: I feel I've broken my vinum configuration beyond any hope of sane recovery. However, since I believe my data is still OK, I'm trying to devise a way to restore my configuration. So far, the best I've come up with is resetconfig and apply vinum.recreate to get my setup back to live. Is there anything I should try before such traumatic ways? tks P.S.: I'm on CET, what's your time zone? -- pica