<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 03/23/2016 06:56 PM, Ralf Simon
      wrote:<br>
    </div>
    <blockquote
cite="mid:OFB7993BC2.EAD6F7E4-ONC1257F7F.0048DD46-C1257F7F.0049DA1C@notes.denic.de"
      type="cite"><font face="sans-serif" size="2">Hello,</font>
      <br>
      <br>
      <font face="sans-serif" size="2">I've installed ....</font>
      <br>
      <br>
      <font face="sans-serif" size="2"># yum info glusterfs-server</font>
      <br>
      <font face="sans-serif" size="2">Loaded plugins: fastestmirror</font>
      <br>
      <font face="sans-serif" size="2">Loading mirror speeds from cached
        hostfile</font>
      <br>
      <font face="sans-serif" size="2">Installed Packages</font>
      <br>
      <font face="sans-serif" size="2">Name        : glusterfs-server</font>
      <br>
      <font face="sans-serif" size="2">Arch        : x86_64</font>
      <br>
      <font face="sans-serif" size="2">Version     : 3.7.6</font></blockquote>
    <font size="2"><br>
      I think the patch <a class="moz-txt-link-freetext" href="http://review.gluster.org/#/c/12748/">http://review.gluster.org/#/c/12748/</a> to enhance
      the volinfo output went in for 3.7.7. But I would advise you to
      use 3.7.9 that was recently released because a couple of arbiter
      related fixes have happened since 3.7.6<br>
      Hope this helps,<br>
      Ravi<br>
      <br>
    </font>
    <blockquote
