<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Kaushal,<div class=""><br class=""></div><div class=""><br class=""></div><div class="">I’m using&nbsp;</div><div class=""><br class=""></div><div class=""><font face="Courier" class="">-&gt;gluster --version</font></div><div class=""><font face="Courier" class="">glusterfs 3.5.2 built on Aug &nbsp;6 2014 19:33:49</font></div><div class=""><font face="Courier" class="">Repository revision: <a href="git://git.gluster.com/glusterfs.git" class="">git://git.gluster.com/glusterfs.git</a></font></div><div class=""><font face="Courier" class="">Copyright (c) 2006-2011 Gluster Inc. &lt;<a href="http://www.gluster.com" class="">http://www.gluster.com</a>&gt;</font></div><div class=""><font face="Courier" class="">GlusterFS comes with ABSOLUTELY NO WARRANTY.</font></div><div class=""><font face="Courier" class="">You may redistribute copies of GlusterFS under the terms of the GNU General Public License.</font></div><div class=""><br class=""></div><div class="">and the generated brick.vol has this line(s)</div><div class=""><br class=""></div><div class=""><div class=""><font face="Menlo" class="">volume dnas_volume-locks</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; type features/locks</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; subvolumes dnas_volume-access-control</font></div><div class=""><font face="Menlo" class="">end-volume</font></div></div><div class=""><br class=""></div><div class="">and you are right. No these aren’t NFS mounted, that was poorly worded. Should I just update glusterfs that should resolve my problems? Or am I still missing something.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Jordan</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 4, 2015, at 1:35 AM, Kaushal M &lt;<a href="mailto:kshlmster@gmail.com" class="">kshlmster@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">Which version of GlusterFS are you using?<br class=""><br class="">The locks translator should be enabled by default for all volumes for<br class="">the latest versions (IIRC 3.5 and above). So you wouldn't need to do<br class="">anything. To verify you can check the generated brick volfiles in<br class="">/var/lib/glusterd/vols/&lt;VOL&gt;/&lt;brick-name&gt;.vol .<br class=""><br class="">Also, are you really creating GlusterFS bricks on NFS mounts? That<br class="">doesn't work..<br class=""><br class="">~kaushal<br class=""><br class=""><br class=""><br class="">On Sat, Jul 4, 2015 at 7:16 AM, Jordan Willis &lt;<a href="mailto:jwillis0720@gmail.com" class="">jwillis0720@gmail.com</a>&gt; wrote:<br class=""><blockquote type="cite" class="">Hi,<br class=""><br class="">Is it possible to enable posix type locking with glusterfs without shutting<br class="">off the volume?<br class=""><br class="">I think this is what I need (I’m trying to get sqlite to lock files on my<br class="">nfs mounted glusterfs volume)<br class=""><br class="">volume locks<br class=""> &nbsp;type features/locks<br class=""> &nbsp;subvolumes brick<br class="">end-volume<br class=""><br class=""><br class="">Can you enable this with the gluster volume set command in some way? If not,<br class="">do I just add those lines to the /etc/glusterfs/gluster.vol file and turn<br class="">off and on the volume, or how would I reload that file. I manually started<br class="">the current fs with the following. I’m confused on where I should actually<br class="">enable the locking.<br class=""><br class=""><br class="">gluster volume create &nbsp;myvolume nfs_mount_1 nfs_mount_2 …nfs_mount_N<br class="">gluster volume start myvolume<br class=""><br class=""><br class="">Thanks so much,<br class="">Jordan<br class=""><br class=""><br class="">_______________________________________________<br class="">Gluster-users mailing list<br class=""><a href="mailto:Gluster-users@gluster.org" class="">Gluster-users@gluster.org</a><br class="">http://www.gluster.org/mailman/listinfo/gluster-users<br class=""></blockquote></div></blockquote></div><br class=""></div></body></html>