[OpenAFS] vos syncserv and vos syncvldb
Christopher D. Clausen
Sun, 23 Mar 2008 23:23:40 -0500
Steven Jenkins <firstname.lastname@example.org> wrote:
> On Sun, Mar 23, 2008 at 1:58 PM, Christopher D. Clausen
> <email@example.com> wrote:
>> I was trying to help someone on #openafs yesterday with a hosed vldb
>> due to an AFS server being initial setup on "localhost." Once we
>> determined that was indeed the problem (which was not easy in and
>> of itself) and corrected, attempts were made to fix the vldb by
>> using vos syncvldb and vos syncserv. However, these did not seem
>> to help and I had the user in question simply shutdown their AFS
>> servers and manually delete the vldb.DB0 and vldb.DBSYS1. This
>> worked, but I suspect this is not the correct way to solve the
>> Can someone provide the correct steps to make an incorrect (say
>> "localhost") entry disappear from the vldb and vos listaddrs or at
>> least say in what situations vos syncserv and vos syncvldb should
>> be used?
> - vos listaddr -noresolve (to make sure 'bad-addr' is indeed
It was indeed bad and we did that, after fixing /etc/hosts to make
localhost appear instead of the machine name in there.
> - vos changeaddr bad-addr new-addr'
Was doing vos changeaddr 127.0.0.1 -remove which gave: "Could not remove
server localhost from the VLDB" I guess that was not the correct thing
to do. Now I know.