# Failed to perform snapshot (index files)\]; nested: FileNotFoundException

**URL:** https://discuss.elastic.co/t/failed-to-perform-snapshot-index-files-nested-filenotfoundexception/19202
**Category:** Elasticsearch
**Created:** [August 11, 2014, 5:40pm UTC](https://discuss.elastic.co/t/failed-to-perform-snapshot-index-files-nested-filenotfoundexception/19202 "2014-08-11T17:40:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Aleh\_Aleshka](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Aleh\_Aleshka](https://discuss.elastic.co/u/Aleh_Aleshka)
#### Post date: [August 11, 2014, 5:40pm UTC](https://discuss.elastic.co/t/failed-to-perform-snapshot-index-files-nested-filenotfoundexception/19202/1 "2014-08-11T17:40:44Z")

</div>

Hello  
I have a 1.2.2 cluster of 6 nodes with several indexes configured with 2 to  
4 replicas.  
I'm trying to perform a snapshot but it completes only partially with  
failures like this:

CreateSnapshotResponse[snapshotInfo=SnapshotInfo[name=2014-08-11-16-31-04,  
state=PARTIAL,reason=,indices=Object[][{my\_idx3,my\_idx2}],  
startTime=1407774870154,endTime=1407775114709,totalShards=17,  
successfulShards=14,  
shardFailures=Object[][{  
[my\_idx2][4] failed, reason [IndexShardSnapshotFailedException[[my\_idx2][4]  
Failed to perform snapshot (index files)]; nested: FileNotFoundException[  
/home/shared\_dir/indices/my\_idx2/4/\_\_0 (No such file or directory)]; ],  
[my\_idx2][3] failed, reason [IndexShardSnapshotFailedException[[my\_idx2][3]  
Failed to perform snapshot (index files)]; nested: FileNotFoundException[  
/home/shared\_dir/indices/my\_idx2/3/\_\_0 (No such file or directory)]; ],  
[my\_idx3][0] failed, reason [IndexShardSnapshotFailedException[[my\_idx3][0]  
Failed to perform snapshot (index files)]; nested: FileNotFoundException[  
/home/shared\_dir/indices/my\_idx3/0/\_\_0 (No such file or directory)]; ]}]],  
headers=,remoteAddress=inet[masternode/redacted:9300]]

I used CheckIndex to verify that those shards on all nodes do not have any  
problems.  
What might be the reason for that?

Aleh

--  
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/1c102645-3fbb-4a8d-8848-645c627a9970%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1c102645-3fbb-4a8d-8848-645c627a9970%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Aleh\_Aleshka](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Aleh\_Aleshka](https://discuss.elastic.co/u/Aleh_Aleshka)
#### Post date: [August 12, 2014, 4:39pm UTC](https://discuss.elastic.co/t/failed-to-perform-snapshot-index-files-nested-filenotfoundexception/19202/2 "2014-08-12T16:39:42Z")

</div>

I upgraded to 1.3.1 and one of the indexes seems to backup ok now, though  
the other one is still giving the error.

On Monday, August 11, 2014 8:40:44 PM UTC+3, Aleh Aleshka wrote:

> Hello  
> I have a 1.2.2 cluster of 6 nodes with several indexes configured with 2  
> to 4 replicas.  
> I'm trying to perform a snapshot but it completes only partially with  
> failures like this:
> 
> CreateSnapshotResponse[snapshotInfo=SnapshotInfo[name=2014-08-11-16-31-04,  
> state=PARTIAL,reason=,indices=Object[{my\_idx3,my\_idx2}],  
> startTime=1407774870154,endTime=1407775114709,totalShards=17,  
> successfulShards=14,  
> shardFailures=Object[{  
> [my\_idx2][4] failed, reason [IndexShardSnapshotFailedException[[my\_idx2][4  
> ] Failed to perform snapshot (index files)]; nested: FileNotFoundException  
> [/home/shared\_dir/indices/my\_idx2/4/\_\_0 (No such file or directory)]; ],  
> [my\_idx2][3] failed, reason [IndexShardSnapshotFailedException[[my\_idx2][3  
> ] Failed to perform snapshot (index files)]; nested: FileNotFoundException  
> [/home/shared\_dir/indices/my\_idx2/3/\_\_0 (No such file or directory)]; ],  
> [my\_idx3][0] failed, reason [IndexShardSnapshotFailedException[[my\_idx3][0  
> ] Failed to perform snapshot (index files)]; nested: FileNotFoundException  
> [/home/shared\_dir/indices/my\_idx3/0/\_\_0 (No such file or directory)];  
> ]}]],  
> headers=,remoteAddress=inet[masternode/redacted:9300]]
> 
> I used CheckIndex to verify that those shards on all nodes do not have  
> any problems.  
> What might be the reason for that?
> 
> Aleh

--  
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/1385c597-94b1-4372-9c7b-a89fbd0cb4dd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1385c597-94b1-4372-9c7b-a89fbd0cb4dd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Aleh\_Aleshka](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Aleh\_Aleshka](https://discuss.elastic.co/u/Aleh_Aleshka)
#### Post date: [August 14, 2014, 4:01pm UTC](https://discuss.elastic.co/t/failed-to-perform-snapshot-index-files-nested-filenotfoundexception/19202/3 "2014-08-14T16:01:05Z")

</div>

Well the backup is failing again on the index which was "fixed" after  
upgrade.  
Any idea how to debug this?

On Tuesday, August 12, 2014 7:39:42 PM UTC+3, Aleh Aleshka wrote:

> I upgraded to 1.3.1 and one of the indexes seems to backup ok now, though  
> the other one is still giving the error.
> 
> On Monday, August 11, 2014 8:40:44 PM UTC+3, Aleh Aleshka wrote:
> 
> > Hello  
> > I have a 1.2.2 cluster of 6 nodes with several indexes configured with 2  
> > to 4 replicas.  
> > I'm trying to perform a snapshot but it completes only partially with  
> > failures like this:
> > 
> > CreateSnapshotResponse[snapshotInfo=SnapshotInfo[name=2014-08-11-16-31-04  
> > ,state=PARTIAL,reason=,indices=Object[{my\_idx3,my\_idx2}],  
> > startTime=1407774870154,endTime=1407775114709,totalShards=17,  
> > successfulShards=14,  
> > shardFailures=Object[{  
> > [my\_idx2][4] failed, reason [IndexShardSnapshotFailedException[[my\_idx2][  
> > 4] Failed to perform snapshot (index files)]; nested:  
> > FileNotFoundException[/home/shared\_dir/indices/my\_idx2/4/\_\_0 (No such  
> > file or directory)]; ],  
> > [my\_idx2][3] failed, reason [IndexShardSnapshotFailedException[[my\_idx2][  
> > 3] Failed to perform snapshot (index files)]; nested:  
> > FileNotFoundException[/home/shared\_dir/indices/my\_idx2/3/\_\_0 (No such  
> > file or directory)]; ],  
> > [my\_idx3][0] failed, reason [IndexShardSnapshotFailedException[[my\_idx3][  
> > 0] Failed to perform snapshot (index files)]; nested:  
> > FileNotFoundException[/home/shared\_dir/indices/my\_idx3/0/\_\_0 (No such  
> > file or directory)]; ]}]],  
> > headers=,remoteAddress=inet[masternode/redacted:9300]]
> > 
> > I used CheckIndex to verify that those shards on all nodes do not have  
> > any problems.  
> > What might be the reason for that?
> > 
> > Aleh

--  
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/afbea094-d038-40ca-9f8f-dc1b1c0d9a74%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/afbea094-d038-40ca-9f8f-dc1b1c0d9a74%40googlegroups.com).  
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:08am UTC](https://discuss.elastic.co/t/failed-to-perform-snapshot-index-files-nested-filenotfoundexception/19202/4 "2017-07-06T01:08:29Z")

</div>


