I wanted to get openafs working again, and I dug up these old notes from college I wrote nearly 3 years ago. Surprisingly they still work!
Copy krb5.conf to /etc/krb5.conf
sudo apt-get install krb5-user openafs-krb5
- change default realm to ACM.UIUC.EDU (case matters)
- Kerberos servers are kerberos.acm.uiuc.edu and kerberos-1.acm.uiuc.edu
- admin server is kerberos.acm.uiuc.edu
sudo apt-get install gcc-3.4 build-essential openafs-client
- AFS Cell = acm.uiuc.edu (case matters)
- default cache size is fine b/c you aren't going to use it.
sudo apt-get install module-assistant
sudo m-a prepare openafs-modules
sudo module-assistant auto-build openafs-modules
sudo dpkg -i /usr/src/openafs-modules-*.deb
cd /etc/openafs
sudo vim afs.conf
- add: FNORD="-memcache -stat 10000 -blocks 65536 -chunksize 19"
This sets a 64MB in-memory cache. If you want to use a disk cache you'll need to make sure that /var/cache/openafs is ext2 and its probably a good idea to dedicate a parition to it. - set: OPTIONS=$FNORD
sudo vim afs.conf.client
- change AFS_DYNROOT=false to true
sudo shutdown -r now "installing openafs"
When the box comes back up, you'll want to kinit userid and then type aklog. All of your afs stuff should be under /afs/clustername.