Date: Sun, 17 Aug 2003 10:14:18 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Hari Bhaskaran <subscr@spider.netmails.net> Cc: freebsd-questions@freebsd.org Subject: Re: vinum config info stays intact during reinstall? Message-ID: <20030817004418.GE4494@wantadilla.lemis.com> In-Reply-To: <20030816225114.GA6528@poecilotheria.netmails.net> References: <20030816225114.GA6528@poecilotheria.netmails.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--qFgkTsE6LiHkLPZw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Saturday, 16 August 2003 at 17:51:14 -0500, Hari Bhaskaran wrote:
> Hi,
>
> I reinstalled one of my machines that had vinum running
> (wiped & installed 5.1) and vinum was able to pickup the
> drives/plexes etc right after I started vinum. Can I rely
> on this feature?
You should be able to.  Having backups does no harm, though.
> or should I use resetconfig & create again?
NO!  To quote the man page:
             The resetconfig command completely obliterates the vinum confi=
gu-
             ration on a system.  Use this command only when you want to co=
m-
             pletely delete the configuration.
=46rom the tutorial at http://www.vinumvm.org/cfbsd/vinum.pdf:
o Do not use the resetconfig command unless you genuinely don't want to see=
 any
  of your configuration again.  There are other alternatives, such as rm, w=
hich
  removes individual objects or groups of objects.
> If vinum stores its info somewhere hidden in the swap, I would have
> expected it to disappear after a reinstall ( I didn't re-create
> slices or partitions, left them as they are during the re-install).
It doesn't use swap.  Again, from the tutorial:
Configuring Vinum
-----------------
Vinum maintains a configuration database that describes the objects known t=
o an
individual  system.   You  create  the  configuration database from one or =
more
configuration files with the aid of the vinum utility program.  Vinum store=
s  a
copy  of  its  configuration  database  on  each Vinum drive.  This databas=
e is
updated on each state change, so that a restart accurately restores  the  s=
tate
of each Vinum object.
Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
--qFgkTsE6LiHkLPZw
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)
iD8DBQE/Ps/iIubykFB6QiMRAs2oAJsFHYfIpKSf406heswln7XQQYG7IQCfQET0
lDpL4XDCTI5ROVhAI5nCFcs=
=lh/3
-----END PGP SIGNATURE-----
--qFgkTsE6LiHkLPZw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030817004418.GE4494>
