[OpenAFS] Cache problems, how best to flush the ENTIRE cache.
Tue, 28 Mar 2006 19:25:38 -0500
On 3/28/06, Dave Blakemore <firstname.lastname@example.org> wrote:
> My question: Is there a way to completely flush the entire cache to ensur=
> its integrity?
The easiest way to flush the cache is to do
fs setcache 1
which tries to set the cachesize to 1. This will take a while,
depending on the size of your cache.
fs setcache 0
will set your cachesize back to whatever is set in the cacheinfo file.
This works almost always. Should it not, delete
/usr/vice/cache/CacheItems and reboot.