cite="mid:OFB7993BC2.EAD6F7E4-ONC1257F7F.0048DD46-C1257F7F.0049DA1C@notes.denic.de"
      type="cite">
      <br>
      <font face="sans-serif" size="2">Release     : 1.el7</font>
      <br>
      <font face="sans-serif" size="2">Size        : 4.3
        M</font>
      <br>
      <font face="sans-serif" size="2">Repo        : installed</font>
      <br>
      <font face="sans-serif" size="2">From repo   : latest</font>
      <br>
      <font face="sans-serif" size="2">Summary     : Clustered
        file-system
        server</font>
      <br>
      <font face="sans-serif" size="2">URL         : </font><a
        moz-do-not-send="true"
        href="http://www.gluster.org/docs/index.php/GlusterFS"><font
          face="sans-serif" size="2" color="blue"><a class="moz-txt-link-freetext" href="http://www.gluster.org/docs/index.php/GlusterFS">http://www.gluster.org/docs/index.php/GlusterFS</a></font></a>
      <br>
      <font face="sans-serif" size="2">License     : GPLv2 or LGPLv3+</font>
      <br>
      <font face="sans-serif" size="2">Description : GlusterFS is a
        distributed
        file-system capable of scaling to several</font>
      <br>
      <font face="sans-serif" size="2">           
        : petabytes. It aggregates various storage bricks over
        Infiniband RDMA</font>
      <br>
      <font face="sans-serif" size="2">           
        : or TCP/IP interconnect into one large parallel network file</font>
      <br>
      <font face="sans-serif" size="2">           
        : system. GlusterFS is one of the most sophisticated file
        systems in</font>
      <br>
      <font face="sans-serif" size="2">           
        : terms of features and extensibility.  It borrows a powerful
        concept</font>
      <br>
      <font face="sans-serif" size="2">           
        : called Translators from GNU Hurd kernel. Much of the code in
        GlusterFS</font>
      <br>
      <font face="sans-serif" size="2">           
        : is in user space and easily manageable.</font>
      <br>
      <font face="sans-serif" size="2">           
        :</font>
      <br>
      <font face="sans-serif" size="2">           
        : This package provides the glusterfs server daemon.</font>
      <br>
      <br>
      <font face="sans-serif" size="2">I wanted to build a ...</font>
      <br>
      <br>
      <font face="sans-serif" size="2"># gluster volume create gv0
        replica
        3 arbiter 1 d90029:/data/brick0 d90031:/data/brick0
        d90034:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">volume create: gv0: success:
        please
        start the volume to access data</font>
      <br>
      <br>
      <font face="sans-serif" size="2">... but I got a ...</font>
      <br>
      <br>
      <font face="sans-serif" size="2"># gluster volume info</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Volume Name: gv0</font>
      <br>
      <font face="sans-serif" size="2">Type: Replicate</font>
      <br>
      <font face="sans-serif" size="2">Volume ID:
        329325fc-ceed-4dee-926f-038f44281678</font>
      <br>
      <font face="sans-serif" size="2">Status: Created</font>
      <br>
      <font face="sans-serif" size="2">Number of Bricks: </font><font
        face="sans-serif" size="2" color="#ff4040"><b>1
          x 3 = 3</b></font>
      <br>
      <font face="sans-serif" size="2">Transport-type: tcp</font>
      <br>
      <font face="sans-serif" size="2">Bricks:</font>
      <br>
      <font face="sans-serif" size="2">Brick1: d90029:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">Brick2: d90031:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">Brick3: d90034:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">Options Reconfigured:</font>
      <br>
      <font face="sans-serif" size="2">performance.readdir-ahead: on</font>
      <br>
      <br>
      <font face="sans-serif" size="2">... without the requested arbiter
        !</font>
      <br>
      <br>
      <font face="sans-serif" size="2">The same situation with 6 bricks
        ...</font>
      <br>
      <br>
      <font face="sans-serif" size="2"># gluster volume create gv0
        replica
        3 arbiter 1 d90029:/data/brick0 d90031:/data/brick0
        d90034:/data/brick0
        d90029:/data/brick1 d90031:/data/brick1 d90034:/data/brick1</font>
      <br>
      <font face="sans-serif" size="2">volume create: gv0: success:
        please
        start the volume to access data</font>
      <br>
      <font face="sans-serif" size="2">[root@d90029 ~]# gluster vol info</font>
      <br>
      <br>
      <font face="sans-serif" size="2">Volume Name: gv0</font>
      <br>
      <font face="sans-serif" size="2">Type: Distributed-Replicate</font>
      <br>
      <font face="sans-serif" size="2">Volume ID:
        2b8dbcc0-c4bb-41e3-a870-e164d8d10c49</font>
      <br>
      <font face="sans-serif" size="2">Status: Created</font>
      <br>
      <font face="sans-serif" size="2">Number of Bricks: </font><font
        face="sans-serif" size="2" color="#ff4040"><b>2
          x 3 = 6</b></font>
      <br>
      <font face="sans-serif" size="2">Transport-type: tcp</font>
      <br>
      <font face="sans-serif" size="2">Bricks:</font>
      <br>
      <font face="sans-serif" size="2">Brick1: d90029:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">Brick2: d90031:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">Brick3: d90034:/data/brick0</font>
      <br>
      <font face="sans-serif" size="2">Brick4: d90029:/data/brick1</font>
      <br>
      <font face="sans-serif" size="2">Brick5: d90031:/data/brick1</font>
      <br>
      <font face="sans-serif" size="2">Brick6: d90034:/data/brick1</font>
      <br>
      <font face="sans-serif" size="2">Options Reconfigured:</font>
      <br>
      <font face="sans-serif" size="2">performance.readdir-ahead: on</font>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2">In contrast the documentation
        tells
        ....</font>
      <br>
      <br>
      <br>
      <font face="sans-serif" size="2"><b>Arbiter configuration</b></font>
      <p><font face="sans-serif" size="2">The arbiter configuration
          a.k.a. the
          arbiter volume is the perfect sweet spot between a 2-way
          replica and 3-way
          replica to avoid files getting into split-brain, <b><i>without
              the 3x storage
              space</i></b> as mentioned earlier. The syntax for
          creating the volume
          is:</font>
      </p>
      <p><font face="sans-serif" size="2"><b>gluster volume create
            replica 3 arbiter
            1 host1:brick1 host2:brick2 host3:brick3</b></font>
      </p>
      <p><font face="sans-serif" size="2">For example:</font>
      </p>
      <p><font face="sans-serif" size="2"><b>gluster volume create
            testvol replica
            3 arbiter 1 127.0.0.2:/bricks/brick{1..6} force</b></font>
      </p>
      <p><font face="sans-serif" size="2">volume create: testvol:
          success: please
          start the volume to access data</font>
      </p>
      <p><font face="sans-serif" size="2"><b>gluster volume info</b></font>
      </p>
      <p><font face="sans-serif" size="2">Volume Name: testvol<br>
          Type: Distributed-Replicate<br>
          Volume ID: ae6c4162-38c2-4368-ae5d-6bad141a4119<br>
          Status: Created<br>
          Number of Bricks: </font><font face="sans-serif" size="2"
          color="#ff4040"><b>2
            x (2 + 1) = 6</b></font><font face="sans-serif" size="2"><br>
          Transport-type: tcp<br>
          Bricks:<br>
          Brick1: 127.0.0.2:/bricks/brick1<br>
          Brick2: 127.0.0.2:/bricks/brick2<br>
          Brick3: 127.0.0.2:/bricks/brick3 </font><font
          face="sans-serif" size="2" color="#ff4040"><b>(arbiter)</b></font><font
          face="sans-serif" size="2"><br>
          Brick4: 127.0.0.2:/bricks/brick4<br>
          Brick5: 127.0.0.2:/bricks/brick5<br>
          Brick6: 127.0.0.2:/bricks/brick6 </font><font
          face="sans-serif" size="2" color="#ff4040"><b>(arbiter)</b></font><font
          face="sans-serif" size="2"><br>
          Options Reconfigured : transport.address-family: inet<br>
          performance.readdir-ahead: on `</font>
        <br>
        <br>
        <br>
        <br>
        <font face="sans-serif" size="2">What's going wrong ? Can
          anybody help
          ?</font>
        <br>
        <br>
        <font face="sans-serif" size="2">Kind Regards</font>
        <br>
        <font face="sans-serif" size="2">Ralf Simon</font>
        <br>
        <br>
        <br>
        <br>
      </p>
      <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://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>