[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Problem with autofs configuration - sometimes mount

From: Mark Mielke
Subject: Re: [Gluster-devel] Problem with autofs configuration - sometimes mount does not complete fast enough?
Date: Sun, 06 Sep 2009 23:19:10 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3

On 09/06/2009 10:42 PM, Mark Mielke wrote:
This seems to happen about 50% of the time:

address@hidden ~]# ls /gluster/data
ls: cannot open directory /gluster/data: No such file or directory
address@hidden ~]# ls /gluster/data
00  15  32  47  64  07  24  41  56

My current guess is that GlusterFS is saying the mount is complete to AutoFS before the actual mount operation takes effect. 50% of the time GlusterFS is able to complete the mount before AutoFS let's the user continue, and all is well. The other 50% of the time, GlusterFS does not quite finish the mount, and AutoFS gives the user a broken directory.

I might try and prove this by adding a sleep 5 to /sbin/mount.glusterfs, although I do not consider this a valid solution, as it just reduces the effect of the race - it does not eliminate the race.

Uhh... Hmm... It already has a "sleep 3", and changing it to "sleep 5" does not reduce the frequency of the problem. Changing it to "sleep 10" also has no effect.

Why does it sometimes work and sometimes not?


Mark Mielke<address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]