<div dir="ltr">Thank you!<div><br></div><div>I&#39;ll try this!</div><div><br></div><div>Best regards.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/22 shwetha <span dir="ltr">&lt;<a href="mailto:spandura@redhat.com" target="_blank">spandura@redhat.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Raphael,<br>
      <br>
      Following are the steps to be followed to sync data from node1 to
      node2 assuming node1 has the data.<br>
      <br>
      1. gluster peer probe node1<br>
      <br>
      2. gluster volume create gv0 replica 2 node1:/data node2:/data<br>
      <br>
      3. gluster volume start gv0<br>
      <br>
      4. gluster volume set gv0 cluster.read-subvolume gv0-client-0<br>
      <br>
      5. Create a fuse mount from the client node to the volume : mount
      -t glusterfs node1:/gv0 /mnt/gv0 <br>
      <br>
      6. From client node : cd /mnt/gv0 ;  find . | xargs stat <br>
      <br>
      This should self-heal all your data from node1 to node2. <br>
      <br>
      Once the self-heal is complete reset the &quot;cluster.read-subvolume&quot;
      volume option. <br>
      <br>
      7. gluster volume reset gv0 cluster.read-subvolume<br>
      <br>
      8. Unmount the mount point and remount for using it again. <br>
      <br>
      Regards<span class="HOEnZb"><font color="#888888"><br>
      -Shwetha</font></span><div class="im"><br>
      <br>
      On 11/21/2013 08:51 PM, Raphael Rabelo wrote:<br>
    </div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>I guys!<br>
          <br>
          <br>
        </div>
        <div>i have 2 servers in replicate mode, the node 1 has all
          data, and the cluster 2 is empty.<br>
        </div>
        <div>I created a volume (gv0) and start it.<br>
          <br>
        </div>
        <div>Now, how can I synchronize all files on the node 1 by the
          node 2 ?<br>
          <br>
        </div>
        <div>Steps that I followed:<br>
          <br>
          gluster peer probe node1<br>
          gluster volume create gv0 replica 2 node1:/data node2:/data<br>
        </div>
        <div>gluster volume gvo start<br>
        </div>
        <div><br>
          <br>
        </div>
        <div>thanks!<br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><div class="im"><pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </div></blockquote>
    <br>
    <br>
  </div>

</blockquote></div><br></div>