[OpenAFS] Re: Quick question: OpenAFS 1.4.8 to 1.4.12

Andrew Deason adeason@sinenomine.net
Thu, 8 Jul 2010 11:24:39 -0500

On Thu, 08 Jul 2010 18:06:35 +0200
Claudio Prono <claudio.prono@atpss.net> wrote:

> Hello all,
> I have upgraded openafs from version 1.4.8 to 1.4.12 on OpenSuSE 11.0
> (is a test machine). The upgrade seems to works, but i have a problem
> with the OpenAFS Client. When i try to start this, with the same
> configuration working before the upgrade, it gives to me an error:
> afs-test:~ # rcopenafs-client start
> Starting OpenAFS Client
> afsd: can't set cache blocks and dcache size simultaneously when diskless.
>                                                                      failed

You're specifying both -blocks and -dcache when using memcache, which
does not make sense. To be more specific, with memcache, -blocks will
specify one size for the cache, and -dcache will specify another size;
obviously you can only have one size for the cache.

Of course, you could calculate values for -blocks and -dcache that make
them specify the same size cache, but in that case there's no reason to
specify both. Just give -blocks if you want to specify the cache size.

Andrew Deason