# Failed to merge - There is not enough space on the disk

**URL:** https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384
**Category:** Elasticsearch
**Created:** [June 29, 2014, 10:37am UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384 "2014-06-29T10:37:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)
#### Post date: [June 29, 2014, 10:37am UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/1 "2014-06-29T10:37:20Z")

</div>

Hi,

I get an error -  
failed to merge java.io.IOException: There is not enough space on the disk.  
The disk was full, cleaned it now.  
What is the best way not to loose what I already indexed? Or does this  
error mean that the index is lost and I need to delete and index again?

Thanks,  
Ophir

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [June 29, 2014, 11:51am UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/2 "2014-06-29T11:51:45Z")

</div>

This error means indexing has stopped at one point, up to that point  
everything is preserved.

See

> **[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.

for how to avoid this from now on

--

Itamar Syn-Hershko  
[http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
Freelance Developer & Consultant  
Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)

On Sun, Jun 29, 2014 at 1:37 PM, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com)  
wrote:

> Hi,
> 
> I get an error -  
> failed to merge java.io.IOException: There is not enough space on the disk.  
> The disk was full, cleaned it now.  
> What is the best way not to loose what I already indexed? Or does this  
> error mean that the index is lost and I need to delete and index again?
> 
> Thanks,  
> Ophir
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHTr4Zt2aTcYVaioqELxf1h7SQ%3Da0qyiSv\_Z15wokD12vUo%3DpA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHTr4Zt2aTcYVaioqELxf1h7SQ%3Da0qyiSv_Z15wokD12vUo%3DpA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)
#### Post date: [June 29, 2014, 2:25pm UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/3 "2014-06-29T14:25:29Z")

</div>

Hi,

I restarted elasticesaerch node and the ES console screen shows no error,  
but I can't connect to the node (with REST I get "503 Service Unavailable").  
Is the index corrupt?

Thanks!

On Sunday, June 29, 2014 2:51:56 PM UTC+3, Itamar Syn-Hershko wrote:

> This error means indexing has stopped at one point, up to that point  
> everything is preserved.
> 
> See  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-allocation.html#disk)  
> for how to avoid this from now on
> 
> --
> 
> Itamar Syn-Hershko  
> [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> Freelance Developer & Consultant  
> Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)
> 
> On Sun, Jun 29, 2014 at 1:37 PM, Ophir Michaeli \<[ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi,
> > 
> > I get an error -  
> > failed to merge java.io.IOException: There is not enough space on the  
> > disk.  
> > The disk was full, cleaned it now.  
> > What is the best way not to loose what I already indexed? Or does this  
> > error mean that the index is lost and I need to delete and index again?
> > 
> > Thanks,  
> > Ophir
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [June 29, 2014, 2:27pm UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/4 "2014-06-29T14:27:15Z")

</div>

If it was corrupted you would have seen other errors, not 503. Check your  
network settings.

--

Itamar Syn-Hershko  
[http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
Freelance Developer & Consultant  
Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)

On Sun, Jun 29, 2014 at 5:25 PM, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com)  
wrote:

> Hi,
> 
> I restarted elasticesaerch node and the ES console screen shows no error,  
> but I can't connect to the node (with REST I get "503 Service Unavailable  
> ").  
> Is the index corrupt?
> 
> Thanks!
> 
> On Sunday, June 29, 2014 2:51:56 PM UTC+3, Itamar Syn-Hershko wrote:
> 
> > This error means indexing has stopped at one point, up to that point  
> > everything is preserved.
> > 
> > See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > reference/current/index-modules-allocation.html#disk for how to avoid  
> > this from now on
> > 
> > --
> > 
> > Itamar Syn-Hershko  
> > [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> > Freelance Developer & Consultant  
> > Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)
> > 
> > On Sun, Jun 29, 2014 at 1:37 PM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > wrote:
> > 
> > > Hi,
> > > 
> > > I get an error -  
> > > failed to merge java.io.IOException: There is not enough space on the  
> > > disk.  
> > > The disk was full, cleaned it now.  
> > > What is the best way not to loose what I already indexed? Or does this  
> > > error mean that the index is lost and I need to delete and index again?
> > > 
> > > Thanks,  
> > > Ophir
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > 
> > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%  
> > > [40googlegroups.com](http://40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .  
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZtXsZPp6khHVhBmvKFNEqH8PMLmnRGGZR0A3Acg\_3Z4vg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZtXsZPp6khHVhBmvKFNEqH8PMLmnRGGZR0A3Acg_3Z4vg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)
#### Post date: [June 29, 2014, 3:24pm UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/5 "2014-06-29T15:24:27Z")

