# Master only node Volume size

**URL:** <https://discuss.elastic.co/t/master-only-node-volume-size/355345>\
**Category:** Elasticsearch\
**Created:** [March 14, 2024, 12:20am UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345 "2024-03-14T00:20:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pop2413](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pop2413/32/126007_2.png) [@pop2413](https://discuss.elastic.co/u/pop2413)\
**Post date:** [March 14, 2024, 12:20am UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345/1 "2024-03-14T00:20:00Z")

</div>

Hello,

I try to configure ES cluster using 4 nodes  
(1 master only node, 3 data only nodes)

but, I'm not sure how much to set the volume size for the master node.  
(The volume is mounted on /usr/share/elasticsearch/data directory)

The master node is configured with 2GB of memory and a 1GB heap.  
Currently, the data size is around 3GB, with an expected expansion up to 30GB in the future

Given this situation, could you please advise on the optimal volume size to set for the master node?

If it's difficult to provide specific configuration values, could you please provide guidance or rules for determining the storage size of a master-only node?

Thank you.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 14, 2024, 9:02am UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345/2 "2024-03-14T09:02:29Z")

</div>

> [@pop2413](#):
>
> I try to configure ES cluster using 4 nodes  
> (1 master only node, 3 data only nodes)

This is bad as it does not give you any resilience or high availability even though you have enough nodes to achieve this. I would recommend making all the data nodes master eligible and drop the dedicated master node. Just because you can create clusters with different node profiles does not mean that is the right thing to do for smaller clusters.

---

<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:** [March 14, 2024, 9:23am UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345/3 "2024-03-14T09:23:47Z")

</div>

👍 to what @Christian_Dahlqvist says, please read [the docs on cluster design](https://www.elastic.co/guide/en/elasticsearch/reference/current/high-availability-cluster-design.html) carefully.

However for the record if you have a dedicated master it probably only needs a few GiB of disk space.

---

<div class="post-metadata">

**Author:** ![pop2413](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pop2413/32/126007_2.png) [@pop2413](https://discuss.elastic.co/u/pop2413)\
**Post date:** [March 14, 2024, 11:48pm UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345/4 "2024-03-14T23:48:02Z")

</div>

Thanks for the advice  
I will follow your advice and make all data nodes master eligible nodes

---

<div class="post-metadata">

**Author:** ![pop2413](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pop2413/32/126007_2.png) [@pop2413](https://discuss.elastic.co/u/pop2413)\
**Post date:** [March 14, 2024, 11:49pm UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345/5 "2024-03-14T23:49:02Z")

</div>

I confirmed that master node works well even with 1GB.  
Thanks for the advice.

---

<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:** [April 11, 2024, 11:49pm UTC](https://discuss.elastic.co/t/master-only-node-volume-size/355345/6 "2024-04-11T23:49:15Z")

</div>

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