AFS on Mac OS X


Is AFS is running?

Starting AFS by hand

Stopping AFS

kAuth unexpected quit

Why doesn't AFS icon appear on my desktop?

Links and AFS

Accessing AFS files gives timeout error

Taking a long long time to login when network is not connected

Can I run kAuth from the command line?


Check to see if AFS is running

"ps -auwx|egrep afs" will not return any processes if AFS is not running.

If it is running, you will see something like

% ps -auwx|egrep afs
   root 367 0.0 0.0 1528 96 ?? SL 1:15PM 0:00.04 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 368 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 369 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 370 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 371 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 372 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.01 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 373 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 374 0.0 0.0 1528 96 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   root 384 0.0 0.0 1528 92 ?? UL 1:15PM 0:00.00 /usr/sbin/afsd -stat 2000 -dcache    800 -daemons 3 -volumes 70 -f
   jmstarr 425 0.0 0.0 1116 200 std R+ 1:18PM 0:00.01 egrep afs

Starting AFS

If you notice that AFS is not running, you can start it with "sudo /Library/StartupItems/OpenAFS/OpenAFS start"

Stopping AFS

"sudo umount /afs"

kAuth unexpectedly quit

This can happen if AFS is not running. Make sure AFS is running if you get this error.

Why doesn't AFS icon appear on my desktop?

If you did not have access to the network when you logged in, you may not see the AFS icon on your desktop. This does not mean that AFS is not running. To see if AFS is running. look for the AFS processes. ps -auwx|egrep afs will not return any processes if AFS is not running.

Links and AFS

You should be careful traversing links in AFS. Sometimes the Finder will hang as it tried to surmise the actual AFS location.

Taking a long long time to login when network is not connected

I noticed this behavior after I turned off my Ethernet port and rebooted. I haven't figured out an easy way to turn off AFS. I needed to install soome software that checked the harddrive, hence I tried to disconnect from the net.I waited about 5 minutes, ad then had control of the machine again.

Once I had my software installed, I turned on the network and AFS was reachable, even though the AFS icon was not present on my Desktop. I checked this by looking for the afsd processes.

Accessing AFS files gives timeout error

I encountered AFS timeout errors when using 128bit WEP from my iBook to my AirPort at home.

Can I run kAuth from the command line?

Yes, /Applications/Utilities/kAuth.app/Contents/MacOS/kAuth.

last updated: April 23, 2003 0:49 AM by jmstarr