[OpenAFS-devel] oops on AFS mount

John A. Goebel jgoebel@SLAC.Stanford.EDU
Mon, 13 May 2002 08:21:03 -0700


++ 12/05/02 23:01 -0400 - <Derek Atkins>:
> Are there any contents in "./Bonnie.8803" or it is really an
> empty directory?  What do you get from:
> 
>         ls -la ./Bonnie.8803
 
root@temp11 # ls
ls: 0004563i3i: No such file or directory
ls: 0004564LjtANNJK: No such file or directory
ls: 0004565wG5X0IOO0gDN: No such file or directory
ls: 0004566i: No such file or directory
ls: 0004567awajNiu6qEhb: No such file or directory

...then a hang and a slow roll of ls: 

0004568OM9k0d: No such file or directory


> Can you show me a consise example that exhibits the issue?

The way I get a consistant problems is by running bonnie++ with the
line:

strace -o /tmp/bonnie.slog ./bonnie++ -x 1000 \
 -d /afs/test.slac.stanford.edu/ext 2/temp11 -u jgoebel >> /tmp/bonnie.dat

> You also might want to wait for the 1.2.4 RPMS to be released
> Really Soon Now.  There were some late-2.4.x kernel changes which
> needed a patch to OpenAFS, and that patch is in 1.2.4.
 
I tested this on the release canidate 2 of 1.2.4 also, but this was
before switching over to ext2. I can run the test today on that
version.

Thanks.

John


> -derek
> 
> "John A. Goebel" <jgoebel@SLAC.Stanford.EDU> writes:
> 
> > ++ 11/05/02 14:50 -0400 - <Derek Atkins>:
> > > Are you running a CACHE in ext3?  That is not supported.  Make
> > > sure your AFS cache is ext2.
> > 
> > Derek
> > 
> > I remouted the AFS cache partition as ext2, and I am still seeing an
> > unlink problem. The process fails now, but there isn't an oops.
> > 
> > I my stace log, I get the line:
> > 
> > unlink("0016382LoeAE4Uc")               = 0
> > unlink("0016383Ap")                     = 0
> > chdir("..")                             = 0
> > rmdir("./Bonnie.8803")                  = -1 ENOTEMPTY (Directory not
> > empty)
> > write(2, "Bonnie: drastic I/O error (rmdir"..., 55) = 55
> > munmap(0x401c6000, 331776)              = 0
> > munmap(0x40017000, 4096)                = 0
> > _exit(1)                                = ?
> > 
> > There is space in the cache:
> > 
> > jgoebel@temp11 $ df -t ext2
> > Filesystem           1k-blocks      Used Available Use% Mounted on
> > /dev/hda5              1035660     40652    942400   5% /usr/vice/cach
> > 
> > Kernel 2.4.18-4smp
> > OpenAFS 1.2.3 built  2002-02-11
> > 
> > I am also unable to remove any of the files by hand.
> > 
> > Thanks for any help you can give.
> > 
> > John
> > 
> > ##############################################
> > # John Goebel <jgoebel(at)slac.stanford.edu> #
> > # Stanford Linear Accelerator Center         #
> > # 2575 Sand Hill Road, Menlo Park, CA 94025  #
> > ############################################ #
> 
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available

##############################################
# John Goebel <jgoebel(at)slac.stanford.edu> #
# Stanford Linear Accelerator Center         #
# 2575 Sand Hill Road, Menlo Park, CA 94025  #
############################################ #