# Issue while restoring snapshot in cluster environment

**URL:** <https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453>\
**Category:** Elasticsearch\
**Created:** [January 6, 2016, 12:54am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453 "2016-01-06T00:54:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinod\_rao](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@vinod\_rao](https://discuss.elastic.co/u/vinod_rao)\
**Post date:** [January 6, 2016, 12:54am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/1 "2016-01-06T00:54:11Z")

</div>

Hi Team,

Can any one help me on why we are getting the below error while restoring.

{"error":"RemoteTransportException[[goemtdbpgqa04][inet[/10.56.28.198:9401]][cluster:admin/repository/put]]; nested: RepositoryVerificationException[[director-services] path is not accessible on master node]; nested: FileNotFoundException[/gdbackup/GDIndexerBackups/director-services/tests-BNlmbKY6RfK8pk-o2FSMOA-master (Read-only file system)]; ","status":500}14:56 Check the status of the repository

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 6, 2016, 5:40am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/2 "2016-01-06T05:40:10Z")

</div>

> [@vinod\_rao](#):
>
> Read-only file system

Can you check that?

---

<div class="post-metadata">

**Author:** ![vinod\_rao](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@vinod\_rao](https://discuss.elastic.co/u/vinod_rao)\
**Post date:** [January 6, 2016, 6:06am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/3 "2016-01-06T06:06:41Z")

</div>

While restore also do we need to have the file system Read write. I am thinking that we can use readonly file system , may be i am wrong ?? The mount point shared NAS storage..

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 6, 2016, 6:08am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/4 "2016-01-06T06:08:19Z")

</div>

It needs to be read/write.  
We haven't implemented read only repositories as yet.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 6, 2016, 7:27am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/5 "2016-01-06T07:27:38Z")

</div>

We actually have the URL (read only) repo: [https://www.elastic.co/guide/en/elasticsearch/reference/2.1/modules-snapshots.html#\_read\_only\_url\_repository](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/modules-snapshots.html#_read_only_url_repository)

Also, you could try using `readonly` parameter from 2.1.0 when you create the Shared FS repo: [https://www.elastic.co/guide/en/elasticsearch/reference/2.1/modules-snapshots.html#\_shared\_file\_system\_repository](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/modules-snapshots.html#_shared_file_system_repository)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 6, 2016, 7:28am UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/6 "2016-01-06T07:28:46Z")

</div>

Oh, I was thinking more WORM style.

---

<div class="post-metadata">

**Author:** ![vinod\_rao](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@vinod\_rao](https://discuss.elastic.co/u/vinod_rao)\
**Post date:** [January 7, 2016, 5:31pm UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/7 "2016-01-07T17:31:13Z")

</div>

Thank you team, I have some doubt on this. Is it necessary to include shared repository path in elasticsearch.yml using path.repo ?

**In the mentioned URL it says as below.**

Assuming that the shared filesystem is mounted to /mount/backups/my\_backup, the following setting should be added to elasticsearch.yml file:

path.repo: ["/mount/backups", "/mount/longterm\_backups"]

Whey we added "/mount/longterm\_backups" to path.repo?

And one more thing do we need to add " readonly : true " option during the repository setting for restore only or we can do it for both snapshot&restore repositories.

Regards,  
Vinodkumar Banda

---

<div class="post-metadata">

**Author:** ![vinod\_rao](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@vinod\_rao](https://discuss.elastic.co/u/vinod_rao)\
**Post date:** [March 1, 2016, 7:34pm UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/8 "2016-03-01T19:34:16Z")

</div>

Is this path.repo module work in elastic 1.4 version, if its not work what could be the best solution for read only file system.

---

<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 5, 2017, 11:12pm UTC](https://discuss.elastic.co/t/issue-while-restoring-snapshot-in-cluster-environment/38453/9 "2017-07-05T23:12:21Z")

</div>


