[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gluster-users
Subject:    Re: [Gluster-users] gluster volume rebalance making things more	unbalanced
From:       Joe Julian <joe () julianfamily ! org>
Date:       2020-08-27 14:53:37
Message-ID: 36D22279-C136-404B-94D0-0F5ACC10FD87 () julianfamily ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


When a file should be moved based on its dht hash mapping but the target that it \
should be moved to has less free space than the origin, the rebalance command does \
not move the file and leaves the dht pointer in place. When you use "force", you \
override that behavior and always move each file regardless of free space.

In theory, eventually when the rebalance is finished you should end up with \
utilization mostly balanced but as the rebalance is processing you may end up in the \
state you show.

On August 27, 2020 7:32:16 AM PDT, Pat Haley <phaley@mit.edu> wrote:
> 
> Hi,
> 
> We have distributed gluster volume spread across 4 bricks. Yesterday I 
> noticed that the remaining space was uneven (about 2.7TB, 1.7TB, 1TB, 
> 1TB) so I issued the following rebalance command
> 
> * |gluster volume rebalance <VOLNAME> start force|
> 
> Today I see that instead, things have gotten even more unbalanced (64G 
> 853G 6.2T 20K).   I'm killing the rebalance now.   What should I do to 
> make sure that I get a successful rebalance?
> 
> Thanks
> 
> Pat||
> 
> -- 
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Pat Haley                          Email:  phaley@mit.edu
> Center for Ocean Engineering       Phone:  (617) 253-6824
> Dept. of Mechanical Engineering    Fax:    (617) 253-8125
> MIT, Room 5-213                    http://web.mit.edu/phaley/www/
> 77 Massachusetts Avenue
> Cambridge, MA  02139-4301

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


[Attachment #5 (text/html)]

<html><head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>When a file should be moved based on its dht hash mapping but the target that \
it should be moved to has less free space than the origin, the rebalance command does \
not move the file and leaves the dht pointer in place. When you use "force", you \
override that behavior and always move each file regardless of free space.<br><br>In \
theory, eventually when the rebalance is finished you should end up with utilization \
mostly balanced but as the rebalance is processing you may end up in the state you \
show.<br><br><div class="gmail_quote">On August 27, 2020 7:32:16 AM PDT, Pat Haley \
&lt;phaley@mit.edu&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt \
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

    <p><br>
    </p>
    <p>Hi,</p>
    <p>We have distributed gluster volume spread across 4 bricks.&nbsp;
      Yesterday I noticed that the remaining space was uneven (about
      2.7TB, 1.7TB, 1TB, 1TB) so I issued the following rebalance
      command</p>
    <ul>
      <li><code>gluster volume rebalance &lt;VOLNAME&gt; start force</code></li>
    </ul>
    <p>Today I see that instead, things have gotten even more unbalanced
      (64G 853G 6.2T 20K).&nbsp; I'm killing the rebalance now.&nbsp; What should
      I do to make sure that I get a successful rebalance?</p>
    <p>Thanks</p>
    <p>Pat<code></code></p>
    <pre class="moz-signature" cols="72">-- 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley                          Email:  <a class="moz-txt-link-abbreviated" \
href="mailto:phaley@mit.edu">phaley@mit.edu</a> Center for Ocean Engineering       \
Phone:  (617) 253-6824 Dept. of Mechanical Engineering    Fax:    (617) 253-8125
MIT, Room 5-213                    <a class="moz-txt-link-freetext" \
href="http://web.mit.edu/phaley/www/">http://web.mit.edu/phaley/www/</a> 77 \
Massachusetts Avenue Cambridge, MA  02139-4301
</pre>
  

</blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please \
excuse my brevity.</body></html>



________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic