[Gluster-users] How Can I Find Remaining Time for a Rebalance?

Joe Julian joe at julianfamily.org
Mon Apr 13 22:02:43 UTC 2015


Just as how you can't ask xfs or ext4 how many files it has, you can't 
ask Gluster the same thing. It doesn't know. It crawls the tree, looks 
at the hash of the filename, and determines if it should reside on a 
different brick.

To guess how much remains, look at how many are complete out of 25 million.

On 04/13/2015 02:19 PM, Ken Schweigert wrote:
> I've got a 4-node distributed-replicated cluster running 3.5.2.  I 
> just added 4TB (2TB to the distribute pair and 2TB to the replicate 
> pair) and then started a rebalance as I believe the rebalance needed 
> to be initiated for the extra space to be presented to the entire 
> volume (correct me if I'm wrong).
>
> The rebalance has been running for about a week (it contains 12TB and 
> about 25 million files) and I am unable to tell how much longer the 
> rebalance will take.  The output shows how long it's been running, but 
> not how much time remains.
>
> Is there another command I can run to show how much remains?  If not, 
> is there any way to calculate how much time it has left, even if it's 
> only a rough estimate?
>
> Thanks!
> -ken
>



More information about the Gluster-users mailing list