<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial">On Mon, Feb 3, 2014 at 9:40 PM, Vijay Bellur </span><span dir="ltr" style="font-family:arial">&lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt;</span><span style="font-family:arial"> wrote:</span><br>

</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">

<div class="h5">On 02/03/2014 04:03 PM, Andrew Lau wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
<br>
Is there a config to have the gluster NFS server start on boot?<br>
<br>
I&#39;m having this weird issue where in a two brick replica (one offline<br>
temporarily) the NFS server will show as Online: N. The NFS server will<br>
only startup if I make a change to an option (such as change the cache<br>
size)  or the second host comes up.<br>
<br>
The volume is however still mountable through glusterfs.<br>
<br>
Here are my configs:<br>
performance.cache-size: 1GB<br>
server.allow-insecure: on<br>
performance.io-thread-count: 8<br>
auth.allow: 172.16.*.*<br>
storage.owner-uid: 36<br>
storage.owner-gid: 36<br>
nfs.disable: no<br>
performance.quick-read: off<br>
performance.read-ahead: off<br>
performance.io-cache: off<br>
performance.stat-prefetch: off<br>
cluster.eager-lock: enable<br>
network.remote-dio: enable<br>
cluster.quorum-type: none<br>
cluster.server-quorum-type: none<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"></div><br>
nfs.register-with-portmap: on<br>
<br>
Any suggestions?<br>
<br>
</blockquote>
<br>
<br></div></div>
Looking up the nfs log file in /var/log/glusterfs might provide some clue.<span class=""><font color="#888888"><br>
<br>
-Vijay<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:tahoma,sans-serif">I nulled all the log files and did a reboot. nfs.log remains empty but etc-glusterfs-glusterd.vol.log has a couple errors about the other brick not being online eg.</div>

<div class="gmail_default"><font face="tahoma, sans-serif">E [socket.c:2157:socket_connect_finish] 0-management: connection to <a href="http://172.16.1.11:24007">172.16.1.11:24007</a> failed (No route to host)</font><br>
</div>
<div class="gmail_default"><font face="tahoma, sans-serif">W [socket.c:514:__socket_rwv] 0-management: readv failed (No data available)<br></font></div><br></div></div>