[Bugs] [Bug 1151696] New: mount.glusterfs fails due to race condition in `stat` call

bugzilla at redhat.com bugzilla at redhat.com
Sat Oct 11 04:23:15 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1151696

            Bug ID: 1151696
           Summary: mount.glusterfs fails due to race condition in `stat`
                    call
           Product: GlusterFS
           Version: 3.5.2
         Component: scripts
          Assignee: gluster-bugs at redhat.com
          Reporter: johnnycobol at yahoo.com
                CC: bugs at gluster.org



Created attachment 945895
  --> https://bugzilla.redhat.com/attachment.cgi?id=945895&action=edit
This patch resolved the issue for me

Description of problem:

When mounting a Gluster volume using mount.glusterfs, I consistently received
the error "Mount failed. Please check the log file for more details."

After some investigation, I found that the `stat` call (which is made right
after the mount) fails.

Version-Release number of selected component (if applicable):


How reproducible:

Consistently.


Steps to Reproduce:
1. Using glusterfs 3.5.2, create a 6-node, 6-brick replica 2 gluster volume. 
The nodes should be running Oracle Linux 6.5 x86_64.
2. Start the volume and attempt to mount it using mount.glusterfs.

Actual results:

"Mount failed. Please check the log file for more details."

Expected results:

The mount should have succeeded.

Additional info:

Inserting a 0.1 second sleep between the mount and the stat call resolved the
issue for me.  The patch is attached to this bug entry.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=JOs8xKFfG9&a=cc_unsubscribe


More information about the Bugs mailing list