OpenAFS Problems

Problems that arise from OpenAFS issues:

Problem: I just updated my workstation and now AFS won't work.

Possible Fix: More than likely the kernel was upgraded and you need to copy the kernel module that OpenAFS uses to the new module tree for the running kernel. You must either rebuild the RPM package or simply copy over the old module to the new module tree. To locate the previous module type:

[root@yourmachine ~]# find /lib/modules/ -name openafs.ko -print /lib/modules/2.6.9-55.EL/fs/openafs/openafs.ko

If you have slocate enabled for your system you can simply type:

[root@yourmachine ~]# locate openafs.ko /lib/modules/2.6.9-55.EL/fs/openafs/openafs.ko

You must then copy it to the directory that is appropriate for your kernel. Type:

[root@yourmachine ~]# uname -r 2.6.9-55.0.6.EL

This will return the current running kernel revision. Now you have two options.

  1. Copy the kernel module from the previous kernel module tree to the new one.
  2. Rebuild OpenAFS to upgrade the kernel module package.

Once you have completed either of these options you should be able to issue the command:

[root@yourmachine ~]# service openafs-client start