<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-crayon-5c49c00b98441233710032" class="gmail-crayon-syntax gmail-crayon-theme-github gmail-crayon-font-monaco gmail-crayon-os-pc gmail-print-yes gmail-notranslate gmail-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-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-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-crayon-row" style="box-sizing:border-box;background:0px 50%;padding:0px;border:none;vertical-align:top;margin:0px"><td class="gmail-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-crayon-pre" style="box-sizing:border-box;padding:0px;margin:0px;text-align:left;color:rgb(0,0,0);white-space:pre;overflow:visible;background:none;border:none;font-size:11px;line-height:15px"><div class="gmail-crayon-line" id="gmail-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-g gmail-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-g gmail-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-g gmail-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-Apple-interchange-newline"></div><div><br></div><div><br></div></div></div><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-Apple-interchange-newline"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="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><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qui, 24 de jan de 2019 às 11:27, 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 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_-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_-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_-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_-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_-7384707424154449845gmail-m_5817380466110899148gmail-m_1477463361165814277gmail-m_-1894462702772612631gmail-Apple-interchange-newline"><div><div dir="ltr" class="gmail-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>