CCL | Software | Download | Manuals | Forum | Papers
CCL Home

Research

Software Community Operations

Quick Introduction to AFS

AFS is a distributed filesystem mounted on (most) Unix machines on campus. It allows us for a single, shared, large, backed up storage service available simultaneously from all machines. There are two AFS installations on campus, which can cause some confusion. The "ND AFS cell" is mounted at /afs/nd.edu and the "CRC AFS cell" is at /afs/crc.nd.edu. You need to authenticate to each one independently. To an AFS cell, you must authenticate and obtain a "token". When logging into a CSE or CRC machine, you will probably be given a token to the ND or CRC cell, You may need to manually authenticate to get access to the AFS cell that you want to use. (You can also authenticate to both simultaneously.)

To obtain an token for the CRC AFS cell:

kinit $USER@CRC.ND.EDU
aklog -cell crc.nd.edu
To obtain an AFS token for the ND AFS cell:
kinit $USER@ND.EDU
aklog -cell nd.edu
To check that you have a current AFS token:
tokens
Note that the standard Unix chmod tool does not really change permissions on files in AFS. Instead, you need to use some different commands, which control AFS permission on a per-directory basis.

To view permissions on a directory:

fs listacl $DIRNAME
To change permissions on a directory:
fs setacl $DIRNAME $USER $PERMS
To view quota and usage on a directory:
fs listquota $DIRNAME