# Index Storage Size for a Cluster

**URL:** <https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246>\
**Category:** Elasticsearch\
**Created:** [March 16, 2018, 9:32am UTC](https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246 "2018-03-16T09:32:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [March 16, 2018, 9:32am UTC](https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246/1 "2018-03-16T09:32:57Z")

</div>

I have a cluster of 3 nodes with 3 primary shards and 2 replica sets. If Node 1 goes down, will the cluster attempt to create whatever shards existed on Node 1 on the remaining nodes?

I am sizing for the index storage requirements of the cluster and want to prevent the scenario of lack of storage space in case a node goes down.

---

<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 16, 2018, 9:36am UTC](https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246/2 "2018-03-16T09:36:49Z")

</div>

If you have 2 replicas configured, all shards will already exist on all nodes. Elasticsearch will not allocate two copies of the same shard to any node, so if one of your nodes fail, your index will go yellow as the replica can not be allocated.

---

<div class="post-metadata">

**Author:** ![Ong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ong/32/40766_2.png) [@Ong](https://discuss.elastic.co/u/Ong)\
**Post date:** [March 16, 2018, 9:42am UTC](https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246/3 "2018-03-16T09:42:31Z")

</div>

Thanks for the reply. How about the case where there is only 1 replica set or where each node does not have the full data set?

Will the cluster attempt to create the "lost shards" among the remaining running nodes?

---

<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 16, 2018, 9:52am UTC](https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246/4 "2018-03-16T09:52:48Z")

</div>

Yes, in that case new replica shards will be allocated in order to maintain the replication factor, which will mean increased disk usage on remaining nodes.

---

<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 13, 2018, 9:52am UTC](https://discuss.elastic.co/t/index-storage-size-for-a-cluster/124246/5 "2018-04-13T09:52:58Z")

</div>

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