[OpenAFS] settin correct server info in vldb

ayvango ayvango@zoho.com
Tue, 26 Jun 2012 06:01:09 -0700


---- On Mon, 25 Jun 2012 07:43:35 -0700 Harald Barth  wrote ---- 


> 
>If you use -printuuid but don't get UUID lines, that looks broken to 
>me but I don't know how that could happen. 
> 
>Harald. 

It was after I've tried vos changeaddr 127.0.0.1 192.168.1.128

After restarting the services I've got following result:

----------------

vos listaddr -noresolve -printuuid
UUID: 000670c0-2f7e-1f42-a7-ba-0100007faa77
192.168.1.128
192.168.0.250

vos listvldb -noresolve
VLDB entries for all servers 

usr.username 
    RWrite: 536870927     Backup: 536870929 
    number of sites -> 1
       server 127.0.0.1 partition /vicepb RW Site 

----------------

127.0.0.1 address still remains.

I've committed experiment: new volumes created after suggested /etc/hosts changes contains right server address. But old one keep wrong address 127.0.0.1. How can I edit volume entry in volume database to change associated server name?