# How to balance data between nodes by disk disk usage %

**URL:** <https://discuss.elastic.co/t/how-to-balance-data-between-nodes-by-disk-disk-usage/68618>\
**Category:** Elasticsearch\
**Created:** [December 10, 2016, 10:14am UTC](https://discuss.elastic.co/t/how-to-balance-data-between-nodes-by-disk-disk-usage/68618 "2016-12-10T10:14:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![WangXiangUSTC](https://avatars.discourse-cdn.com/v4/letter/w/8dc957/32.png) [@WangXiangUSTC](https://discuss.elastic.co/u/WangXiangUSTC)\
**Post date:** [December 10, 2016, 10:14am UTC](https://discuss.elastic.co/t/how-to-balance-data-between-nodes-by-disk-disk-usage/68618/1 "2016-12-10T10:14:43Z")

</div>

I have a elasticsearch cluster with four nodes, and the disk usage is not balanced, just like below:

| free | total | disk usage %

* * *

A | 3.2T | 7.5T | 57%  
B | 1.6T | 7.5T | 78%  
C | 3.1T | 9.0T | 65%  
D | 4.6T | 9.0T | 48%

we can see the cluster's data is not balance. I want to balance the data by disk, for example, every node's disk usage is about 65%. I have already look the Disk-based Shard : [https://www.elastic.co/guide/en/elasticsearch/reference/2.3/disk-allocator.html](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/disk-allocator.html)  
it can only balance the new shard, but I want to relocate the shard now.  
So, how to do?  
I use elasticsearch 2.3.4

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 7, 2017, 10:15am UTC](https://discuss.elastic.co/t/how-to-balance-data-between-nodes-by-disk-disk-usage/68618/2 "2017-01-07T10:15:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
