Ken Schweigert
2015-Apr-13 21:19 UTC
[Gluster-users] How Can I Find Remaining Time for a Rebalance?
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 -- Have a nice day ... unless you've made other plans. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150413/25d96232/attachment.html>
Joe Julian
2015-Apr-13 22:02 UTC
[Gluster-users] How Can I Find Remaining Time for a Rebalance?
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 >