TU Berlin

ZE CampusmanagementAFS for Debian/Ubuntu

"das Wort tubIT in roter Schrift auf weißem Grund"

Page Content

to Navigation

Step 1

Install the OpenAFS modules with the following command:

sudo apt-get install krb5-user openafs-modules-dkms openafs-client openafs-krb5

Step 2

Please use the following configuration for the setup:

Configuration OpenAFS
Default realm for Kerberos Version 5
AFS cell of the workstation
Size of AFS-Cache

The following command allows you to change the configuration at a later point:

sudo dpkg-reconfigure -plow openafs-client

Step 4

You can start the AFS client with this command:

sudo service openafs-client start

If you get the following error message, please follow the instructions of OpenAFS with Ubuntu 14.04LTS:

AFS module /lib/modules/<kernel version>-generic/fs/openafs.ko does not exist. Not starting AFS.

This error is typical for Ubuntu 14.04LTS with kernel version 4.x.

Step 5

The configuration is finished now. With the following two commands you can sign in to the AFS service. These commands have to be entered before any new session.

kinit username


You can find your user directory here:

/afs/tu-berlin.de/home/"1st character of your username"/"username"

User rights

The user rights can be displayed with the command

fs listacl

The rights can be changed with

fs setacl

A description of these commands (with examples) can be found in the MAN pages

man fs_listacl
man fs_setacl

OpenAFS with Ubuntu 14.04LTS

To install OpenAFS with Ubuntu 14.04LTS you have to install more recent packages of openafs. Therefor add the launchpad openafs stable releases (https://launchpad.net/) to your system with the following command:

sudo add-apt-repository ppa:openafs/stable

and accept the query with enter. Afterwards reinstall the affected packages:

sudo apt-get install openafs-modules-dkms openafs-client openafs-krb5

and stick to the guide again.


Hinweise zu Firewall, Ports, Systemzeit, ReiserFS, Windows-Domäne, Vista 64 Bit und VPN. more to: FAQ AFS


Quick Access

Schnellnavigation zur Seite über Nummerneingabe