[Gluster-devel] Stale NFS file handle, then EINVAL
Emmanuel Dreyfus
manu at netbsd.org
Thu Jul 21 05:13:13 UTC 2011
Emmanuel Dreyfus <manu at netbsd.org> wrote:
> And indeed the link file has a different gfid, as I understand this is the
> problem. But how can this happen?
I have been able to reproduce reliabily (but not always the same file.
increasing logging changes the offending file, which suggests a race)
with just a find in a crowded directory;
client# cd /root && umount /gfs && mount /gfs && cd \
/gfs/usr/src/gnu/dist/binutils && find bfd 2>&1 |less
bfd
bfd/MAINTAINERS
bfd/bfdwin.c
bfd/ChangeLog-0203
find: bfd/aoutx.h: Stale NFS file handle
bfd/bfdio.c
bfd/ChangeLog-9495
bfd/aix386-core.c
bfd/aout-adobe.c
find: bfd/bfd.m4: Stale NFS file handle
However the command below works, which suggests the problem is really
with READDIR:
#client cd /root && umount /gfs && mount /gfs && cd \
/gfs/usr/src/gnu/dist/binutils && find bfd/aoutx.h 2>&1 |less
bfd/aoutx.h
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
More information about the Gluster-devel
mailing list