# Elasticsearch restart leave unassigned shards

**URL:** <https://discuss.elastic.co/t/elasticsearch-restart-leave-unassigned-shards/17093>\
**Category:** Elasticsearch\
**Created:** [April 18, 2014, 10:23pm UTC](https://discuss.elastic.co/t/elasticsearch-restart-leave-unassigned-shards/17093 "2014-04-18T22:23:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sulemanmubarik](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@sulemanmubarik](https://discuss.elastic.co/u/sulemanmubarik)\
**Post date:** [April 18, 2014, 10:23pm UTC](https://discuss.elastic.co/t/elasticsearch-restart-leave-unassigned-shards/17093/1 "2014-04-18T22:23:38Z")

</div>

Hi  
we have 5 data nodes and 3 master in cluster and we are on ES 1.0  
2 week ago when we restarted the it leave 1 shard unassigned for some indices.  
We check the Lucien index and they are fine. We create a test index and copy the Lucien index to that and it came back.  
But the we don’t know what is the problem why restart leave unassigned shard. There is nothing help full in logs  
The segments.gen file are missing for those shards. And we have 2 data directories.  
Andy hell will be appreciated  
Thanks

---

<div class="post-metadata">

**Author:** ![sulemanmubarik](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@sulemanmubarik](https://discuss.elastic.co/u/sulemanmubarik)\
**Post date:** [April 21, 2014, 5:19pm UTC](https://discuss.elastic.co/t/elasticsearch-restart-leave-unassigned-shards/17093/2 "2014-04-21T17:19:08Z")

</div>



---

<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, 1:34am UTC](https://discuss.elastic.co/t/elasticsearch-restart-leave-unassigned-shards/17093/3 "2017-07-06T01:34:30Z")

</div>


