Hey there all,

 

I just recently set up the Debian openafs 1.4.4 packages on an Ubuntu server
box, running in a virtual machine.  It's monsoon season here in Tucson and
we've had a couple of long power outages and problems with the UPS.  Both
times the server has gone done unexpectedly, AFS didn't come back up
correctly.  The symptoms I note are that "ls /afs" returns empty on the
server and the Windows client can't connect.

 

For whatever reason, the thing that has fixed it both times is running "fs
checkvolumes".  Of course, "fs checkvolumes" segfaults when I run it, but if
I reboot after that, everything comes back up fine, clients can connect, and
further "fs checkvolumes" don't segfault.  Rebooting before running that
specific command (with the segfault) does nothing-"ls /afs" still returns
empty.

 

So. a couple of questions:

How do I ensure AFS can survive a power outage/unexpected poweroff without
getting borked?

If it does get borked, why would a segfaulting "fs checkvolumes" fix things?

 

Thanks much!

Karl M. Davis

Reply via email to