# org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed

**URL:** <https://discuss.elastic.co/t/org-elasticsearch-action-search-searchphaseexecutionexception-all-shards-failed/197178>\
**Category:** Elasticsearch\
**Created:** [August 28, 2019, 5:29pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-search-searchphaseexecutionexception-all-shards-failed/197178 "2019-08-28T17:29:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivekj\_11](https://avatars.discourse-cdn.com/v4/letter/v/d78d45/32.png) [@vivekj\_11](https://discuss.elastic.co/u/vivekj_11)\
**Post date:** [August 28, 2019, 5:29pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-search-searchphaseexecutionexception-all-shards-failed/197178/1 "2019-08-28T17:29:35Z")

</div>

I tried to create a basic setup with one Elasticsearch pod.  
The jvm\_memorry for this pod is 8GB.  
index.number\_of\_shards: 3

I didn't notice the pod for some time and today I found that the above-mentioned error. it says that all my shards are failed.  
I checked the data size and it grows to 37GB.

Now the entire setup is down and I don't want to lose this data.  
The solution I think at this moment is to remove the backend volume and attach a new one and start the elastic pod. once everything is in place then somehow reindex the old data with new volume.  
I don't know how to do it and if it is really a viable solution.

I am quite new to Elastic search and looking for help here.

---

<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:** [September 25, 2019, 5:40pm UTC](https://discuss.elastic.co/t/org-elasticsearch-action-search-searchphaseexecutionexception-all-shards-failed/197178/2 "2019-09-25T17:40:07Z")

</div>

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