<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div><br></div><div><br></div><div>Before step 6, there are some files(a,b,c), that are created at step 5 , in the A brick when volume type is distribute.</div><div>Should the files(a,b,c) in A brick be move to another directory before step 6?</div><div>And move back, after step 6, when the volume type is changed to replicate?</div><div><br></div><div>Thanks,</div><div>Xin</div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>ÔÚ 2016-02-24 12:42:39£¬"Ravishankar N" &lt;ravishankar@redhat.com&gt; Ð´µÀ£º<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  
    
  
  
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      On 02/24/2016 10:03 AM, songxin wrote:<br>
    </div>
    <blockquote cite="mid:e75da11.5414.153118dee1f.Coremail.songxin_1980@126.com" type="cite">
      <div>Hi,</div>
      <div>Thank you for answering my question. And I have another
        question to ask.</div>
      <div>If there has been some file(c, d, e) in the B node brick
        before step 6 as below.And the file c is diffetent with file c
        created in A mount poin. <br>
      </div>
    </blockquote>
    <br>
    Any new brick that you add to a volume has to be empty. It must not
    contain data or be a brick that was&nbsp; a part of another volume etc.<br>
    Hope that helps,<br>
    Ravi<br>
    <blockquote cite="mid:e75da11.5414.153118dee1f.Coremail.songxin_1980@126.com" type="cite">
      <div><br>
      </div>
      <div>
        <blockquote cite="mid:17286fdf.2048.15310f458cb.Coremail.songxin_1980@126.com" type="cite" style="line-height: 23.8px;">
          <div style="line-height: 1.7;">
            <div><span style="line-height: 23.8px;">1.</span>gluster
              peer probe&nbsp;<span style="line-height: 23.8px;">128.224.162.255</span>&nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="line-height: 23.8px;">&nbsp;//run
                on A node</span></div>
            <div>2.gluster volume create gv0&nbsp;<span style="line-height:
                23.8px;">128.224.162.163</span>:<span style="line-height: 23.8px;">/data/brick/gv0</span>&nbsp;force
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //run on A node</div>
            <div>3.gluster volume start gv0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="line-height: 23.8px;">&nbsp;//run on
                A node</span></div>
            <div><span style="line-height: 23.8px;">4.</span>mount -t
              glusterfs 128.224.162.163:/gv0 gluster &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="line-height: 23.8px;">//run on A node</span></div>
            <div>5.create some file(a,b,c) in directory gluster &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp;&nbsp;<span style="line-height: 23.8px;">//run on A node</span></div>
            <div><span style="line-height: 23.8px;">6.</span>gluster
              volume add-brick gv0 replica 2
              128.224.162.255:/data/brick/gv0 force &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="line-height: 23.8px;">&nbsp;</span><span style="line-height: 23.8px;">&nbsp;//run on A node</span></div>
            <div><span style="line-height: 23.8px;">7.</span><span style="line-height: 23.8px;">&nbsp;</span><span style="color:
                rgb(51, 51, 51); font-family: Arial, sans-serif;
                line-height: 20px;">gluster volume heal gv0 info
                split-brain</span><span style="line-height: 23.8px;">&nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="line-height:
                23.8px;">//run on A node</span></div>
            <div><span style="line-height: 23.8px;">8.</span><span style="color: rgb(51, 51, 51); font-family: Arial,
                sans-serif; line-height: 20px;">gluster volume heal gv0
                info fulll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="line-height:
                23.8px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span style="line-height: 23.8px;">//run on A node</span></div>
          </div>
        </blockquote>
      </div>
      <div><span style="line-height: 23.8px;">After step 7, should some</span><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif;
          line-height: 20px;">&nbsp;split-brain</span><span style="color:
          rgb(51, 51, 51); font-family: Arial, sans-serif; line-height:
          20px;">&nbsp;entries be present?</span></div>
      <div><span style="line-height: 23.8px;">After step 8, should all
          files (a,b,c,d,e) will be replicate in volume gv0</span><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif;
          line-height: 20px;">?</span></div>
      <div><span style="color: rgb(51, 51, 51); font-family: Arial,
          sans-serif; line-height: 20px;">If so, how the file c be
          replicated when the file c is different between A brick &nbsp;and B
          brick?</span></div>
      <br>
      <br>
    </blockquote>
    <br>
    <br>
  

</blockquote></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>