<div dir="ltr">Thanks for the replies. The rebalance is running and the brick percentages are not adjusting as expected:<div><br></div><div># df -hP |grep data<br>/dev/mapper/gluster_vg-gluster_lv1_data 60T 49T 11T 83% /gluster_bricks/data1<br>/dev/mapper/gluster_vg-gluster_lv2_data 60T 49T 11T 83% /gluster_bricks/data2<br>/dev/mapper/gluster_vg-gluster_lv3_data 60T 4.6T 55T 8% /gluster_bricks/data3<br>/dev/mapper/gluster_vg-gluster_lv4_data 60T 4.6T 55T 8% /gluster_bricks/data4<br>/dev/mapper/gluster_vg-gluster_lv5_data 60T 4.6T 55T 8% /gluster_bricks/data5<br>/dev/mapper/gluster_vg-gluster_lv6_data 60T 4.6T 55T 8% /gluster_bricks/data6<br></div><div><br></div><div>At the current pace it looks like this will continue to run for another 5-6 days.</div><div><br></div><div>I appreciate the guidance..</div><div><br></div><div>HB</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 2, 2019 at 9:08 PM Nithya Balachandran <<a href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 31 Aug 2019 at 22:59, Herb Burnswell <<a href="mailto:herbert.burnswell@gmail.com" target="_blank">herbert.burnswell@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank you for the reply.<div><br></div><div>I started a rebalance with force on serverA as suggested. Now I see 'activity' on that node:</div><div><br></div><div># gluster vol rebalance tank status<br> Node Rebalanced-files size scanned failures skipped status run time in h:m:s<br> --------- ----------- ----------- ----------- ----------- ----------- ------------ --------------<br> localhost 6143 6.1GB 9542 0 0 in progress 0:4:5<br> serverB 0 0Bytes 7 0 0 in progress 0:4:5<br>volume rebalance: tank: success<br></div><div><br></div><div>But I am not seeing any activity on serverB. Is this expected? Does the rebalance need to run on each node even though it says both nodes are 'in progress'?</div><div><br></div></div></blockquote><div><br></div><div>It looks like this is a replicate volume. If that is the case then yes, you are running an old version of Gluster for which this was the default behaviour. </div><div><br></div><div>Regards,</div><div>Nithya</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Thanks,</div><div><br></div><div>HB</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 31, 2019 at 4:18 AM Strahil <<a href="mailto:hunter86_bg@yahoo.com" target="_blank">hunter86_bg@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p dir="ltr">The rebalance status show 0 Bytes.</p>
<p dir="ltr">Maybe you should try with the 'gluster volume rebalance <VOLNAME> start force' ?</p>
<p dir="ltr">Best Regards,<br>
Strahil Nikolov</p>
<p dir="ltr">Source: <a href="https://docs.gluster.org/en/latest/Administrator%20Guide/Managing%20Volumes/#rebalancing-volumes" target="_blank">https://docs.gluster.org/en/latest/Administrator%20Guide/Managing%20Volumes/#rebalancing-volumes</a></p>
<div class="gmail-m_-4220928129470485099gmail-m_-2367652991085990358gmail-m_6576207768150789355quote">On Aug 30, 2019 20:04, Herb Burnswell <<a href="mailto:herbert.burnswell@gmail.com" target="_blank">herbert.burnswell@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail-m_-4220928129470485099gmail-m_-2367652991085990358gmail-m_6576207768150789355quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">All,<div><br></div><div>RHEL 7.5</div><div>Gluster 3.8.15</div><div>2 Nodes: serverA & serverB</div><div><br></div><div>I am not deeply knowledgeable about Gluster and it's administration but we have a 2 node cluster that's been running for about a year and a half. All has worked fine to date. Our main volume has consisted of two 60TB bricks on each of the cluster nodes. As we reached capacity on the volume we needed to expand. So, we've added four new 60TB bricks to each of the cluster nodes. The bricks are now seen, and the total size of the volume is as expected:</div><div><br></div><div># gluster vol status tank<br>Status of volume: tank<br>Gluster process TCP Port RDMA Port Online Pid<br>------------------------------------------------------------------------------<br>Brick serverA:/gluster_bricks/data1 49162 0 Y 20318<br>Brick serverB:/gluster_bricks/data1 49166 0 Y 3432 <br>Brick serverA:/gluster_bricks/data2 49163 0 Y 20323<br>Brick serverB:/gluster_bricks/data2 49167 0 Y 3435 <br>Brick serverA:/gluster_bricks/data3 49164 0 Y 4625 <br>Brick serverA:/gluster_bricks/data4 49165 0 Y 4644 <br>Brick serverA:/gluster_bricks/data5 49166 0 Y 5088 <br>Brick serverA:/gluster_bricks/data6 49167 0 Y 5128 <br>Brick serverB:/gluster_bricks/data3 49168 0 Y 22314<br>Brick serverB:/gluster_bricks/data4 49169 0 Y 22345<br>Brick serverB:/gluster_bricks/data5 49170 0 Y 22889<br>Brick serverB:/gluster_bricks/data6 49171 0 Y 22932<br>Self-heal Daemon on localhost N/A N/A Y 22981<br>Self-heal Daemon on <a href="http://serverA.example.com" target="_blank">serverA.example.com</a> N/A N/A Y 6202 <br></div><div><br></div><div>After adding the bricks we ran a rebalance from serverA as:</div><div><br></div><div># gluster volume rebalance tank start</div><div><br></div><div>The rebalance completed:</div><div><br></div><div># gluster volume rebalance tank status<br> Node Rebalanced-files size scanned failures skipped status run time in h:m:s<br> --------- ----------- ----------- ----------- ----------- ----------- ------------ --------------<br> localhost 0 0Bytes 0 0 0 completed 3:7:10<br> <a href="http://serverA.example.com" target="_blank">serverA.example.com</a> 0 0Bytes 0 0 0 completed 0:0:0<br>volume rebalance: tank: success<br></div><div><br></div><div>However, when I run a df, the two original bricks still show all of the consumed space (this is the same on both nodes):</div><div><br></div><div># df -hP<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/mapper/vg0-root 5.0G 625M 4.4G 13% /<br>devtmpfs 32G 0 32G 0% /dev<br>tmpfs 32G 0 32G 0% /dev/shm<br>tmpfs 32G 67M 32G 1% /run<br>tmpfs 32G 0 32G 0% /sys/fs/cgroup<br>/dev/mapper/vg0-usr 20G 3.6G 17G 18% /usr<br>/dev/md126 1014M 228M 787M 23% /boot<br>/dev/mapper/vg0-home 5.0G 37M 5.0G 1% /home<br>/dev/mapper/vg0-opt 5.0G 37M 5.0G 1% /opt<br>/dev/mapper/vg0-tmp 5.0G 33M 5.0G 1% /tmp<br>/dev/mapper/vg0-var 20G 2.6G 18G 13% /var<br>/dev/mapper/gluster_vg-gluster_lv1_data 60T 59T 1.1T 99% /gluster_bricks/data1<br>/dev/mapper/gluster_vg-gluster_lv2_data 60T 58T 1.3T 98% /gluster_bricks/data2<br>/dev/mapper/gluster_vg-gluster_lv3_data 60T 451M 60T 1% /gluster_bricks/data3<br>/dev/mapper/gluster_vg-gluster_lv4_data 60T 451M 60T 1% /gluster_bricks/data4<br>/dev/mapper/gluster_vg-gluster_lv5_data 60T 451M 60T 1% /gluster_bricks/data5<br>/dev/mapper/gluster_vg-gluster_lv6_data 60T 451M 60T 1% /gluster_bricks/data6<br>localhost:/tank 355T 116T 239T 33% /mnt/tank<br></div><div><br></div><div>We were thinking that the used space would be distributed across the now 6 bricks after rebalance. Is that not what a rebalance does? Is this expected behavior?</div><div><br></div><div>Can anyone provide some guidance as to what the behavior here and if there is anything that we need to do at this point?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>HB</div></div>
</blockquote></div></blockquote></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div></div>
</blockquote></div>