Rebalancing a cluster?

Ask Bjørn Hansen ask at develooper.com
Fri Dec 14 23:53:57 UTC 2007


On Dec 14, 2007, at 13:56, Clinton Goudie-Nice wrote:

> For example, if I add a new node, lots of files will begin going  
> there as they're added, but short of failing a node at a time and  
> having mogile rebuild, is there any way to get the entire cluster to  
> rebalance it's files so it's more evenly spread?

In small or new clusters I'd mark a few devices on "old" hosts to  
drain for a few minutes / hours / whatever to put some data on the new  
host / devices.  In more mature setups it doesn't matter so much; the  
new host/devices will get plenty data soon enough.


  - ask

-- 
http://develooper.com/ - http://askask.com/




More information about the mogilefs mailing list