File disappears mysteriously

Love lha at stacken.kth.se
Wed Nov 8 14:24:42 CET 2000


sperber at informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) writes:

> Every now and then, arla loses track of my .Xauthority.  The file name
> is still in the directory listing, but stat fails.  Symptom:
> 
> sams[31] ls -l ~
> .Xauthority: no such file or directory
> 
> fs flush and fs flushvol don't help.
> 
> This is 0.34.6 on FreeBSD 4.0-RELEASE.  However, I've been seeing this
> at least since 0.34.  Since .Xauthority is pretty crucial to my
> operation, I normally need to kill arlad right away.  With earlier
> versions of arla, I tried to hang on for longer and it would start
> losing track of more and more files.
> 
> Anyone have a clue?

If you check from another computer is the file lost or not ?

Can you check the fid of the file (fs getfid file) on the computer where
the file exist.

   # fs getfid /afs/e.kth.se/home/staff/lha/.Xauthority 
   Fid: 536917885.9626.215976 in e.kth.se (212)

In the case where it doesn't exist its a little bit harder
to find the fid: do a strings on alla */*@ files in the cache directory

   # for a in */*@ ; do strings $a | grep Xauth && echo $a ; done
   .Xauthority
   08/9F@
   .Xauthority
   08/A0@

Now you run the afsdir_check from the arlad build directory (it isn't
installed)

   # /scratch/arla-0.34.6pre1/arlad/afsdir_check -v -- 08/9F | grep Xauth
   .Xauthority - 9626.215976


Note that the two last numbers in the fid should match the number
(9626.215976) from afsdir_check.

If they match, I would like to see some arlad traces when you try to access
the file.

Love





More information about the Arla-drinkers mailing list