[OpenAFS] flush cache
Moose Finklestein
Moose Finklestein <mizmoose@gmail.com>
Mon, 1 Nov 2004 14:01:30 -0500
The easiest way to flush a cache is, as root, to:
fs setca 1
fs setca 0
The first will try to reduce the size of the cache to 1 block. This
won't literally happen, but it'll likely go down below 100.
The latter will set your cache size back to the default set in the
cacheinfo file.
If that doesn't work, you will have to reboot. The best way to clean
the cache out completely is to remove the file
/usr/vice/cache/CacheItems and reboot.
Esther
----------------------------------------------------------------
ecf@psc.edu Esther Filderman mizmoose@gmail.com
Senior Systems Mangler & Iron Chef AFS
Pittsburgh Supercomputing Center
On Sun, 31 Oct 2004 12:40:10 -0500, Derek T. Yarnell <derek@cs.umd.edu> wrote:
> I have had a few machines that have rebooted unexpectedly, power loss.
> They now have afs client caches that are corrupted. Rebooting is not
> really a good option, is there a way I can flush them fully?
>
> --
> Derek T. Yarnell
> UNIX System Administrator
> Computer Science Department
> University of Maryland
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>