[OpenAFS] Re: WAN speed

Andrew Deason adeason@sinenomine.net
Fri, 23 Mar 2012 16:47:02 -0500


On Fri, 23 Mar 2012 23:30:32 +0200 (EET)
jukka.tuominen@finndesign.fi wrote:

> I'm propably not doing this correctly, but hopefully we're on to
> something:
> 
> 1st trial
> # afsd -chunksize 20
> > afsd: Error calling AFSOP_CACHEINODE: not configured
> 
> 2nd trial
> # invoke-rc.d openafs-client stop
> # afsd -chunksize 20
> > afsd: Error -1 in basic initialization
> 
> How to do this correctly? Asking the basics, sorry

Nah, sorry, I wasn't very clear. You probably don't want to run 'afsd'
manually yourself; the init script will do that. You want to stop the
'openafs-client' service like you did, and then edit... I think the
ubuntu packaging uses /etc/openafs/afs.conf ? There should be a line in
there that says "OPTIONS=AUTOMATIC" (or OPTIONS=somethingelse). Make it
say OPTIONS="-chunksize 23" or whatever you want to set it to, and then
start the openafs-client service.

-- 
Andrew Deason
adeason@sinenomine.net