Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2004 11:32:07 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Ryan Hunt <ryan@ryanhunt.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Geom Vinum backwards compatible?
Message-ID:  <20041013093207.GM98575@pcwin002.win.tue.nl>
In-Reply-To: <F50146F6-1CF8-11D9-9FED-000A95D35E66@ryanhunt.net>
References:  <200410121602.i9CG2kOr082691@hugo10.ka.punkt.de> <C2F151EC-1CE5-11D9-9FED-000A95D35E66@ryanhunt.net> <20041013071207.GL98575@pcwin002.win.tue.nl> <F50146F6-1CF8-11D9-9FED-000A95D35E66@ryanhunt.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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