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

Difference between revisions of "AFS/Directory Structure"

From Livedoc - The Documentation Repository
Jump to: navigation, search
m (AFS Directory Structure moved to AFS/Directory Structure)
(Directory Hierarchy: Added netware directory.)
Line 12: Line 12:
 
===<tt>cronos/</tt>===
 
===<tt>cronos/</tt>===
 
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 <tt>web-docs</tt> are still available, so we don't break links.
 
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 <tt>web-docs</tt> are still available, so we don't break links.
 +
 +
===<tt>netware/</tt>===
 +
This is a temporary solution to the problems of the netware S: drive accounts. It is difficult to access the S: drive from a few places (most notably [[Iodine]]), so it was proposed that the files be moved into AFS for easier access to them. This is where those files are located, and can be accessed via Iodine easier. Note that this is just temporary, and will be eliminated at the end of this year, since it is only a temporary solution.
  
 
===<tt>user/</tt>===
 
===<tt>user/</tt>===

Revision as of 20:52, 22 May 2006

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

/afs/csl.tjhsst.edu/

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/

cronos/

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.

netware/

This is a temporary solution to the problems of the netware S: drive accounts. It is difficult to access the S: drive from a few places (most notably Iodine), so it was proposed that the files be moved into AFS for easier access to them. This is where those files are located, and can be accessed via Iodine easier. Note that this is just temporary, and will be eliminated at the end of this year, since it is only a temporary solution.

user/

Current user directories are stored here.

web/

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

intranet/

Data files for Intranet.

sitemap/

Contains information for the sitemap for Krysalis.

www/

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/.

webadmin/

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

service/

Various administrative scripts and files are in here.

belltab/

music/

sound/

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.

bind/

mailman/

postfix/

httpd.intranet/

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

convert/

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

emperor_stuff/

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.

images/

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.

logs/

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.

matlab/

Data for Matlab.

sysadmins/

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.

haa/

Scripts for the HAA system.

sound/

Even more scripts and cron information for the workstation bell.

tokenizer/

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.