[OpenAFS] Quick question: OpenAFS 1.4.8 to 1.4.12

Derrick Brashear shadow@gmail.com
Thu, 8 Jul 2010 12:29:27 -0400


On Thu, Jul 8, 2010 at 12:27 PM, Claudio Prono <claudio.prono@atpss.net> wr=
ote:
>
>
> Derrick Brashear ha scritto:
>
> On Thu, Jul 8, 2010 at 12:06 PM, 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=
..
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 failed
>
>
> using -memcache?
>
> basically, you're setting flags on afsd which are mutually incompatible.
>
>
>
> Yes, i have memcache yes in /etc/sysconfig/openafs-client. I have tryied =
to
> put it off, but now the error is:

i'd actually have left -memcache alone, and removed only the -dcache
switch, i suspect. but at some point someone tried to switch this
machine from disk cache to memcache and did so incompletely.

> rcopenafs-client restart
> Shutting down OpenAFS Client=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
 done
> Starting OpenAFS Client
> /var/cache/openafs is not a separate partition
> you have to change the cachesize in=A0 by hand
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 unused
>
> How i can set the cachesize by hand?

Edit the cacheinfo file, it's the numeric (size) parameter.