[OpenAFS] Open files dissapear?

Robbert Eggermont R.Eggermont@TUDelft.nl
Wed, 25 Feb 2009 18:51:26 +0100


L.S.,

I just put together a cell (for the first time) for evaluation purposes.
Linux server and linux clients seem to work fine (all running OpenAFS
1.4.8), but I noticed one strange problem:

While running blogbench (http://www.pureftpd.org/project/blogbench) on
an OpenAFS directory, I get frequent "read(): No such file or directory"
and "read(): Input/output error" warnings.

> # blogbench -d test
> 
> Frequency = 10 secs
> Scratch dir = [test]
> Spawning 3 writers...
> Spawning 1 rewriters...
> Spawning 5 commenters...
> Spawning 100 readers...
> Benchmarking for 30 iterations.
> The test will run during 5 minutes.
> 
>   Nb blogs   R articles    W articles    R pictures    W pictures    R comments    W comments
> read(): No such file or directoryread(): No such file or directory        13       183616           734        116511           629         67020          1855
>         20       127610           290         85064           445         67612          1046
> read(): Input/output errorread(): No such file or directory        25         6729           257          4919           211          4072           483
> read(): No such file or directoryread(): Input/output error        27         4168           151          3182           220          3575           413
> read(): No such file or directoryread(): No such file or directoryread(): No such file or directory        31         3602           183          2799           158          2527           353

Etc.

On closer inspection, it appears that files are being unlinked that are
still opened by the program. This should not be possible, right?

Is this a feature, a configuration problem (if so what?) or a problem in
the filesystem layer or OpenAFS code?

Regards,

Robbert Eggermont

-- 
Robbert Eggermont                   Information & Communication Theory
R.Eggermont@TUDelft.nl         Electr.Eng., Mathematics & Comp.Science
+31 (15) 2783234                        Delft University of Technology