# Dis space issue

**URL:** <https://discuss.elastic.co/t/dis-space-issue/4835>\
**Category:** Elasticsearch\
**Created:** [July 12, 2011, 1:20am UTC](https://discuss.elastic.co/t/dis-space-issue/4835 "2011-07-12T01:20:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anurag\_Phadke](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Anurag\_Phadke](https://discuss.elastic.co/u/Anurag_Phadke)\
**Post date:** [July 12, 2011, 1:20am UTC](https://discuss.elastic.co/t/dis-space-issue/4835/1 "2011-07-12T01:20:00Z")

</div>

we have 5 machines, each with 500gb of space and are using a new index  
for each day, what happens if a given day has 10x the normal volume of  
expected data and fills up all the disk on say machine 2? Does ES  
automatically balance the size of indexes on each machine thereby  
distributing the space accordingly or there might be some imbalance?

-anurag

---

<div class="post-metadata">

**Author:** ![ppearcy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppearcy/32/980_2.png) [@ppearcy](https://discuss.elastic.co/u/ppearcy)\
**Post date:** [July 12, 2011, 10:33pm UTC](https://discuss.elastic.co/t/dis-space-issue/4835/2 "2011-07-12T22:33:16Z")

</div>

Just wanted to note that I have the same pain points. In order to  
rebalance, I am currently isolating the server using the most disk,  
setting replicas=0 for a few of the big indices and small indices that  
it has. Then I reset replicas to 1... Pretty much just rolling the  
dice and crossing my fingers. A shard distribution based on shard size  
on disk would be awesome.

Thanks,  
Paul

On Jul 11, 7:20 pm, Anurag [anurag.pha...@gmail.com](mailto:anurag.pha...@gmail.com) wrote:

> we have 5 machines, each with 500gb of space and are using a new index  
> for each day, what happens if a given day has 10x the normal volume of  
> expected data and fills up all the disk on say machine 2? Does ES  
> automatically balance the size of indexes on each machine thereby  
> distributing the space accordingly or there might be some imbalance?
> 
> -anurag

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [July 13, 2011, 5:32pm UTC](https://discuss.elastic.co/t/dis-space-issue/4835/3 "2011-07-13T17:32:46Z")

</div>

Yes, agreed, a disk based rebalancing strategy is needed (though tricky to get right, you want to move things around when they are really needed).

On Wednesday, July 13, 2011 at 1:33 AM, Paul wrote:

> Just wanted to note that I have the same pain points. In order to  
> rebalance, I am currently isolating the server using the most disk,  
> setting replicas=0 for a few of the big indices and small indices that  
> it has. Then I reset replicas to 1... Pretty much just rolling the  
> dice and crossing my fingers. A shard distribution based on shard size  
> on disk would be awesome.
> 
> Thanks,  
> Paul
> 
> On Jul 11, 7:20 pm, Anurag \<[anurag.pha...@gmail.com](mailto:anurag.pha...@gmail.com) ([http://gmail.com](http://gmail.com))\> wrote:
> 
> > we have 5 machines, each with 500gb of space and are using a new index  
> > for each day, what happens if a given day has 10x the normal volume of  
> > expected data and fills up all the disk on say machine 2? Does ES  
> > automatically balance the size of indexes on each machine thereby  
> > distributing the space accordingly or there might be some imbalance?
> > 
> > -anurag

---

<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:** [July 6, 2017, 4:00am UTC](https://discuss.elastic.co/t/dis-space-issue/4835/4 "2017-07-06T04:00:44Z")

</div>

Closed on July 6, 2017, 4:00am UTC


