<div>Hello,&nbsp;</div><div>we did more test, after we do rebalance, those old files will move to new bricks, but for files newly write to volume, they will still go to old bricks.</div><div>However, once the server which added bricks had been restart. Everything works correctly, new files write to volume will also go to new bricks.</div><div>Is there anything we missed?&nbsp;</div><div><br></div><div>we add bricks with:</div><div>#&nbsp;gluster&nbsp;volume&nbsp;add-brick&nbsp;VOLNAME&nbsp;NEW_BRICK</div><div><br></div><div>rebalance it with:<br>#&nbsp;gluster&nbsp;volume&nbsp;rebalance&nbsp;&lt;VOLNAME&gt;&nbsp;fix-layout&nbsp;start<!--EndFragment-->

</div><div><br></div><div>But it is not work properly until we restart the machine.</div><div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;Original&nbsp;------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b>&nbsp;"PSC";&lt;1173701037@qq.com&gt;;</div><div><b>Date: </b>&nbsp;Dec 30, 2019</div><div><b>To: </b>&nbsp;"Amar Tumballi"&lt;amarts@gmail.com&gt;; <wbr></div><div><b>Cc: </b>&nbsp;"gluster-devel"&lt;gluster-devel@gluster.org&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re:  [Gluster-devel] Expanding Volume problem in old release 3.12.2</div></div><div><br></div><div><br></div><div><div>Thank you for your reply,</div><div>Yes we did, once we do the rebalance process, those files already on old bricks will move to new bricks. However, if we write new files to volume, they will still distributed to old bricks, not new.</div><div><br></div><div>Regards,</div><div>Peng</div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b>&nbsp;"Amar Tumballi";&lt;amarts@gmail.com&gt;;</div><div><b>Send time:</b>&nbsp;Saturday, Dec 28, 2019 10:28 PM</div><div><b>To:</b>&nbsp;"PSC"&lt;1173701037@qq.com&gt;; <wbr></div><div><b>Cc:</b>&nbsp;"gluster-devel"&lt;gluster-devel@gluster.org&gt;; <wbr></div><div><b>Subject: </b>&nbsp;Re: [Gluster-devel] Expanding Volume problem in old release 3.12.2</div></div><div><br></div><div dir="auto">After expand, you need to run rebalance (at least the fix-layout) to get the files get distributed to newer bricks.<div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Amar</div><div dir="auto">--</div><div dir="auto"><a href="https://kadalu.io">https://kadalu.io</a></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Dec, 2019, 9:34 AM PSC, &lt;<a href="mailto:1173701037@qq.com">1173701037@qq.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div>I have a glusterfs deployment, the version of which is 3.12.2.&nbsp; When I expanded a volume, I encountered with a problem that new files wrote to volume will not appear on those bricks newly added to the volume. I mean new files will only wrote to original bricks of that volume (bricks before expand). Those new bricks will never used.</div><div>I made some test on the latest version of glusterfs, this problem disappeared. However, for stability concerning, I cannot upgrade to new version. I plan to made a patch on the old 3.12.2 glusterfs, just fix this one bug. Would you please tell me some information about it? </div><div><br></div><div>Thank you very much!</div>_______________________________________________<br>
<br>
Community Meeting Calendar:<br>
<br>
APAC Schedule -<br>
Every 2nd and 4th Tuesday at 11:30 AM IST<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
<br>
<br>
NA/EMEA Schedule -<br>
Every 1st and 3rd Tuesday at 01:00 PM EDT<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank" rel="noreferrer">Gluster-devel@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a><br>
<br>
</blockquote></div></div></div>