Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

AFS/Directory Structure

From Livedoc - The Documentation Repository
Revision as of 20:45, 26 February 2006 by Andrew Deason (talk | contribs) (Initial edit. Much of the formatting taken from http://www.umbc.edu/oit/iss/syscore/wiki/AFS_servers_and_filespace_structure)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

General Conventions

Usually, if a mount point is read-only, then there will be another read-write mount point with the same name, except that there is a dot in front of it. For example, the mount point /afs/csl/service is read-only, but /afs/csl/.service is read-write. Both of those mount points are the same volume (service), but one is a read-only copy, and thus more likely to be available.

We also try to have volume names roughly correspond to where the volume is typically mounted in the directory tree, using dots as delimeters instead of slashes. For example, /afs/csl/service/matlab is a mount point to service.matlab, and /afs/csl/web/www is web.www. They do not have to completely correspond (volume names can only be so long), but try to keep it kind of similar.

Directory Hierarchy


This is the read-only mount point for root.cell for our cell. /afs/.csl.tjhsst.edu/ is the read-write mount point, and /afs/csl/ is just a symlink to /afs/csl.tjhsst.edu/, and /afs/.csl/ is just a symlink to /afs/.csl.tjhsst.edu/


All of the home directories before the switch to AFS was made were copied here (the old fileserver was called 'cronos' at the time). They are still around so that their web-docs are still available, so we don't break links.


Current user directories are stored here.


Data for various web services. Almost all of the subdirectories here correspond to a subdomain http://<directory>.tjhsst.edu/.


Data files for Intranet.


Contains information for the sitemap for Krysalis.


Data files for the main website under the www subdomain. Other web subdomains (such as arts, activities, sports, etc.) also have their own directories in web/.


Data files for the webadmin application. See the webadmin article for information on the subdirectories here.


Various administrative scripts and files are in here.




Contains cron information and scripts to run the bell on the workstations at the appropriate times. The three directories are of different ages, and each was used at one point or another.





These are directories left over from when a few services ran with configuration files staight out of AFS. They no longer are, however.


A set of scripts to convert the old non-AFS accounts to AFS ones, from back when the lab was switching to AFS.


Some files that were on emperor before the drives got replaced (HAA stuff and a few random scripts). This will most likely be gone soon when we are sure everything in there is accounted for somewhere else, if it needs to be.


Some data for new workstation images is going in here. We're still experimenting with this, however, so the location of this may change over time.


When log files start taking up too much space on a server's /var/log, we put the files in here to free up some space.


Data for Matlab.


More administrative scripts are in here. There's really not much distinction between these and the ones in service/; the separation is a legacy from previous years.


Scripts for the HAA system.


Even more scripts and cron information for the workstation bell.


A set of scripts to let daemons (such as apache for the website and Intranet) gain permissions to AFS in their init.d scripts, and makes sure they keep permissions by refreshing their credentials every so often.