[5664] in Athena Bugs
rt 7.0F: AFS cache
daemon@ATHENA.MIT.EDU (sethf@ATHENA.MIT.EDU)
Sat Aug 4 09:53:43 1990
From: sethf@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Sat, 04 Aug 90 08:25:35 EDT
System name: frumious-bandersnatch
Type and version: RTPC-ROMPC 7.0F
Display type: apa16
What were you trying to do?
Completely flush the AFS cache. It is useful to do this for
several reasons - the stuff in the cache may be ancient, it may be
desirable to temporarily free up a lot of space on /site, one may be
rebooting the machine frequently in the near future and not want to
wait for the AFS cache scan, etc.
What's wrong:
There is apparently no way to do this simply and directly. The
closest I could find was fs cachesize <small number>. This takes an
annoyingly long time. I conjecture that it makes repeated sweeps through
the herd of cache files, each time looking for the oldest remaining
member and harshly sacrificing it to the bitbucket, until under the
Malthusian limit.
What should have happened:
There should be an option (e.g. fs flushcache) to completely
flush the entire cache, in one fell swoop. No time checks or attempts to
preserve a few files. Dump it all, at once.
Please describe any relevant documentation references:
A man page??? AFS don't need no steekin' man pages!
Isn't it intuitively obvious?