[Gluster-devel] race condition in 3.5.0qa3?

Emmanuel Dreyfus manu at netbsd.org
Thu Dec 19 05:01:20 UTC 2013

Pranith Kumar Karampuri <pkarampu at redhat.com> wrote:

>   I tried re-creating this. :-( Not happening. Let me know if I missed
> something please.

I can recreate it, but only for a give filename. That means the
filesystem has kept a kinked state for that file, and it cannot heal it.

The reason how it got to the kinked state is still obscure to me. I
suspect some race condition, but IMO the real bug is more that the
filesystem cannot recover on its own. 

The brick says:
[2013-12-17 15:34:53.890604] W [posix-handle.c:717:posix_handle_hard]
0-gfs351-posix: link /export/wd2a/manu/tmp/xxx ->
failed (Operation not permitted)

Here is what I have in the brick:

silo# ls -dl /export/wd2a/manu/tmp/xxx
lrwxrwxrwx  1 manu  manu  6 Dec 17 16:34 /export/wd2a/manu/tmp/xxx ->

silo# ls -dl /export/wd2a/manu/tmp/target
drwxr-xr-x  2 manu  manu  512 Dec 17 16:32 /export/wd2a/manu/tmp/target

silo# ls -dl
ls: /export/wd2a/.glusterfs/91/03/91038022-94f3-4934-9103-e7335f5d3604:
No such file or directory

Emmanuel Dreyfus
manu at netbsd.org

More information about the Gluster-devel mailing list