<div dir="ltr">[SOLVED]<div><br></div><div>Well... It seems to me that pure Debian Linux 10 has some problem with XFS, which is the FS that  I used.</div><div>It&#39;s not accept attr2 mount options.</div><div><br></div><div>Interestingly enough, I have now used Proxmox 6.x, which is Debian based, I am now able to use the attr2 mount point option.</div><div>Then the Faulty status of geo-rep has gone.</div><div>Perhaps Proxmox staff has compiled xfs from scratch... Don&#39;t know....<br>But now I am happy &#39; cause the main reason to use geo-rep to me is to use it over Proxmox....</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">cat /etc/fstab  </span><br># &lt;file system&gt; &lt;mount point&gt; &lt;type&gt; &lt;options&gt; &lt;dump&gt; &lt;pass&gt;
<br>/dev/pve/root / xfs defaults 0 1
<br>/dev/pve/swap none swap sw 0 0
<br>/dev/sdb1       /DATA   xfs     attr2   0       0
<br>gluster01:VMS /vms glusterfs defaults,_netdev,x-systemd.automount,backupvolfile-server=gluster02 0 0
<br>proc /proc proc defaults 0 0<br></span></div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><br></div><div><p style="font-size:12.8px;margin:0px"></p><p style="font-size:12.8px;margin:0px"><br></p><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 27 de out. de 2020 às 09:39, Gilberto Nunes &lt;<a href="mailto:gilberto.nunes32@gmail.com">gilberto.nunes32@gmail.com</a>&gt; 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">&gt;&gt; IIUC you&#39;re begging for split-brain ...<br><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Not at all!</div><div>I have used this configuration and there isn&#39;t any split brain at all!</div><div>But if I do not use it, then I get a split brain.</div><div>Regarding count 2 I will see it!</div><div>Thanks</div><div><br></div><div>---</div><div><div><div>Gilberto Nunes Ferreira</div></div><div><br></div><div><p style="font-size:12.8px;margin:0px"><br></p></div></div><div><br></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 27 de out. de 2020 às 09:37, Diego Zuccato &lt;<a href="mailto:diego.zuccato@unibo.it" target="_blank">diego.zuccato@unibo.it</a>&gt; 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">Il 27/10/20 13:15, Gilberto Nunes ha scritto:<br>
&gt; I have applied this parameters to the 2-node gluster:<br>
&gt; gluster vol set VMS cluster.heal-timeout 10<br>
&gt; gluster volume heal VMS enable<br>
&gt; gluster vol set VMS cluster.quorum-reads false<br>
&gt; gluster vol set VMS cluster.quorum-count 1<br>
Urgh!<br>
IIUC you&#39;re begging for split-brain ...<br>
I think you should leave quorum-count=2 for safe writes. If a node is<br>
down, obviously the volume becomes readonly. But if you planned the<br>
downtime you can reduce quorum-count just before shutting it down.<br>
You&#39;ll have to bring it back to 2 before re-enabling the downed server,<br>
then wait for heal to complete before being able to down the second server.<br>
<br>
&gt; Then I mount the gluster volume putting this line in the fstab file:<br>
&gt; In gluster01<br>
&gt; gluster01:VMS /vms glusterfs<br>
&gt; defaults,_netdev,x-systemd.automount,backupvolfile-server=gluster02 0 0<br>
&gt; In gluster02<br>
&gt; gluster02:VMS /vms glusterfs<br>
&gt; defaults,_netdev,x-systemd.automount,backupvolfile-server=gluster01 0 0<br>
Isn&#39;t it preferrable to use the &#39;hostlist&#39; syntax?<br>
gluster01,gluster02:VMS /vms glusterfs defaults,_netdev 0 0<br>
A / at the beginning is optional, but can be useful if you&#39;re trying to<br>
use the diamond freespace collector (w/o the initial slash, it ignores<br>
glusterfs mountpoints).<br>
<br>
-- <br>
Diego Zuccato<br>
DIFA - Dip. di Fisica e Astronomia<br>
Servizi Informatici<br>
Alma Mater Studiorum - Università di Bologna<br>
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy<br>
tel.: +39 051 20 95786<br>
</blockquote></div>
</blockquote></div>