> On which subject, has anyone got OpenAFS to work reliably with XFS yet ?
Yes - both smp and single CPU versions - although I had to build it myself
from the openafs-kernel-source RPM and the openafs src rpm.
btw, I am using kernel 2.4.5-SGI_XFS_1.0.1.
basically, install the XFS kernel source, install the openafs kernel
source and src RPM and then cd /usr/src/redhat/SPECS, edit
openafs-1.0.4.spec and set the kernel version to 24:
%define kernvers 24
Then run rpm -ba openafs-1.0.4.spec - RPMs should then appear in
/usr/src/redhat/RPMS/... (I also had to fudge the directory name of the
XFS kernel source in /usr/src to match the kernel name given by uname -a).
# ls /usr/src
lrwxr-xr-x 1 Jul 25 12:42 linux -> linux-2.4
lrwxr-xr-x 1 Jul 12 11:49 linux-2.4 -> linux-2.4.5-SGI_XFS_1.0.1
drwxr-xr-x 3 Jul 12 11:03 openafs-kernel-1.0.4/
drwxr-xr-x 7 May 3 11:33 redhat/
So far, openafs-1.0.4a-22 has been the version of choice - earlier and
later versions just hung the system (on ext2 systems also). So my advice
would be to avoid them.
Because of odd naming conventions in the built kernel modules, I had to
do the following after installing:
ln -sf libafs-2.4.5-SGI_XFS_1.0.1.mp.o libafs-2.4.5-SGI_XFS_1.0.1smp.mp.o
I also reccomend patching the init script:
patch -N -b /etc/init.d/afs <<EOF
> /usr/vice/etc/afsd -shutdown
Hope this helps,