[OpenAFS] data manged
Harald Barth
haba@kth.se
Tue, 21 Sep 2010 18:22:45 +0200 (CEST)
> > On which kind of file system is /var/cache/openafs ? (ext2, ext3, ext4, xfs, ...)
>
> ext3
That _should_ be well tested, but one never really knows...
> > Can you restart the Ubuntu with -memcache instead (size some hundred
> > MB) and see if that changes anything?
>
> Not sure how to do this. Will research and try it.
You have to edit /etc/openafs/afs.conf and change where it says
OPTIONS=AUTOMATIC
to
OPTIONS=-memcache
If you do not have a lot of RAM in your machine, you want to change
the cache size in your cacheinfo file to something smaller. With
memcache, that amount of RAM will be permanently reserved for AFS.
Btw, I wonder when this text was added to afs.conf and why:
# Using the memory cache is not recommended, It's less stable than the disk
# cache and doesn't improve performance as much as it might sound.
I could not say that I agree.
You can check the cache config with
cmdebug -cache localhost
Harald.