Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 11:32:35 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Stijn Hoop <stijn@win.tue.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Fixing vinum after removing a HDD
Message-ID:  <20040212010235.GV8342@wantadilla.lemis.com>
In-Reply-To: <20040204185203.GA14302@pcwin002.win.tue.nl>
References:  <Pine.LNX.4.58.0402041701510.17812@shell.dds.nl> <20040204185203.GA14302@pcwin002.win.tue.nl>

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

--+W7ryvxEk4RRyt+P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wednesday,  4 February 2004 at 19:52:03 +0100, Stijn Hoop wrote:
> On Wed, Feb 04, 2004 at 07:41:48PM +0100, dontspamhenk@xs4all.nl wrote:
>> I'm running FreeBSD 4.8 on a system with 5 HDD's. ad0 is to be removed
>> from the system. ad1, ad2 and ad3 contain my vinum drives. FreeBSD resid=
es
>> on the last disk (da0).
>>
>> Can anyone tell me if the following procedure is the right way to do it?
>> 1. physically remove ad0
>> 2. vinum resetconfig
>> 3. change drivenumbers in vinum.conf
>> 4. run vinum with the new configfile
>
> As far as my (limited) vinum knowledge goes, you really don't need to do a
> resetconfig.

Correct.  From the man page:

     resetconfig
             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.=20

I'm completely baffled that people want to use this command so much.
The correct sequence is to remove the drive, replace it with something
else with a Vinum partition, and then start the defective objects.

It depends on the volume structures as to whether the data can still
be recovered.

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.

--+W7ryvxEk4RRyt+P
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQFAKtCrIubykFB6QiMRAv82AJkBQ59h1xEex3/7TUsgXm6SQpq9YwCfdUAI
aGX5Ds4J5A7opYQSivLzg2g=
=alaM
-----END PGP SIGNATURE-----

--+W7ryvxEk4RRyt+P--



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