Fixing vinum after removing a HDD

Greg 'groggy' Lehey grog at FreeBSD.org
Sun Feb 22 19:29:36 PST 2004


On Wednesday, 11 February 2004 at 19:30:52 -0800, Micheas Herman wrote:
> On Wed, 2004-02-11 at 17:02, Greg 'groggy' Lehey wrote:
>> On Wednesday,  4 February 2004 at 19:52:03 +0100, Stijn Hoop wrote:
>>> On Wed, Feb 04, 2004 at 07:41:48PM +0100, dontspamhenk at 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 resides
>>>> 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 configu-
>>              ration on a system.  Use this command only when you want to com-
>>              pletely delete the configuration.
>>
>> 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.
>
>         Just a guess (arm chair psychology of users), but I suspect it
>         is because they are thinking that they need to "re-setup" their
>         drive.
>
>         Maybe deleteconfig would be a more self documenting flag.

Hmm, maybe.  I'll think about this.

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
Note: I discard all HTML mail unseen.
Finger grog at FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040223/f710bcb4/attachment.bin


More information about the freebsd-questions mailing list