From owner-freebsd-current@FreeBSD.ORG Wed Oct 13 09:32:12 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 C6C6716A4CE for ; Wed, 13 Oct 2004 09:32:12 +0000 (GMT) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7592543D48 for ; Wed, 13 Oct 2004 09:32:12 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: by kweetal.tue.nl (Postfix, from userid 40) id D344F13B655; Wed, 13 Oct 2004 11:32:11 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by kweetal.tue.nl (Postfix) with ESMTP id 5009213BA40; Wed, 13 Oct 2004 11:32:07 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.1/8.13.1/Submit) id i9D9W77g028740; Wed, 13 Oct 2004 11:32:07 +0200 (CEST) (envelope-from stijn) Date: Wed, 13 Oct 2004 11:32:07 +0200 From: Stijn Hoop To: Ryan Hunt Message-ID: <20041013093207.GM98575@pcwin002.win.tue.nl> References: <200410121602.i9CG2kOr082691@hugo10.ka.punkt.de> <20041013071207.GL98575@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BZaMRJmqxGScZ8Mx" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on kweetal.tue.nl X-Spam-DCC: : kweetal.tue.nl 1074; Body=1 Fuz1=1 Fuz2=1 X-Spam-Status: No, hits=-4.9 required=6.3 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Level: cc: freebsd-current@freebsd.org 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: Wed, 13 Oct 2004 09:32:12 -0000 --BZaMRJmqxGScZ8Mx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 13, 2004 at 10:19:17AM +0100, Ryan Hunt wrote: > On 13 Oct 2004, at 08:12, Stijn Hoop wrote: > > On Wed, Oct 13, 2004 at 08:01:52AM +0100, Ryan Hunt wrote: > > > I'm trying to get vinum (geom) happening in BETA7, but I'm finding > > > that 'resetconfig' it not available yet (among other commands).. > > > > As a workaround, maybe you can obliterate the previous=20 > > configuration by dd'ing /dev/zero to the first 257 sectors of the > > relevant vinum 'drives'. I'd do this without geom_vinum loaded though. > > But will this destroy the data on the 'drives'? I want to be able to=20 > resize the disks on the fly.. (using growfs once I've added an=20 > additional plex) Why do you want to do a resetconfig then? 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 wou= ld recognize more free space on it's "drive" and then add another subdisk on t= hat same drive. I've done this around a year ago, so this might not work exactly as described but it is possible. 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. To answer your question though, in theory it should not destroy the data, so if you recreate your subdisks/plexes/volums at the same offsets it should /= in theory/ work. I haven't tried this though, so make sure you have your backu= ps handy (you do have good backups when experimenting with precious data & vin= um, I would hope). HTH, --Stijn --=20 The rain it raineth on the just And also on the unjust fella, But chiefly on the just, because The unjust steals the just's umbrella. --BZaMRJmqxGScZ8Mx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBbPYXY3r/tLQmfWcRAoz4AJ9fizg56OOwsP2x7DnrJtP6JvHHjwCeJJP1 9vjLjYyvNkrqoBrXxbmzCeE= =P/UP -----END PGP SIGNATURE----- --BZaMRJmqxGScZ8Mx--