<div dir="ltr"><div dir="ltr">I just wanna let you know, guys, that I was able to create 2-server HA with bellow cmd:<div><br></div><div>gluster vol create Vol01 replica 2 transport tcp server1:/data/storage server2:/data/storage</div><div>(so here work as replicated mode)</div><div><br></div><div>After that, I put this into fstab:</div><div>server1:/Vol01 /mnt glusterfs defaults,_netdev,backupvolfile-server=server2 0 0</div><div><br></div><div>Then, I shutdown server1 and after a few seconds, the /mnt mounted point works fine.... I could create others files into it and after server1 back online,</div><div>the files create was replicated from server2 to server1.</div><div><br></div><div>Everything works as expected!</div><div><br></div><div>Thanks a lot</div><div><br><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(47) 3025-5907</span><br></div><div><font size="4"><b></b></font></div><div><span style="font-size:12.8px">(47) 99676-7530 - Whatsapp / Telegram</span><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px">Skype: gilberto.nunes36</p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui, 24 de jan de 2019 às 12:04, Scott Worthington <<a href="mailto:scott.c.worthington@gmail.com">scott.c.worthington@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Amar,</div><div><br></div><div>Is this documentation relevant for Diego?</div><div dir="ltr"><br></div><div dir="ltr"><a href="https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Clients/#manual-mount" target="_blank">https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Setting%20Up%20Clients/#manual-mount</a><br></div><div dir="ltr"><br></div><div dir="ltr">"<span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px;background-color:rgb(252,252,252)">If </span><code style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;white-space:pre-wrap;max-width:100%;border:1px solid rgb(225,228,229);padding:2px 5px;color:rgb(231,76,60);overflow-x:auto">backupvolfile-server</code><span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px;background-color:rgb(252,252,252)"> option is added while mounting fuse client, when the first volfile server fails, then the server specified in </span><code style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;box-sizing:border-box;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;white-space:pre-wrap;max-width:100%;border:1px solid rgb(225,228,229);padding:2px 5px;color:rgb(231,76,60);overflow-x:auto">backupvolfile-server</code><span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px;background-color:rgb(252,252,252)"> option is used as volfile server to mount the client."</span></div><div dir="ltr"><span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px;background-color:rgb(252,252,252)"><br></span></div><div><span style="color:rgb(64,64,64);font-family:Lato,proxima-nova,"Helvetica Neue",Arial,sans-serif;font-size:16px;background-color:rgb(252,252,252)">Or is there 'better' documentation?</span></div><div dir="ltr"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail_attr">On Thu, Jan 24, 2019 at 8:51 AM Amar Tumballi Suryanarayan <<a href="mailto:atumball@redhat.com" target="_blank">atumball@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Also note that, this way of mounting with a 'static' volfile is not recommended as you wouldn't get any features out of gluster's Software Defined Storage behavior.<div><br></div><div>this was an approach we used to have say 8 years before. With the introduction of management daemon called glusterd, the way of dealing with volfiles have changed, and it is created with gluster CLI.</div><div><br></div><div>About having /etc/fstab not hang when a server is down, search for 'backup-volfile-server' option with glusterfs, and that should be used.</div><div><br></div><div>Regards,<br>Amar</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail_attr">On Thu, Jan 24, 2019 at 7:17 PM Diego Remolina <<a href="mailto:dijuremo@gmail.com" target="_blank">dijuremo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Show us output of: <div><br>gluster v status</div><div><br></div><div>Have you configured firewall rules properly for all ports being used?</div><div><br></div><div>Diego</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail_attr">On Thu, Jan 24, 2019 at 8:44 AM Gilberto Nunes <<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>>I think your mount statement in /etc/fstab is only referencing ONE of the gluster servers.</div><div>></div><div>>Please take a look at "More redundant mount" section:</div><div>></div><div dir="ltr">><a href="https://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume" target="_blank">https://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume</a><br></div><div dir="ltr">></div><div>>Then try taking down one of the gluster servers and report back results.</div><div><br></div><div>Guys! I have followed the very same instruction that found in the James's website.</div><div>One of method his mentioned in that website, is create a file into /etc/glusterfs directory, named datastore.vol, for instance, with this content:</div><div><div><br></div><div>volume remote1</div><div> type protocol/client</div><div> option transport-type tcp</div><div> option remote-host server1</div><div> option remote-subvolume /data/storage</div><div> end-volume</div><div><br></div><div> volume remote2</div><div> type protocol/client</div><div> option transport-type tcp</div><div> option remote-host server2</div><div> option remote-subvolume /data/storage</div><div> end-volume</div><div><br></div><div><div> volume remote3</div><div> type protocol/client</div><div> option transport-type tcp</div><div> option remote-host server3</div><div> option remote-subvolume /data/storage</div><div> end-volume</div></div><div><br></div><div> volume replicate<br></div><div> type cluster/replicate</div><div> subvolumes remote1 remote2 remote3</div><div> end-volume</div><div><br></div><div> volume writebehind</div><div> type performance/write-behind</div><div> option window-size 1MB</div><div> subvolumes replicate</div><div> end-volume</div><div><br></div><div> volume cache</div><div> type performance/io-cache</div><div> option cache-size 512MB</div><div> subvolumes writebehind</div><div> end-volume</div></div><div><br></div><div><br></div><div>and then include this line into fstab:</div><div><br></div><div><div id="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-5c49c00b98441233710032" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-syntax gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-theme-github gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-font-monaco gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-os-pc gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-print-yes gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-notranslate gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-wrapped" style="box-sizing:border-box;margin:12px 0px;width:625px;padding:0px;font-family:Monaco,MonacoRegular,"Courier New",monospace;color:rgb(51,51,51);height:auto;border:1px solid rgb(222,222,222);background-color:rgb(248,248,255);font-size:11px;line-height:15px;overflow:hidden;direction:ltr"><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-main" style="box-sizing:border-box;background:0px 50%;border:0px;padding:0px;margin:0px;width:623px;overflow:auto;font-family:Monaco,monacoregular,"courier new",monospace"><table class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-table" style="box-sizing:border-box;max-width:100%;font-size:12px;margin:0px;width:auto;background:none;border-spacing:0px;border-collapse:collapse;border:none;padding:0px;table-layout:auto"><tbody style="box-sizing:border-box"><tr class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-row" style="box-sizing:border-box;background:0px 50%;padding:0px;border:none;vertical-align:top;margin:0px"><td class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-code" style="box-sizing:border-box;border:0px;line-height:20px;text-align:center;background:0px 50%;width:605px;padding:0px;vertical-align:top;font-family:Monaco,monacoregular,"courier new",monospace"><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-pre" style="box-sizing:border-box;padding:0px;margin:0px;text-align:left;color:rgb(0,0,0);white-space:pre-wrap;overflow:visible;background:none;border:none;font-size:11px;line-height:15px"><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-line" id="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-5c49c00b98441233710032-1" style="box-sizing:border-box;font-family:inherit;background:0px 50%;border:0px;padding:0px 5px;margin:0px;height:inherit;word-break:break-all;font-size:inherit;line-height:inherit;font-weight:inherit;white-space:pre-wrap"><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-o" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)">/</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">etc</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-o" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)">/</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">glusterfs</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-o" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)">/</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">datastore</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-sy" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(51,51,51)">.</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-i" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit">vol</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-h" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)"> </span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-sy" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(51,51,51)">[</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">MOUNT</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-sy" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(51,51,51)">]</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-h" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)"> </span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-e" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:teal">glusterfs </span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">rw</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-sy" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(51,51,51)">,</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">allow_other</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-sy" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(51,51,51)">,</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">default_permissions</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-sy" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(51,51,51)">,</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-v" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,45,122)">max_read</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-o" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)">=</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-cn" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,153,153)">131072</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-h" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)"> </span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-cn" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,153,153)">0</span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-h" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,111,224)"> </span><span class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-crayon-cn" style="box-sizing:border-box;font-family:inherit;height:inherit;font-size:inherit;line-height:inherit;font-weight:inherit;color:rgb(0,153,153)">0</span></div></div></td></tr></tbody></table></div></div><p style="box-sizing:border-box;font-family:"Open Sans";font-size:16px;line-height:26px;margin:0px 0px 20px;color:rgb(51,51,51)"></p><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-g gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-g-4" style="box-sizing:border-box;margin:0px;padding:0px;overflow:hidden;line-height:1;zoom:1;color:rgb(51,51,51);font-family:"open sans",sans-serif;font-size:14px">What I doing wrong???</div></div><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-g gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-g-4" style="box-sizing:border-box;margin:0px;padding:0px;overflow:hidden;line-height:1;zoom:1;color:rgb(51,51,51);font-family:"open sans",sans-serif;font-size:14px"><br></div><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-g gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-g-4" style="box-sizing:border-box;margin:0px;padding:0px;overflow:hidden;line-height:1;zoom:1;color:rgb(51,51,51);font-family:"open sans",sans-serif;font-size:14px">Thanks </div><div><br></div><div><br></div><div><p style="box-sizing:border-box;font-family:"Open Sans";font-size:16px;line-height:26px;margin:0px 0px 20px;color:rgb(51,51,51)"></p><br class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-Apple-interchange-newline"></div><div><br></div><div><br></div></div></div><div class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-yj6qo gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-Apple-interchange-newline"></div><div><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(47) 3025-5907</span><br></div><div><font size="4"><b></b></font></div><div><span style="font-size:12.8px">(47) 99676-7530 - Whatsapp / Telegram</span><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px">Skype: gilberto.nunes36</p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail_attr">Em qui, 24 de jan de 2019 às 11:27, Scott Worthington <<a href="mailto:scott.c.worthington@gmail.com" target="_blank">scott.c.worthington@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>I think your mount statement in /etc/fstab is only referencing ONE of the gluster servers.</div><div><br></div><div>Please take a look at "More redundant mount" section:</div><div><br></div><div dir="ltr"><a href="https://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume" target="_blank">https://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume</a><br></div><div dir="ltr"><br></div><div>Then try taking down one of the gluster servers and report back results.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-m_-7384707424154449845gmail_attr">On Thu, Jan 24, 2019 at 8:24 AM Gilberto Nunes <<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yep! <div>But as I mentioned in previously e-mail, even with 3 or 4 servers this issues occurr.</div><div>I don't know what's happen.</div><div><br clear="all"><div><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-m_-7384707424154449845gmail-m_5817380466110899148gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(47) 3025-5907</span><br></div><div><font size="4"><b></b></font></div><div><span style="font-size:12.8px">(47) 99676-7530 - Whatsapp / Telegram</span><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px">Skype: gilberto.nunes36</p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-m_-7384707424154449845gmail-m_5817380466110899148gmail_attr">Em qui, 24 de jan de 2019 às 10:43, Diego Remolina <<a href="mailto:dijuremo@gmail.com" target="_blank">dijuremo@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Glusterfs needs quorum, so if you have two servers and one goes down, there is no quorum, so all writes stop until the server comes back up. You can add a third server as an arbiter which does not store data in the bricks, but still uses some minimal space (to keep metadata for the files).<div><br></div><div>HTH,</div><div><br></div><div>DIego</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-m_-7384707424154449845gmail-m_5817380466110899148gmail-m_1477463361165814277gmail_attr">On Wed, Jan 23, 2019 at 3:06 PM Gilberto Nunes <<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hit there...<div><br></div><div>I have set up two server as replica, like this:</div><div><br></div><div>gluster vol create Vol01 server1:/data/storage server2:/data/storage</div><div><br></div><div>Then I create a config file in client, like this:</div><div><div>volume remote1</div><div> type protocol/client</div><div> option transport-type tcp</div><div> option remote-host server1</div><div> option remote-subvolume /data/storage</div><div> end-volume</div><div><br></div><div> volume remote2</div><div> type protocol/client</div><div> option transport-type tcp</div><div> option remote-host server2</div><div> option remote-subvolume /data/storage</div><div> end-volume</div><div><br></div><div> volume replicate<br></div><div> type cluster/replicate</div><div> subvolumes remote1 remote2</div><div> end-volume</div><div><br></div><div> volume writebehind</div><div> type performance/write-behind</div><div> option window-size 1MB</div><div> subvolumes replicate</div><div> end-volume</div><div><br></div><div> volume cache</div><div> type performance/io-cache</div><div> option cache-size 512MB</div><div> subvolumes writebehind</div><div> end-volume</div></div><div><br></div><div>And add this line in /etc/fstab</div><div><br></div><div>/etc/glusterfs/datastore.vol /mnt glusterfs defaults,_netdev 0 0<br></div><div><br></div><div>After mount /mnt, I can access the servers. So far so good!</div><div>But when I make server1 crash, I was unable to access /mnt or even use </div><div>gluster vol status</div><div>on server2</div><div><br></div><div>Everything hangon!</div><div><br></div><div>I have tried with replicated, distributed and replicated-distributed too.</div><div>I am using Debian Stretch, with gluster package installed via apt, provided by Standard Debian Repo, glusterfs-server 3.8.8-1</div><div><br></div><div>I am sorry if this is a newbie question, but glusterfs share it's not suppose to keep online if one server goes down?</div><div><br></div><div>Any adviced will be welcome</div><div><br></div><div>Best</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-m_-7384707424154449845gmail-m_5817380466110899148gmail-m_1477463361165814277gmail-m_-1894462702772612631gmail-Apple-interchange-newline"><div><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail-m_-8157071220013953077gmail-m_-2645831155435256570gmail-m_-7384707424154449845gmail-m_5817380466110899148gmail-m_1477463361165814277gmail-m_-1894462702772612631gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">(47) 3025-5907</span><br></div><div><font size="4"><b></b></font></div><div><span style="font-size:12.8px">(47) 99676-7530 - Whatsapp / Telegram</span><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px">Skype: gilberto.nunes36</p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></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="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_111067834585984945gmail-m_454767126966271258gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></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="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div>