<p>This is a known issue. Gluster NFS doesn&#39;t support NLM (locking) yet. 3.4 may implement this.  Did you try on GlusterFS native mount?</p>
<p>--AB</p>
<div class="gmail_quote">On Sep 23, 2011 10:00 AM, &quot;Brandon Simmons&quot; &lt;<a href="mailto:bsimmons@labarchives.com">bsimmons@labarchives.com</a>&gt; wrote:<br type="attribution">&gt; I am able to successfully mount a gluster volume using the NFS client<br>
&gt; on my test servers. Simple reading and writing seems to work, but<br>&gt; trying to work with sqlite databases seems to cause the sqlite client<br>&gt; and libraries to freeze. I have to send KILL to stop the process.<br>
&gt; <br>&gt; Here is an example, server 1 and 2 are clients mounting gluster volume over NFS:<br>&gt; <br>&gt;     server1# echo &quot;working&quot; &gt; /mnt/gluster/test_simple<br>&gt;     server2# echo &quot;working&quot; &gt;&gt; /mnt/gluster/test_simple<br>
&gt;     server1# cat  /mnt/gluster/test_simple<br>&gt;     working<br>&gt;     working<br>&gt;     server1# sqlite3 /websites/new.sqlite3<br>&gt;     SQLite version 3.6.10<br>&gt;     Enter &quot;.help&quot; for instructions<br>
&gt;     Enter SQL statements terminated with a &quot;;&quot;<br>&gt;     sqlite&gt; create table memos(text, priority INTEGER);<br>&gt;     (...hangs forever, have to detach screen and do kill -9)<br>&gt; <br>&gt; the gluster volume was created and NFS-mounted as per the instructions here:<br>
&gt; <br>&gt;         <a href="http://www.gluster.com/community/documentation/index.php/Gluster_3.2_Filesystem_Administration_Guide">http://www.gluster.com/community/documentation/index.php/Gluster_3.2_Filesystem_Administration_Guide</a><br>
&gt; <br>&gt; If I mount the volume using the nolock option, then things work:<br>&gt; <br>&gt;     mount -t nfs -o nolock server:/test-vol /mnt/gluster<br>&gt; <br>&gt; So I assume this has something to do with the locking RPC service<br>
&gt; stufff, which I don&#39;t know much about. Here&#39;s output from rpc info:<br>&gt; <br>&gt; server#  rpcinfo -p<br>&gt;    program vers proto   port<br>&gt;     100000    2   tcp    111  portmapper<br>&gt;     100000    2   udp    111  portmapper<br>
&gt;     100024    1   udp  56286  status<br>&gt;     100024    1   tcp  40356  status<br>&gt;     100005    3   tcp  38465  mountd<br>&gt;     100005    1   tcp  38466  mountd<br>&gt;     100003    3   tcp  38467  nfs<br>
&gt; <br>&gt; <br>&gt; client1#  rpcinfo -p server<br>&gt;    program vers proto   port<br>&gt;     100000    2   tcp    111  portmapper<br>&gt;     100000    2   udp    111  portmapper<br>&gt;     100024    1   udp  56286  status<br>
&gt;     100024    1   tcp  40356  status<br>&gt;     100005    3   tcp  38465  mountd<br>&gt;     100005    1   tcp  38466  mountd<br>&gt;     100003    3   tcp  38467  nfs<br>&gt; <br>&gt; client1# # rpcinfo -p<br>&gt;    program vers proto   port<br>
&gt;     100000    2   tcp    111  portmapper<br>&gt;     100000    2   udp    111  portmapper<br>&gt;     100024    1   udp  32768  status<br>&gt;     100024    1   tcp  58368  status<br>&gt; <br>&gt; Thanks for any help,<br>
&gt; Brandon<br>&gt; _______________________________________________<br>&gt; Gluster-users mailing list<br>&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>&gt; <a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br>
</div>