This is a step-by-step guide to installing OpenAFS and setting up an AFS cell
on RedHat Enterprise Linux, Fedora, or CentOS. This guide is current as of
-OpenAFS version 1.6.9 on CentOS 6.5.
+OpenAFS version 1.6.10 on CentOS 6.
This document is based on [[Steven Pelley's guide for installing OpenAFS 1.4.x on Fedora|FedoraAFSInstall]].
# version=<version>
# rpm -i http://openafs.org/dl/openafs/${version}/openafs-release-rhel-${version}-1.noarch.rpm
-where `<version>` is the OpenAFS version you wish to install, e.g. "1.6.9".
+where `<version>` is the OpenAFS version you wish to install, e.g. "1.6.10".
Use `yum` to install the OpenAFS server packages:
Start the file server. This is a rather long command line.
- # options="-d 1" TODO: list some practical options
# bos create localhost \
- dafs dafs \
- -cmd "/usr/afs/bin/dafileserver ${options}" \
- "/usr/afs/bin/davolserver -log" \
+ dafs dafs -cmd \
+ "/usr/afs/bin/dafileserver -p 123 -L -busyat 200 -rxpck 2000 -cb 4000000 -vattachpar 128 -vlruthresh 1440 -vlrumax 8 -vhashsize 11" \
+ "/usr/afs/bin/davolserver -p 64 -log" \
"/usr/afs/bin/salvageserver" \
- "/usr/afs/bin/dasalvager" \
+ "/usr/afs/bin/dasalvager -parallel all32" \
-localauth
Check the servers logs `BosLog`, `FileLog`, `VolserLog`, and `SalsrvLog`, in