[OpenAFS] false fileserver in vldb, howto remove?

Harald Barth haba@kth.se
Wed, 07 Dec 2011 18:28:34 +0100 (CET)


> and the vos listvldb show all volumes fine and no sign of
> 172.24.25.81.

Yes, currently you have
$ vos listaddr -printuuid -cell cgv.tugraz.at  -noauth -noresolv
UUID: 0033d88a-50ed-1d6a-9c-82-20da1b81aa77
129.27.218.32

UUID: 0057a242-8730-1e99-83-83-1fda1b81aa77
129.27.218.31
172.24.25.81

UUID: 00151c06-63f1-1963-8b-da-1eda1b81aa77
129.27.218.30

UUID: 003462d2-5bae-1925-9d-af-381c8c92aa77
146.140.28.56

If I look at the code in 

static int ChangeIPAddr(afs_uint32 ipaddr1, afs_uint32 ipaddr2, struct ubik_trans *atrans) 

I think it will prevent you from doing anything with an IP that still
has volumes under the UUID. I don't see any code that checks if the IP
you want to remove is the last IP of that UUID and only in that case
prevents removal. In that case, I have not figured out a good
workaround for what you want to do. Hm.

Harald.