[OpenAFS] PTS sadness

Esther Filderman mizmoose@gmail.com
Mon, 25 May 2009 16:10:25 -0400

Someone may come up with some magic tool I'm either unaware of or have
forgotten, but with under 200 entries I'd literally just delete the
old pts db and rebuild it from scratch.  You should be able to get a
rough idea of what the db should contain from the db pt_util gave you
(it should be writing a readable file). Shut down your ptservers,
delete the db files, restart the ptservers.  Then script some "pts
create" and "pts adduser" and wait for people to complain they're not
able to get to places. :/

Let this be a lesson to you to BACK UP YOUR PTS DB.  It's trivial to
write a little shell script that makes sure a db server isn't a
sync-site, shut down the ptserver (probably not really needed but I'm
paranoid), and copy the db files and use pt_util to write it out to a
file.  It'll take moments to run.  (then restart your ptserver, of