Lade...
 

Configure AFS volumes

Configure AFS volumes




Admin ticket


For administrative operations you have to get a administrative kerberos and afs ticket first:

kinit admin
afs5log


ACLs


Enable everyone to traverse /afs:

fs setacl /afs system:anyuser rl


Note: If you get the error message "fs:'/afs': Connection timed out", then you have to set DYNROOT="no" in /etc/sysconfig/openafs-client, restart the openafs-client and re-get your ticket.

Create root.cell volume


vos create willie /vicepa root.cell
fs mkmount /afs/redflo.de root.cell
fs setacl /afs/redflo.de system:anyuser rl
fs mkmount /afs/.redflo.de root.cell -rw


Create volumes for user home directories


Create volume for "usr" directory
vos create willie /vicepa root.user
fs mkmount /afs/redflo.de/usr root.user
fs setacl /afs/redflo.de/usr system:anyuser rl


For every user (example: username redflo) do:
vos create willie /vicepa user.redflo
fs mkmount /afs/redflo.de/usr/redflo user.redflo
pts createuser redflo `id -u redflo`
fs setacl /afs/redflo.de/usr/redflo redflo write


note: just realizing that another user database is needed here ....


Erstellt von redflo. Letzte Änderung: Sonntag März 7, 2010 17:28:40 GMT-0000 by redflo.