Simple howto for a working OpenAFS install on OpenBSD 3.7+
1. Download openafs-1.3.87-src.tar.bz2 or later from http://www.openafs.org
2. cd openafs-1.xxxxxx/ && ./configure
3. make
4. make install
5. mkdir -p /usr/vice/etc
6. mkdir -p /usr/local/etc/
7. cp openafs-1.xxxxx/src/libafs/MODLOAD/libafs.o /usr/vice/etc/
8. copy your ThisCell, and CellServDB files to /usr/vice/etc (if you don't have these, then I can't help you. )
9. ln -s /usr/vice/etc /usr/local/etc/openafs
10. add a line to /etc/rc.securelevel before the end
/sbin/modload /usr/vice/etc/libafs.o
11. add this to the end of /etc/rc.local (set these accordingly if you know what you are doing)
/usr/local/sbin/afsd -stat 4000 -dcache 4000 -daemons 6 -volumes 256 -files 50000
12. mkdir -p -m 0755 /afs
13. Make sure /etc/rc.conf has
afs=NO # mount and run afs
14. mkdir -p /usr/vice/cache
15. create a file /usr/vice/etc/cacheinfo that contains: (set the end value to what ever cache size you prefer)
/afs:/usr/vice/cache:198112
14. reboot
After reboot you should see /afs mounted from df(1) such as:
AFS 144000000 0 144000000 0% /afs
Then klog(1) and away you go.