<div dir="ltr"><div>Hi,<br></div>Comments inline.<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 1:11 AM, Mahdi Adnan <span dir="ltr">&lt;<a href="mailto:mahdi.adnan@outlook.com" target="_blank">mahdi.adnan@outlook.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_5420175686461886192divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>We have a replica 2 volume and we have issue with setting proper quorum.</p>
<p>The volumes used as datastore for vmware/ovirt, the current settings for the quorum are:</p>
<p></p>
<div><br>
</div>
<div>cluster.quorum-type: auto</div>
<div>cluster.server-quorum-type: server</div>
<span>cluster.server-quorum-ratio: 51%</span><br>
<p></p>
<p><br>
</p>
<p>Losing the first node which hosting the first bricks will take the storage domain in ovirt offline but in the FUSE mount point works fine &quot;read/write&quot;</p></div></div></blockquote><div>This is not possible. When the client quorum is set to auto and the replica count is 2, the first node should be up for read/write to happen from mount. May be you are missing something here. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div id="m_5420175686461886192divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Losing the second node or any other node that hosts only the second bricks of the replication will not affect ovirt storage domain i.e 2nd or 4th ndoes.</p></div></div></blockquote><div>Since the server-quorum-ratio is set to 51%, this is also not possible.<br>Can you share the volume info here?<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div id="m_5420175686461886192divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p><span style="font-size:12pt">As i understand, losing the first brick in replica 2 volumes will render the volume to read only</span></p></div></div></blockquote><div>Yes you are correct, loosing the first brick will make the volume read-only. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div id="m_5420175686461886192divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr"><p><span style="font-size:12pt">, but how FUSE mount works in read write ?</span><br>
</p>
<div id="m_5420175686461886192Signature">Also, can we add an <span>arbiter</span> node to the current replica 2 volume without losing data ? if yes, does the re-balance bug &quot;<span>Bug 1440635&quot; affect this process ?</span></div></div></div></blockquote><div>Yes you can add an arbiter brick without losing data and the bug 1440635 will not affect that, since only the metadata need to be replicated on the arbiter brick. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div id="m_5420175686461886192divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div id="m_5420175686461886192Signature">And what happen if we set &quot;<span>cluster.quorum-type: none&quot; and the first node goes offline ? </span></div></div></div></blockquote><div>If you set the quorum-type to auto in a replica 2 volume, you will be able to read/write even when only one brick is up.<br></div><div>For an arbiter volume, quorum-type is auto by default and it is the recommended setting.<br><br></div><div>HTH,<br></div><div>Karthik <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div id="m_5420175686461886192divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div id="m_5420175686461886192Signature"><br>
</div>
<div id="m_5420175686461886192Signature"><span></span>Thank you. </div><span class="HOEnZb"><font color="#888888">
<div id="m_5420175686461886192Signature"><br>
<div class="m_5420175686461886192ecxmoz-signature">-- <br>
<br>
<font color="#3366ff"><font color="#000000">Respectfully<b><br>
</b><b>Mahdi A. Mahdi</b></font></font><font color="#3366ff"><br>
<br>
</font><font color="#3366ff"></font></div>
</div>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div></div></div>