<div dir="ltr">I&#39;ll have to understand the effects of lock=false better. From gluster&#39;s standpoint though, this appears to be a limitation/bug. Autofs continues to work fine if it is started after gluster&#39;s nfs server is started. i.e. It can adapt to gluster&#39;s nfs server, but not the other way around. </div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 1:07 PM, Jason Brooks <span dir="ltr">&lt;<a href="mailto:jbrooks@redhat.com" target="_blank">jbrooks@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Prasun Gera&quot; &lt;<a href="mailto:prasun.gera@gmail.com">prasun.gera@gmail.com</a>&gt;<br>
</span><span class="">&gt; To: &quot;Jason Brooks&quot; &lt;<a href="mailto:jbrooks@redhat.com">jbrooks@redhat.com</a>&gt;<br>
&gt; Cc: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; Sent: Monday, May 18, 2015 3:26:02 PM<br>
&gt; Subject: Re: [Gluster-users] Can a gluster server be an NFS client ?<br>
&gt;<br>
&gt; Thanks. Can you tell me what this achieves, and what the side-effects, if<br>
&gt; any, are ? Btw, the NFS mounts on the gluster server are unrelated to what<br>
&gt; the gluster server itself is exporting. They are regular nfs mounts from a<br>
&gt; different NFS server.<br>
<br>
</span>Your nfs client and the gluster nfs server are both vying for portmap,<br>
turning off locking for the client resolves this. The side effects will<br>
depend on your environment -- in my converged ovirt+gluster setup,<br>
it isn&#39;t causing an issue, but I&#39;m looking forward to dropping this<br>
workaround when ovirt gets support for hosting its engine vm from<br>
native gluster.<br>
<br>
For you, this may or may not be a workable workaround.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jason<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; On Mon, May 18, 2015 at 5:35 PM, Jason Brooks &lt;<a href="mailto:jbrooks@redhat.com">jbrooks@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Prasun Gera&quot; &lt;<a href="mailto:prasun.gera@gmail.com">prasun.gera@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
&gt; &gt; &gt; Sent: Monday, May 18, 2015 1:47:32 PM<br>
&gt; &gt; &gt; Subject: [Gluster-users] Can a gluster server be an NFS client ?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I am seeing some erratic behavior w.r.t. the NFS service on the gluster<br>
&gt; &gt; &gt; servers (RHS 3.0). The nfs service fails to start occasionally and<br>
&gt; &gt; randomly<br>
&gt; &gt; &gt; with<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Could not register with portmap 100021 4 38468<br>
&gt; &gt; &gt; Program  NLM4 registration failed<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve encountered this before -- I had to disable file locking,<br>
&gt; &gt; adding Lock=False to /etc/nfsmount.conf<br>
&gt; &gt;<br>
&gt; &gt; &gt; This appears to be related to<br>
&gt; &gt; &gt; <a href="http://www.gluster.org/pipermail/gluster-users/2014-October/019215.html" target="_blank">http://www.gluster.org/pipermail/gluster-users/2014-October/019215.html</a><br>
&gt; &gt; ,<br>
&gt; &gt; &gt; although I&#39;m not sure what the resolution is.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The gluster servers use autofs to mount user home directories and other<br>
&gt; &gt; &gt; sundry directories. I could verify that stopping autofs and then starting<br>
&gt; &gt; &gt; the gluster volume seems to solve the problem. Starting autofs after<br>
&gt; &gt; &gt; gluster seems to work fine too. What&#39;s the right way to handle this ?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Gluster-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt; &gt; <a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>