</div>

It looks like it takes some time for the node to get back to normal, it  
works now. thanks

On Sunday, June 29, 2014 5:27:21 PM UTC+3, Itamar Syn-Hershko wrote:

> If it was corrupted you would have seen other errors, not 503. Check your  
> network settings.
> 
> --
> 
> Itamar Syn-Hershko  
> [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> Freelance Developer & Consultant  
> Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)
> 
> On Sun, Jun 29, 2014 at 5:25 PM, Ophir Michaeli \<[ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi,
> > 
> > I restarted elasticesaerch node and the ES console screen shows no error,  
> > but I can't connect to the node (with REST I get "503 Service Unavailable  
> > ").  
> > Is the index corrupt?
> > 
> > Thanks!
> > 
> > On Sunday, June 29, 2014 2:51:56 PM UTC+3, Itamar Syn-Hershko wrote:
> > 
> > > This error means indexing has stopped at one point, up to that point  
> > > everything is preserved.
> > > 
> > > See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/)  
> > > reference/current/index-modules-allocation.html#disk for how to avoid  
> > > this from now on
> > > 
> > > --
> > > 
> > > Itamar Syn-Hershko  
> > > [http://code972.com](http://code972.com) | @synhershko [https://twitter.com/synhershko](https://twitter.com/synhershko)  
> > > Freelance Developer & Consultant  
> > > Author of RavenDB in Action [http://manning.com/synhershko/](http://manning.com/synhershko/)
> > > 
> > > On Sun, Jun 29, 2014 at 1:37 PM, Ophir Michaeli [ophirm...@gmail.com](mailto:ophirm...@gmail.com)  
> > > wrote:
> > > 
> > > > Hi,
> > > > 
> > > > I get an error -  
> > > > failed to merge java.io.IOException: There is not enough space on the  
> > > > disk.  
> > > > The disk was full, cleaned it now.  
> > > > What is the best way not to loose what I already indexed? Or does this  
> > > > error mean that the index is lost and I need to delete and index again?
> > > > 
> > > > Thanks,  
> > > > Ophir
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > 
> > > > To view this discussion on the web visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > > > msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%  
> > > > [40googlegroups.com](http://40googlegroups.com)  
> > > > [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > > .  
> > > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com)  
> > > [https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/63357c69-0c1e-45f8-8b0f-962dc805bc50%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/950049b0-f2f2-4648-b09a-002db1b5ab77%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/950049b0-f2f2-4648-b09a-002db1b5ab77%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Jorge\_Luis\_Betancour](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@Jorge\_Luis\_Betancour](https://discuss.elastic.co/u/Jorge_Luis_Betancour)
#### Post date: [June 30, 2014, 12:48am UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/6 "2014-06-30T00:48:11Z")

</div>

This usually means that the merge operation failed correct? With ES we must apply kind of the same rule as Solr for merge? 2x or 3x (worst case scenario ever) index size as available space to avoid this?

Greetings

On Jun 29, 2014, at 6:37 AM, Ophir Michaeli [ophirmichaeli@gmail.com](mailto:ophirmichaeli@gmail.com) wrote:

> Hi,
> 
> I get an error -  
> failed to merge java.io.IOException: There is not enough space on the disk.  
> The disk was full, cleaned it now.  
> What is the best way not to loose what I already indexed? Or does this error mean that the index is lost and I need to delete and index again?
> 
> Thanks,  
> Ophir
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0b1ae217-aeb4-465f-9468-d2b617a47679%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio de 2014. Ver www.uci.cu

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/F6A4AAED-BB16-4B7A-95DA-06EDD3ADDBF7%40uci.cu](https://groups.google.com/d/msgid/elasticsearch/F6A4AAED-BB16-4B7A-95DA-06EDD3ADDBF7%40uci.cu).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:19am UTC](https://discuss.elastic.co/t/failed-to-merge-there-is-not-enough-space-on-the-disk/18384/7 "2017-07-06T01:19:06Z")

</div>


