[OpenAFS] 1.3.77 Brokenness

Rainer Toebbicke rtb@pclella.cern.ch
Tue, 11 Jan 2005 14:34:05 +0100


Matthew Miller wrote:
> On Mon, Jan 10, 2005 at 06:43:09PM -0500, Jack Neely wrote:
> 
>>I keep RHEL/FC install trees in AFS which are served out via HTTP.  I
>>build the tree on a test machine and use rsync to move it out to AFS
>>land.  In this case my server is a RHEL3 linux box running OpenAFS
>>1.2.11.  After moving the tree with rsync (a little over 2G worth) I
>>see that the cache gets out of sync on large files (20MB, 70MB, etc.)
>>Rsync complains it cannot delete its dot-files (the file it creates
>>before moving it to the real filename).  These . files show in an 'ls'
>>and when I try to rm them I get "No file or directory" yet they still
>>appear in AFS.  Many of my RPM pacakges are corrupt as well.
> 
> 
> This is *exactly* the problem I've seen. It's reported at
> <http://rt.central.org/rt/Ticket/Display.html?id=16965>.
> 
> 
> 

One more data point:

I saw this yesterday on a 2.4.21-20.EL kernel with OpenAFS 1.3.73 client 
code (against a volume on an OpenAFS 1.2.13 server):

'make clean' refused to work on the OpenAFS code on the grounds that it 
couldn't remove the include/afs and include/rx directories because the 
weren't empty. Looking in those directories with "find" showed nothing, 
but after 'fs flush' 1-2 files appeared in there.

Right now I'm in .../doc/html/AdminReference and 'ls' says:

ls: auarf026.htm: No such file or directory
ls: auarf027.htm: No such file or directory
ls: auarf028.htm: No such file or directory
ls: auarf029.htm: No such file or directory



Let's see:
[root AdminReference]# fs flush .
[root AdminReference]# ls -l
total 278
lrwxr-xr-x    1 rtb      root           56 Jan 10 10:36 auarf000.htm -> 
../../../../openafs/doc/html/AdminReference/auarf000.htm
lrwxr-xr-x    1 rtb      root           56 Jan 10 10:36 auarf002.htm -> 
../../../../openafs/doc/html/AdminReference/auarf002.htm
...

and so on, all symbolic links (I use lndir to maintain the source tree 
for multiple architectures).

Looks like directory chunks do not [always] get updated in the 1.3.7x 
client cache.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985       Fax: +41 22 767 7155