# Elasticsearch(6.7.1): \[test1\] path is not accessible on master node

**URL:** https://discuss.elastic.co/t/elasticsearch-6-7-1-test1-path-is-not-accessible-on-master-node/185136
**Category:** Elasticsearch
**Created:** [June 11, 2019, 9:14am UTC](https://discuss.elastic.co/t/elasticsearch-6-7-1-test1-path-is-not-accessible-on-master-node/185136 "2019-06-11T09:14:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xiaochuan\_lin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xiaochuan_lin/32/47844_2.png) [@xiaochuan\_lin](https://discuss.elastic.co/u/xiaochuan_lin)
#### Post date: [June 11, 2019, 9:14am UTC](https://discuss.elastic.co/t/elasticsearch-6-7-1-test1-path-is-not-accessible-on-master-node/185136/1 "2019-06-11T09:14:08Z")

</div>

Hey,  
I tried to use oss (Alibaba Cloud Storage) to add some errors when adding elasticsarch(6.7.1) backup. Here are my steps.  
1、Mount oss to all elasticsearch servers and change directory permissions to elasticsearch  
# ossfs adbright-log-tmp /backup -ourl=http://oss-cn-beijing-internal.aliyuncs.com -ouid=498 -ogid=498 -o allow\_other  
2、Add path.repo: ["/backup"] to elasticsearh.yml and then scroll restart the elasticsarch cluster  
3、Create a snapshot repo  
PUT \_snapshot/my\_backup  
{  
"type": "fs",  
"settings": {  
"location": "/backup",  
"compress": true  
}  
}  
4、Backup index  
PUT \_snapshot/my\_backup/snapshot\_nginx-access-bid.xigua-2019.06.10  
{  
"indices": "nginx-access-bid.xigua-2019.06.10"  
}

In the third step, when creating snapshot repo, I have the following error.  
{  
"error": {  
"root\_cause": [  
{  
"type": "repository\_verification\_exception",  
"reason": "[my\_backup] path is not accessible on master node"  
}  
],  
"type": "repository\_verification\_exception",  
"reason": "[my\_backup] path is not accessible on master node",  
"caused\_by": {  
"type": "file\_system\_exception",  
"reason": "/backup/tests-sy0\_\_tCeTmW5w\_3-uVkp-g/pending-master.dat-\_m\_AzPLkRs-q5bkYbohscA -\> /backup/tests-sy0\_\_tCeTmW5w\_3-uVkp-g/master.dat: Operation not permitted"  
}  
},  
"status": 500  
}

Then I use "GET \_snapshot/my\_backup" to view the snapshot repo information.  
{  
"my\_backup" : {  
"type" : "fs",  
"settings" : {  
"compress" : "true",  
"location" : "/backup"  
}  
}  
}  
After that, I backed up the index and then viewed the snapshot information, which prompted the snapshot to be lost, but the /backup directory stores the snapshot information of the index.  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "snapshot\_missing\_exception",  
"reason" : "[my\_backup:snapshot\_nginx-access-bid.xigua-2019.06.10] is missing"  
}  
],  
"type" : "snapshot\_missing\_exception",  
"reason" : "[my\_backup:snapshot\_nginx-access-bid.xigua-2019.06.10] is missing"  
},  
"status" : 404  
}

I have found a lot of information about permission issues, but my permissions are already running permissions for elasticsarch. Is there any advice?

Thanks.

---

<div class="post-metadata">

### Author: ![xiaochuan\_lin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xiaochuan_lin/32/47844_2.png) [@xiaochuan\_lin](https://discuss.elastic.co/u/xiaochuan_lin)
#### Post date: [June 14, 2019, 1:43am UTC](https://discuss.elastic.co/t/elasticsearch-6-7-1-test1-path-is-not-accessible-on-master-node/185136/2 "2019-06-14T01:43:40Z")

</div>

This problem is due to the use of archive storage for Alibaba Cloud oss ​​storage, which can be modified to standard storage.

---

<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 12, 2019, 1:50am UTC](https://discuss.elastic.co/t/elasticsearch-6-7-1-test1-path-is-not-accessible-on-master-node/185136/3 "2019-07-12T01:50:33Z")

</div>

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