<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">It would help if you say what kind of
      volumes you have, as they all work a little differently.<br>
      <br>
      You should NOT destroy the old volumes.<br>
      <br>
      It should be quite possible to move the bricks to a new server and
      get them running as part of THE SAME gluster system that you have
      now.<br>
      <br>
      Until you tell us how many bricks, how many servers have what
      bricks, exactly which servers you are replacing (you mention only
      one server, but that is not a normal gluster configuration), we
      can't give you a whole lot of help.  The usual routine involves
      working with one brick server at a time, while keeping the rest of
      the array untouched.  With some replicated arrays and some careful
      work, you don't have to take the array offline at all.  However,
      replicated arrays get handled VERY differently from distributed,
      so we can't help much until you tell us more.<br>
      <br>
      Ted Miller<br>
      Elkhart, IN<br>
      <br>
      On 07/18/2017 06:18 AM, Andy Tai wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJsg1E85-_WjzhN5fTTAJZvrzzrBj_TZ6Sgka6MW5daWuWbEyA@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>hi,  I did not see a reply to my problem.  Let me ask it
            in a different way...<br>
            <br>
          </div>
          If I have bricks from a previous glusterfs volume and that
          volume is now gone because of the old machine was replaced,
          now I tried to create a new volume and add the old bricks to
          the new volume with the "force" opinion to "volume create". 
          The old data files are still in the bricks but when I mount
          the new volume the new volume shows it is empty.<br>
          <br>
        </div>
        Is it possible for glusterfs to recognize the old data files on
        the bricks in some way to essentially re-create the same view as
        the old volume, via some kind of healing or meta data re-scan or
        re-creation?  The bricks are in good shape with no data
        corruption and are in sync (same data were replicated).  Thanks<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, May 4, 2017 at 10:03 PM, Andy
          Tai <span dir="ltr">&lt;<a href="mailto:atai@atai.org"
              target="_blank" moz-do-not-send="true">atai@atai.org</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>
                <div>Hi, I have a gluster volume with bricks spread over
                  several physical drives.   I now want to upgrade my
                  server to a new system and plan to move the drives
                  from the old server to the new server, with a
                  different host name and IP address.  Can I shut down
                  the gluster volume on the old server, move and install
                  the physical drives containing the bricks to the new
                  server, and then create a new gluster volume on the
                  new server, and add the bricks to the new volume in
                  the same way reflecting the previous organization of
                  the volume on the old server, and expect everything to
                  work (all files preserved and accessible via
                  glusterfs, with no data loss?  <br>
                  <br>
                </div>
                The gluster volume on the old server would be retired
                and I want to let the new server taking over the role of
                serving the gluster volume.<br>
                <br>
              </div>
              Thanks<span class="HOEnZb"><font color="#888888"><br>
                  <br>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>-- <br>
                            <div
                              class="m_4991259325832873511gmail_signature"
                              data-smartmail="gmail_signature">
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">Andy Tai, <a
href="mailto:atai@atai.org" target="_blank" moz-do-not-send="true">atai@atai.org</a>,
                                                Skype: licheng.tai,
                                                Line: andy_tai, WeChat:
                                                andytai1010<br>
                                                Year 2017 民國106年<br>
                                                自動的精神力是信仰與覺悟<br>
                                                自動的行為力是勞動與技能</div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">Andy Tai, <a
                              href="mailto:atai@atai.org"
                              target="_blank" moz-do-not-send="true">atai@atai.org</a>,
                            Skype: licheng.tai, Line: andy_tai, WeChat:
                            andytai1010<br>
                            Year 2017 民國106年<br>
                            自動的精神力是信仰與覺悟<br>
                            自動的行為力是勞動與技能</div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </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>
    <p><br>
    </p>
  </body>
</html>