[OpenAFS] How to remove fileserver-address

Derrick J Brashear shadow@dementia.org
Mon, 8 Jan 2007 09:28:52 -0500 (EST)


On Mon, 8 Jan 2007, FB wrote:

> Hi,
>
> One of my fileservers has two NICs. Only one is used but the second one
> has been active (by mistake) once when I started the fileserver.

Did you actually NetRestrict the second address away?

> Now I've got an additional addresse in my VLDB which I cannot get rid of:
>
> huchen> vos listaddrs -printuuid
> vsu_ClientInit: Could not get afs tokens, running unauthenticated.
>
> [...]
>
> UUID: 00339258-ada0-12ba-9d-be-0b3a000aaa77
> huchen.cbs.mpg.de
> 192.168.4.1
>
> [...]
>
> I tried to remove the address - without success:
>
> huchen> vos changeaddr 192.168.4.1 -remove -localauth
> Could not remove server 192.168.4.1 from the VLDB
> VLDB: volume Id exists in the vldb
>
> Is there another way which doesn't require me to delete and rebuild by VLDB?

Use netrestrict, restart the fs, then changeaddr -remove it