# Hard disk crashes in elastic search

**URL:** https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137
**Category:** Elasticsearch
**Created:** [August 12, 2011, 12:15pm UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137 "2011-08-12T12:15:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![soumya](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@soumya](https://discuss.elastic.co/u/soumya)
#### Post date: [August 12, 2011, 12:15pm UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137/1 "2011-08-12T12:15:58Z")

</div>

In elastic search if a node crashes then data can be recovered from it  
replicas.  
But what happens if a single node's hard disk crashes and data is  
lost.  
Is there any mechanism to recover data then ?

Thanks in advance for any help

Soumya

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [August 13, 2011, 4:47pm UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137/2 "2011-08-13T16:47:02Z")

</div>

You mean you run a single node cluster, and the data is lost? No, in this  
case, there is no way to recover the data.

On Fri, Aug 12, 2011 at 3:15 PM, Soumya MR [SoumyaMR@algotree.com](mailto:SoumyaMR@algotree.com) wrote:

> In Elasticsearch if a node crashes then data can be recovered from it  
> replicas.  
> But what happens if a single node's hard disk crashes and data is  
> lost.  
> Is there any mechanism to recover data then ?
> 
> Thanks in advance for any help
> 
> Soumya

---

<div class="post-metadata">

### Author: ![James\_Cook](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@James\_Cook](https://discuss.elastic.co/u/James_Cook)
#### Post date: [August 13, 2011, 8:04pm UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137/3 "2011-08-13T20:04:38Z")

</div>

Except with a gateway writing to another server.

---

<div class="post-metadata">

### Author: ![CHI\_WAI\_HO](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@CHI\_WAI\_HO](https://discuss.elastic.co/u/CHI_WAI_HO)
#### Post date: [August 14, 2011, 1:24am UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137/4 "2011-08-14T01:24:13Z")

</div>

How about if there is data file corruption in a cluster with  
replicated nodes, will the error be replicated to other healthy node?

Thanks a lot.

On 8月14日, 上午4時04分, James Cook [jc...@tracermedia.com](mailto:jc...@tracermedia.com) wrote:

> Except with a gateway writing to another server.

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [August 14, 2011, 10:52pm UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137/5 "2011-08-14T22:52:33Z")

</div>

Because elasticsearch does push replication, other shards index the data as  
well, so a corruption will not propagate to other nodes.

On Sun, Aug 14, 2011 at 4:24 AM, CHI WAI HO [zeroho@gmail.com](mailto:zeroho@gmail.com) wrote:

> How about if there is data file corruption in a cluster with  
> replicated nodes, will the error be replicated to other healthy node?
> 
> Thanks a lot.
> 
> On 8月14日, 上午4時04分, James Cook [jc...@tracermedia.com](mailto:jc...@tracermedia.com) wrote:
> 
> > Except with a gateway writing to another server.

---

<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:57am UTC](https://discuss.elastic.co/t/hard-disk-crashes-in-elastic-search/5137/6 "2017-07-06T03:57:01Z")

</div>


