Configure AFS Client




Install Software


On Opensuse:


zypper ar http://download.opensuse.org/repositories/filesystems/openSUSE_11.2/ repo-filesystems
zypper refresh

zypper in openafs-client openafs-krb5-mit



Configuration files


Copy ThisCell and CellServDB from the Server:

cd /etc/openafs
scp root@dopey:`pwd`/ThisCell .
scp root@dopey:`pwd`/CellServDB .


Cachemanager


Configure Cache file:

echo "/afs:/var/cache/openafs:1000000" > /etc/openafs/cacheinfo


Attention! The above command reserves 1GB for disk or memory cache. You either have to provide enough disk space or memory. If you cannot provide, lower the number!

More options can be set in /etc/sysconfig/openafs

Start client


mkdir /afs
chkconfig -a openafs-client
rcopenafs-client start