From owner-freebsd-current@FreeBSD.ORG Mon Nov 8 14:26:19 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 932E916A4CE; Mon, 8 Nov 2004 14:26:19 +0000 (GMT) Received: from spxau01.smeglobalnet.net (spxau01.smeglobalnet.net [203.57.65.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E713843D48; Mon, 8 Nov 2004 14:26:18 +0000 (GMT) (envelope-from andy@bradfieldprichard.com.au) Received: from bpgate.speednet.com.au ([203.41.15.9]) by spxau01.smeglobalnet.net with Microsoft SMTPSVC(5.0.2195.6713); Tue, 9 Nov 2004 01:23:38 +1100 Received: from bpgate.speednet.com.au (localhost [127.0.0.1]) iA8ENbQA059806; Tue, 9 Nov 2004 01:23:37 +1100 (EST) (envelope-from andy@bradfieldprichard.com.au) Received: from localhost (andy@localhost)iA8ENboI059803; Tue, 9 Nov 2004 01:23:37 +1100 (EST) (envelope-from andy@bradfieldprichard.com.au) X-Authentication-Warning: bpgate.speednet.com.au: andy owned process doing -bs Date: Tue, 9 Nov 2004 01:23:37 +1100 (EST) From: Andy Farkas X-X-Sender: andy@bpgate.speednet.com.au To: Lukas Ertl In-Reply-To: <20041108142458.J5398@pcle2.cc.univie.ac.at> Message-ID: <20041109012152.R59522@bpgate.speednet.com.au> References: <20041107003413.GQ24507@wantadilla.lemis.com> <200411071124.35056.msch@snafu.de> <20041108084037.O570@korben.prv.univie.ac.at> <20041108120226.L5398@pcle2.cc.univie.ac.at> <20041108141311.M5398@pcle2.cc.univie.ac.at> <20041108142458.J5398@pcle2.cc.univie.ac.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-OriginalArrivalTime: 08 Nov 2004 14:23:39.0208 (UTC) FILETIME=[8A7BA480:01C4C59E] cc: freebsd-current@FreeBSD.org Subject: Re: gvinum remains broken in 5.3-RELEASE? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 14:26:19 -0000 On Mon, 8 Nov 2004, Lukas Ertl wrote: > On Tue, 9 Nov 2004, Andy Farkas wrote: > >> ... but my {g}vinum problem is still real.. > > Yes, that's a very mean problem. The problem is that the old meta-data is on > da4, and the new is on da4s1. That collision is really hard to handle. My > advice would be: > > *) keep a copy of gvinum printconfig and of bsdlabel of all drives. > *) dd if=/dev/zero of=/dev/disk to wipe out the slice table, the bsdlabel > and the vinum config, but be careful to only touch the first few > sectors. You might want to experiment with only one sector and go up > until the slice table and the bsdlabel is gone. > *) once finished with that, recreate slices as they are now plus the > bsdlabels that you copied, and then recreate the vinum config from what > you got before minus the objects that you don't want. > > Just make sure that you get all offsets and sizes correct, then you shouldn't > lose any data. > > The problem of old, stale metadata is one I didn't think of. Since gvinum > doesn't care about the type of partition as vinum did, one might run into a > problem like you. > > thanks, > le I will copy the degraded volume to tape, then try your suggestion. It will take a while, but I'll get back to you... - andyf