<div dir="ltr">I am mounting it with the fuse client:<div>







<p class=""><span class="">gs1:/volume1            /data/nfs       glusterfs       defaults,_netdev,backupvolfile-server=gs2        0       0</span></p><p class=""><span class="">also manually:</span></p><p class=""><span class="">sudo mount gs1:/volume1 /data/nfs</span></p><p class="">I am mounting it with the client on the same machine as the server is. gs2 acts as a failover on the second machine. The bricks are therefore in replication 2 mode on both machines.</p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-27 14:10 GMT+02:00 Prasun Gera <span dir="ltr">&lt;<a href="mailto:prasun.gera@gmail.com" target="_blank">prasun.gera@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How are you mounting it ? For fuse mounts, you need to specify both the servers in your mount command. NFS mounts won&#39;t work if the server from which you are trying to mount is offline. </div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Aug 27, 2015 at 4:14 AM, Merlin Morgenstern <span dir="ltr">&lt;<a href="mailto:merlin.morgenstern@gmail.com" target="_blank">merlin.morgenstern@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">I have two gluster servers installed on seperate machines. The function as failover and I do mount on each machine with the coresponding gluster client. This only seems to work if both gluster servers are live.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">It seems that something is misconfigured or misunderstood by myself how gluster works.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">This is my configuration of the volume:</p><pre style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,sans-serif;white-space:inherit">user@xnode1:~$ sudo mount gs1:/volume1 /data/nfs/
^Cuser@xnode1:~$ sudo gluster volume info

Volume Name: volume1
Type: Replicate
Volume ID: 92d9adb8-756b-4138-87a8-23237d21688f
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: gs1:/data/gluster/brick
Brick2: gs2:/data/gluster/brick
Options Reconfigured:
performance.readdir-ahead: on
performance.cache-size: 256MB
server.allow-insecure: on
performance.io-thread-count: 16
performance.client-io-threads: on 
</code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">Brick1 is on the same site as the running gluster-server.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">Why do I need to have Brick2 online? It is configured in replication mode.</p></div>
<br></div></div>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>
</blockquote></div><br></div>