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