# Is it possible to assign shard according to disk space?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-assign-shard-according-to-disk-space/263720>\
**Category:** Elasticsearch\
**Created:** [February 9, 2021, 11:18am UTC](https://discuss.elastic.co/t/is-it-possible-to-assign-shard-according-to-disk-space/263720 "2021-02-09T11:18:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RusseL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/russel/32/77328_2.png) [@RusseL](https://discuss.elastic.co/u/RusseL)\
**Post date:** [February 9, 2021, 11:18am UTC](https://discuss.elastic.co/t/is-it-possible-to-assign-shard-according-to-disk-space/263720/1 "2021-02-09T11:18:29Z")

</div>

I have a cluster of 3 masters and 13 data nodes.

The disk capacity of data-12 and data-13 nodes is 1.5TB, but the disk capacity of other data nodes is 5TB.

As shown in the screenshot, data-12 and data-13 disk space are not the same as other nodes. therefore it has fewer parts than other nodes.

Can I assign shard according to disk capacity? I mean i want to do same disk space for all nodes.

 ![disk_alani](https://us1.discourse-cdn.com/elastic/original/3X/c/1/c1e997ad91faa660be9635b3cc05b7905ca6de06.png)

---

<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:** [March 9, 2021, 11:19am UTC](https://discuss.elastic.co/t/is-it-possible-to-assign-shard-according-to-disk-space/263720/2 "2021-03-09T11:19:02Z")

</div>

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