# Shard Allocation

**URL:** <https://discuss.elastic.co/t/shard-allocation/6268>\
**Category:** Elasticsearch\
**Created:** [January 3, 2012, 5:37am UTC](https://discuss.elastic.co/t/shard-allocation/6268 "2012-01-03T05:37:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BARNEY](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@BARNEY](https://discuss.elastic.co/u/BARNEY)\
**Post date:** [January 3, 2012, 5:37am UTC](https://discuss.elastic.co/t/shard-allocation/6268/1 "2012-01-03T05:37:04Z")

</div>

Hi,  
Assume I have created index with 3 shards and 1 replica on 3 nodes.i.e  
each node having 1 primary 1 replica shard with full of data.Now If I  
make down any one of the node,each one of Remaining nodes have 3  
shards(primary & replica).My doubt is....Previously we allocate only 2  
shards on a node with full of data but what is the meaning of  
allocating 3rd shard on the same node.Isnt the disk size full?

Thanks,  
Kalyan.

---

<div class="post-metadata">

**Author:** ![drewr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewr/32/7803_2.png) [@drewr](https://discuss.elastic.co/u/drewr)\
**Post date:** [January 3, 2012, 8:30pm UTC](https://discuss.elastic.co/t/shard-allocation/6268/2 "2012-01-03T20:30:43Z")

</div>

BARNEY wrote:

> Assume I have created index with 3 shards and 1 replica on 3  
> nodes.i.e each node having 1 primary 1 replica shard with full of  
> data.Now If I make down any one of the node,each one of Remaining  
> nodes have 3 shards(primary & replica).My doubt is....Previously we  
> allocate only 2 shards on a node with full of data but what is the  
> meaning of allocating 3rd shard on the same node.Isnt the disk size  
> full?

You would need to ensure each node's capacity is large enough to  
handle such a scenario.

-Drew

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [January 3, 2012, 9:27pm UTC](https://discuss.elastic.co/t/shard-allocation/6268/3 "2012-01-03T21:27:52Z")

</div>

Watch this intro:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

> Isnt the disk size full?

Not sure if you understand the index/shard concept (read about it).  
A shard means: your index is splitted into several parts.  
Disc space isn't normally the problem when only one index is involved.

Peter.

---

<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:** [July 6, 2017, 3:43am UTC](https://discuss.elastic.co/t/shard-allocation/6268/4 "2017-07-06T03:43:55Z")

</div>


