Fixing vinum after removing a HDD

Stijn Hoop stijn at win.tue.nl
Wed Feb 4 10:51:44 PST 2004


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.

Vinum writes the configuration to the disk and reads the information from it.
I think it will be able to cope with a missing disk by itself because the
label on it has not changed; on what is now /dev/ad1s1h vinum has stored
the fact that this vinum drive is labeled 'a', and even if the freebsd
device node changes names, vinum will still know that the then /dev/ad0s1h
is labeled 'a'.

Unfortunately this is only my understanding and I haven't yet needed to
do such an operation for real. YMMV.

--Stijn

-- 
The right half of the brain controls the left half of the body.  This means
that only left handed people are in their right mind.
-------------- 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/20040204/9a9ad337/attachment-0001.bin


More information about the freebsd-questions mailing list