# ILM policy behaviour with disk-based shard allocation settings

**URL:** <https://discuss.elastic.co/t/ilm-policy-behaviour-with-disk-based-shard-allocation-settings/254766>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [November 9, 2020, 2:21pm UTC](https://discuss.elastic.co/t/ilm-policy-behaviour-with-disk-based-shard-allocation-settings/254766 "2020-11-09T14:21:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarasovych](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@Tarasovych](https://discuss.elastic.co/u/Tarasovych)\
**Post date:** [November 9, 2020, 2:21pm UTC](https://discuss.elastic.co/t/ilm-policy-behaviour-with-disk-based-shard-allocation-settings/254766/1 "2020-11-09T14:21:23Z")

</div>

Hi!

I have a cluster with two host data nodes, one warm data node and one cold data node. I have a policy which moves indices from hot to warm, when index grows up to 1gb. I'd like to know, what will happen if warm data node hits `cluster.routing.allocation.disk.watermark.high` threshold. Will indices (which should be moved from hot to warm) stay on hot nodes?

Thank you in advance!

---

<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:** [November 9, 2020, 10:14pm UTC](https://discuss.elastic.co/t/ilm-policy-behaviour-with-disk-based-shard-allocation-settings/254766/2 "2020-11-09T22:14:26Z")

</div>

Welcome to our community! 😃

1GB is very small for an index. Unless you have low data volumes and retention rates, you should increase that to at least 30+GB.

But yes, if it hits the high watermark it will not be able to move the index.

---

<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:** [December 7, 2020, 10:14pm UTC](https://discuss.elastic.co/t/ilm-policy-behaviour-with-disk-based-shard-allocation-settings/254766/3 "2020-12-07T22:14:31Z")

</div>

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