<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 11/09/2016 10:21 AM, Lopez, Dan-Joe
      wrote:<br>
    </div>
    <blockquote
      cite="mid:505416a2fdc0451ba2bca5d75d9ab987@USPHLE13US01.global.corp.sap"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:+mn-ea;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><a moz-do-not-send="true"
            name="_MailEndCompose"><span
              style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Thanks
              Joe and Gandalf!<o:p></o:p></span></a></p>
        <p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p> </o:p></span></span></p>
        <p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I’ve
              look at the blog that you wrote Joe, but it seems to
              reference a more complicated scenario than I am working
              with.<o:p></o:p></span></span></p>
        <p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p> </o:p></span></span></p>
        <p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">We
              have a` replica n` volume, and I want to make it a`
              replica n+1` volume. Is that possible?<o:p></o:p></span></span></p>
        <p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p> </o:p></span></span></p>
        <p class="MsoNormal" style="vertical-align:bottom"><span
            style="mso-bookmark:_MailEndCompose"><span
              style="font-family:&quot;Arial&quot;,sans-serif;color:black">Dan-Joe
              Lopez
            </span></span><span style="mso-bookmark:_MailEndCompose"><o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
    Sure, that's easy, add-brick $myvol replica $new_n $new_brick<br>
    <br>
    but... why are you adding replica? Is it to improve redundancy and
    availability, or is it so you "have the same files on all our
    servers" (a common mistake)?<br>
    <br>
    Another page that might be of use to you:<br>
    <a class="moz-txt-link-freetext" href="https://joejulian.name/blog/glusterfs-replication-dos-and-donts/">https://joejulian.name/blog/glusterfs-replication-dos-and-donts/</a><br>
    <br>
    <blockquote
      cite="mid:505416a2fdc0451ba2bca5d75d9ab987@USPHLE13US01.global.corp.sap"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="mso-bookmark:_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p> </o:p></span></span></p>
        <span style="mso-bookmark:_MailEndCompose"></span>
        <p class="MsoNormal"><b><span
              style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
            <a class="moz-txt-link-abbreviated" href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>
            [<a class="moz-txt-link-freetext" href="mailto:gluster-users-bounces@gluster.org">mailto:gluster-users-bounces@gluster.org</a>]
            <b>On Behalf Of </b>Gandalf Corvotempesta<br>
            <b>Sent:</b> Tuesday, November 8, 2016 10:54 PM<br>
            <b>To:</b> Joe Julian <a class="moz-txt-link-rfc2396E" href="mailto:joe@julianfamily.org">&lt;joe@julianfamily.org&gt;</a><br>
            <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
            <b>Subject:</b> Re: [Gluster-users] Automation of single
            server addition to replica<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p>Il 09 nov 2016 1:23 AM, "Joe Julian" &lt;<a
            moz-do-not-send="true" href="mailto:joe@julianfamily.org">joe@julianfamily.org</a>&gt;
          ha scritto:<br>
          &gt;<br>
          &gt; Replicas are defined in the order bricks are listed in
          the volume create command. So gluster volume create myvol
          replica 2 server1:/data/brick1 server2:/data/brick1
          server3:/data/brick1 server4:/data/brick1 will replicate
          between server1 and server2 and replicate between server3 and
          server4.<br>
          &gt;<br>
          &gt; See also <a moz-do-not-send="true"
href="https://joejulian.name/blog/how-to-expand-glusterfs-replicated-clusters-by-one-server/">https://joejulian.name/blog/how-to-expand-glusterfs-replicated-clusters-by-one-server/</a><br>
          &gt;<o:p></o:p></p>
        <p>i really hope this could be automated in newer gluster
          versions<br>
          There is almost no sense to make a replica on the same server
          so gluster<br>
          should automatically move bricks to preserve data consistency
          when adding servers.<o:p></o:p></p>
        <p>Ceph does this by moving objects around and you don't have to
          add servers in a multiple of replica<o:p></o:p></p>
        <p>the rebalance command could be used to rebalance newly added
          bricks by preserving replicas in a proper state
          <o:p></o:p></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>