[OpenAFS] Cache problems, how best to flush the ENTIRE cache.
Esther Filderman
mizmoose@gmail.com
Tue, 28 Mar 2006 19:25:38 -0500
On 3/28/06, Dave Blakemore <daveblakemore@rogers.com> wrote:
>
> My question: Is there a way to completely flush the entire cache to ensur=
e
> 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.
Then
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.