[OpenAFS] OpenAFS-Cache-Chaos

Frank Burkhardt fbo2@gmx.net
Sat, 14 May 2005 10:34:31 +0200


Hi,

I'm using an OpenAFS-1.3.81-client (with -memcache (*) ) with Linux kernel 1.6.11 (Vanilla) for
some weeks now. Randomly the content of (random) AFS-directories is wrong and chaotic.

Example:

<wrong_output>
frank@mekong:/afs/mycell/debian/debian/pool/contrib/p/pose > ls -la
ls: "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@": No such file or directory
ls: "": No such file or directory
ls: "": No such file or directory
ls: "": No such file or directory
ls: "": No such file or directory
ls: "": No such file or directory
ls: "": No such file or directory
ls: "": No such file or directory
ls: "fbbackup": No such file or directory
ls: "fbbackup.stream": No such file or directory
ls: "select-sources2": No such file or directory

[...]

ls: "fbbackup": No such file or directory
ls: "fbbackup.stream": No such file or directory
ls: "select-sources2": No such file or directory
</wrong_output>


The path /afs/mycell/debian/debian/pool/contrib/p/pose resides in a
35GB-Volume (m.deb.main) which contains a mirror of the official debian
package pool. Some of the entries listed (i.e. 'fbbackup') belong to a
different volume (a.scripts) and some of the entries don't make any sense
('@@@...' , ''). Some dentries are listed multiple (>1000) times (i.e. 'fbbackup',
'@@@...').

It's just an example - lots of smaller volumes are affected from time to
time, too.



This is the content of the same path on a different machine (Kernel 2.4.29,
OpenAFS 1.3.81, ext2-cache-partition):

<correct_output>
frank@mekong:/afs/mycell/debian/debian/pool/contrib/p/pose > ls -la
total 8830
drwxr-xr-x   2 mirror    1000    2048 Mar 21 20:55 "."/
drwxr-xr-x  13 mirror    1000    2048 Apr 10 09:07 ".."/
-rw-rw-r--   1 mirror nogroup 1231976 Jan 19 20:47 "pose-doc_3.5-7_all.deb"
-rw-rw-r--   1 mirror nogroup 1053716 Jan 19 20:47 "pose-profile_3.5-7_i386.deb"
-rw-r--r--   1 mirror    1000    4525 Apr  9  2002 "pose_3.5-1.diff.gz"
-rw-r--r--   1 mirror    1000     665 Apr  9  2002 "pose_3.5-1.dsc"
-rw-r--r--   1 mirror    1000 2326780 Apr  9  2002 "pose_3.5-1_i386.deb"
-rw-rw-r--   1 mirror nogroup  209834 Jan 19 20:47 "pose_3.5-7.diff.gz"
-rw-rw-r--   1 mirror nogroup     629 Jan 19 20:47 "pose_3.5-7.dsc"
-rw-rw-r--   1 mirror nogroup 1042432 Jan 19 20:47 "pose_3.5-7_i386.deb"
-rw-r--r--   1 mirror    1000 3162363 Apr  9  2002 "pose_3.5.orig.tar.gz"
</correct_output>



Is there a known solution to this problem?

(*) I would like to use a cache-partition rather than memcache but this is
impossible due to the cache-never-freed-bug. Is this bug still present in
1.3.82?

Regards,

Frank