[OpenAFS-devel] afsd-1.4.0-rc3 problems

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Sat, 24 Sep 2005 07:44:19 -0400


In message <4333C6F4.9000702@ribosome.natur.cuni.cz>,=?ISO-8859-2?Q?Martin_MOKR
EJ=A9?= writes:
>> what are you trying to cache?
>
>Some files of size up to 2-3GB each.

currently, afsd assumes the average filesize is 32k, and sets
-files <cachesize/avg_file_size>.  for larger caches, you can get
rather large values for -files.  trying picking a more sane value
for files and stuck it in the OPTIONS for /etc/sysconfig/afs.

this is more about this in the openafs-devel archives.

>Would you send me a patch so that afsd would printk some debug text on it's st
>artup?

take a look at fstrace.  this does what you want.  its much nicer than
printk debugging.