# How use disk-aware allocator setting?

**URL:** <https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190>\
**Category:** Elasticsearch\
**Created:** [January 15, 2023, 6:04am UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190 "2023-01-15T06:04:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichiCoder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richicoder/32/103790_2.png) [@RichiCoder](https://discuss.elastic.co/u/RichiCoder)\
**Post date:** [January 15, 2023, 6:04am UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190/1 "2023-01-15T06:04:27Z")

</div>

Howdy! I'd love to use the recently added support for disk usage in the desired balance allocator as I just upgraded to 8.6 in Elastic Cloud.

However, it looks like by default `cluster.routing.allocation.balance.disk_usage ` is set to a neutral setting. I was wondering if there was recommendation for raising this and what value I should set it to (in yaml)? Due to differing levels of traffic to different indices, our nodes are very disk-space unbalanced and I'd like to raise it's priority when rebalancing.

Edit: It looks like elastic cloud does not allow me to touch this setting, so this question may be moot.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 15, 2023, 7:52am UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190/2 "2023-01-15T07:52:16Z")

</div>

The default is supposed to be good, but this feature is new so may need refinement, especially in more unusual cases. Could you send me your deployment ID and we'll see if we can learn anything from your cluster? A DM is fine if you don't want to share publicly.

---

<div class="post-metadata">

**Author:** ![RichiCoder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richicoder/32/103790_2.png) [@RichiCoder](https://discuss.elastic.co/u/RichiCoder)\
**Post date:** [January 15, 2023, 6:49pm UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190/3 "2023-01-15T18:49:02Z")

</div>

I manually reallocated some larger shards and things are more balanced again, it may have just been that the allocator didn't see reason to shift things around.

I'll keep an eye on it moving forward to see if it gets uneven again, and DM-ing deployment ID in case there's any interesting data there.

Edit: I think you may have forum DM's turned off 😅

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 15, 2023, 7:35pm UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190/4 "2023-01-15T19:35:56Z")

</div>

> [@RichiCoder](#):
>
> Edit: I think you may have forum DM's turned off

Hm I didn't think so, at least I've not changed anything and don't see anything in my preferences about that. @warkolm could you check for me?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 17, 2023, 12:26am UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190/5 "2023-01-17T00:26:06Z")

</div>

Try now @RichiCoder.

---

<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:** [February 14, 2023, 12:26am UTC](https://discuss.elastic.co/t/how-use-disk-aware-allocator-setting/323190/6 "2023-02-14T00:26:37Z")

</div>

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