From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 07:10:05 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 5B04B16A4CE for ; Thu, 14 Oct 2004 07:10:05 +0000 (GMT) Received: from ip212-226-164-78.adsl.kpnqwest.fi (ip212-226-164-93.adsl.kpnqwest.fi [212.226.164.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6352543D1F for ; Thu, 14 Oct 2004 07:10:04 +0000 (GMT) (envelope-from mjraiha@ip212-226-164-78.adsl.kpnqwest.fi) Received: from ip212-226-164-78.adsl.kpnqwest.fi (localhost [127.0.0.1]) i9E7A3JU072535 for ; Thu, 14 Oct 2004 10:10:03 +0300 (EEST) (envelope-from mjraiha@ip212-226-164-78.adsl.kpnqwest.fi) Received: (from mjraiha@localhost)i9E7A3Ss072534 for freebsd-current@freebsd.org; Thu, 14 Oct 2004 10:10:03 +0300 (EEST) Date: Thu, 14 Oct 2004 10:10:03 +0300 From: mjraiha@fade.pp.fi To: freebsd-current@freebsd.org Message-ID: <20041014071003.GA72451@daemon.adsl.kpnqwest.fi> References: <200410121602.i9CG2kOr082691@hugo10.ka.punkt.de> <20041013071207.GL98575@pcwin002.win.tue.nl> <20041013093207.GM98575@pcwin002.win.tue.nl> <20041013122714.M566@korben.prv.univie.ac.at> <20041013151041.GD60427@daemon.adsl.kpnqwest.fi> <20041013151820.GR98575@pcwin002.win.tue.nl> <20041013160100.GA67958@daemon.adsl.kpnqwest.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20041013160100.GA67958@daemon.adsl.kpnqwest.fi> User-Agent: Mutt/1.4.1i X-Time-Zone: FI EET, 3 hours east of GMT. X-Operating-System: FreeBSD 5.1-RELEASE i386 Subject: Re: Geom Vinum backwards compatible? 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: Thu, 14 Oct 2004 07:10:05 -0000 Hi, On Wed, Oct 13, 2004 at 05:18:20PM +0200, Stijn Hoop wrote: > On Wed, Oct 13, 2004 at 06:10:41PM +0300, Marko Raiha wrote: > > On Wed, Oct 13, 2004 at 12:28:22PM +0200, Lukas Ertl wrote: > > > On Wed, 13 Oct 2004, Stijn Hoop wrote: > > > >I haven't tried this with geom_vinum, but using the old vinum I could > > > >grow the BSD partition that contained my vinum "drive", then restart > > > >vinum which would recognize more free space on it's "drive" and then add > > > >another subdisk on that same drive. I've done this around a year ago, so > > > >this might not work exactly as described but it is possible. > > > > > > That should work with geom_vinum as well, although I haven't tried yet. > > > > Is it possible to grow vinumized BSD partition only from the end or also > > from the beginning? > > Seeing as vinum stores it's configuration data at the start of the > vinum drive, I think it's not likely to work. You might get away with > moving the data with dd, if you set your blocksize to sector size (or > at least to a divisor of the spare space you allocate at the front). I > wouldn't want to test this without good backups though, and at that > point it might be easier to just recreate your vinum stuff from > scratch and restoring anyway. > > > > >Even more likely to work is just adding another BSD partition on your > > > >bigger drive, add that as a new vinum drive and then add > > > >subdisks/plexes on top. > > > > > > That's the way to go, but just make sure you have only one vinum > > > drive per disk. > > > > I have more than one vinum drive per disk and thats why I'm asking about > > growing vinumized partition to get rid of other than one of them before > > upgrading from 5.2.1 to 5.3. > > Why is more than 1 vinum drive per disk not good? I don't know details but I remember to have read about troubles with gvinum and many vinum drives per disk. Tried to find some threads of it but found only this: http://www.freebsd.org/cgi/getmsg.cgi?fetch=2027518+2030746+/usr/local/www/db/text/2004/freebsd-current/20040829.freebsd-current Maybe Lukas Ertl knows more about this? Cause recommends to use only one vinum drive per disk. Regards, -- ---------------------------------------------- | Marko Räihä | | Helsinki, GSM +358505515192 | | Finland Email marko.raiha@helsinki.fi | ----------------------------------------------