<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04/16/2018 05:15 AM, Thing wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJDAmYHGDj7HudW8paNEznwiuUiZ1HQKiOoTKRSVYZyxj8=x5g@mail.gmail.com">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I am on centos 7.4 with gluster 4.</div>
        <div><br>
        </div>
        <div>I am trying to a distributed and replicated volume on the 4
          nodes</div>
        <div><br>
        </div>
        <div>I am getting this un-expected qualification,</div>
        <div><br>
        </div>
        <div>
          <div>[root@glustep1 brick1]# gluster volume create gv0 replica
            2 glusterp1:/bricks/brick1/gv0 glusterp2:/bricks/brick1/gv0
            glusterp3:/bricks/brick1/gv0 glusterp4:/bricks/brick1/gv0</div>
          <div><br>
          </div>
          <div>8&gt;&lt;----</div>
          <div><br>
          </div>
          <div>Replica 2 volumes are prone to split-brain. Use Arbiter
            or Replica 3 to avoid this. See: <a
href="http://docs.gluster.org/en/latest/Administrator%20Guide/Split%20brain%20and%20ways%20to%20deal%20with%20it/"
              moz-do-not-send="true">http://docs.gluster.org/en/latest/Administrator%20Guide/Split%20brain%20and%20ways%20to%20deal%20with%20it/</a>.</div>
          <div>Do you still want to continue?</div>
          <div> (y/n) n</div>
        </div>
        <div><br>
        </div>
        <div>8&gt;&lt;-----</div>
        <div><br>
        </div>
        <div>Looking at both gluster docs and redhat docs this seems
          un-expected.</div>
      </div>
    </blockquote>
    <br>
    This warning was introduced from glusterfs 3.11 onward to encourage
    people to move away from replica 2 and use arbiter (or replica 3)
    instead.  If you are okay with the split-brain issues inherent in
    replica 2, you can still go ahead and create it.<br>
    Regards,<br>
    Ravi<br>
    <blockquote type="cite"
cite="mid:CAJDAmYHGDj7HudW8paNEznwiuUiZ1HQKiOoTKRSVYZyxj8=x5g@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>regards</div>
        <div><br>
        </div>
        <div>Steven</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>