<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br><div>Thank you very much for your reply.It is very helpful for me.</div><div>And I have one more question about "heal full" in glusterfs 3.7.6.</div><div><br></div><div>the reproduce steps :</div><div>A board:128.224.95.140</div><div>B board:128.224.162.255</div><div><br></div><div>1.gluster peer probe&nbsp;<span style="line-height: 23.8px;">128.224.162.255 &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; (on A borad)</span></div><div><span style="line-height: 23.8px;">2.</span>gluster volume create gv0 128.224.95.140:/data/brick/gv0 force &nbsp;<span style="line-height: 23.8px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (on A borad)</span></div><div><span style="line-height: 23.8px;">3.</span>gluster volume start gv0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="line-height: 23.8px;">&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; (on A borad)</span></div><div><span style="line-height: 23.8px;">4.</span>mount -t glusterfs 128.224.95.140:/gv0 gluster<span style="line-height: 23.8px;">&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; (on A borad)</span></div><div><span style="line-height: 23.8px;">5.cteate some files(a,b and c) in dirctory 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;(on A board)</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><span style="line-height: 23.8px;">At this time point I want replicate the files created in directory gluster, so I add a empty brick on B &nbsp;board to volume.</span></div><div><span style="line-height: 23.8px;"><br></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;<span style="line-height: 23.8px;">&nbsp;</span><span style="line-height: 23.8px;">&nbsp; &nbsp; (on A board)</span><span style="line-height: 1.7;">&nbsp;&nbsp;</span></div><div>7.gluster volume heal gv0 info &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;(on A board)</span><span style="line-height: 1.7;">&nbsp;&nbsp;</span><span style="line-height: 1.7;">&nbsp;&nbsp;</span></div><div><span style="line-height: 1.7;"><br></span></div><div><div>Brick 128.224.162.255:/data/brick/gv0</div><div>Number of entries: 0</div><div><br></div><div>Brick 128.224.95.140:/data/brick/gv0</div><div>Number of entries: 0</div></div><div><span style="line-height: 1.7;"><br></span></div><div>The volume will not replicate the files (a,b and c), because these file is created when the volume type is distribute.</div><div>So I just use "heal full" to replicate these files.</div><div><br></div><div>8.gluster volume heal gv0 full &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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="line-height: 23.8px;">&nbsp;(on A board)</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><span style="line-height: 23.8px;">My question is following.</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><span style="line-height: 23.8px;">The command "heal full" is async and "heal info" show nothing need to heal.&nbsp;</span></div><div><span style="line-height: 23.8px;">How could I know when the "heal full" &nbsp;has completed to replicate these files£ša,b and c£©?How to monitor the progress?</span></div><div><span style="line-height: 23.8px;"><br></span></div><div><span style="line-height: 23.8px;">Thanks,</span></div><div><span style="line-height: 23.8px;">Xin</span></div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">&nbsp; &nbsp; &nbsp;</span></div><div><br></div><div><br></div><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2016-03-03 00:15:42, "Alan Millar" &lt;grunthos503@yahoo.com&gt; wrote:
&gt;&gt;1. the command "gluster v replace-brick " is async or sync?  The replace is complete when the command quit ? 
&gt;
&gt;
&gt;Async.  The command will end immediately, and the replace will continue in the background.  
&gt;
&gt;
&gt;Use "gluster volume replace-brick VOLUME-NAME OLD-BRICK NEW-BRICK status" to monitor the progress.
</pre></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>