[43] in Info-AFS_Redistribution

home help back first fref pref prev next nref lref last post

Re: Setting up AFS -- beware

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Jan 11 12:24:26 1991

From: epeisach@athena.mit.edu
Date: Fri, 11 Jan 91 11:12:47 -0500
To: info-afs@transarc.com, bernerus@cs.chalmers.se


We have used a daily cron job to cleanup cruft on our fileservers and
local machines. (core files, .# files, etc.)  BSD's version of find has
a "-xdev" option which prevents crossing onto different filesystems. We
use this to avoid walking over NFS mounted filesystems from many clients
causing killer network traffic. (Several hundred machines running find
over NFS on the same filesystem is not pretty). /afs is not walked by
this process as it is considered another filesystem.

One of the problem we have not overcome yet, is that there is now way to
walk a cell and do a similar cleanup. Because of the way afs works, it
is quite feasible to create a loop of mounted volumes which might trap
find. An extension to find to keep track of what volumes have been
entered and detecting a cross of mount points would probably be a win.
Also, and option to prevent crossing of cells would be needed.  If you
then wanted to cleanup your afs tree, assuming proper permissions
existed, you can go to the top of your volumes and run the find script
from one machine.

-Ezra Peisach


home help back first fref pref prev next nref lref last post