# \[FS-Repository\] Path is not accessible on master node

**URL:** https://discuss.elastic.co/t/fs-repository-path-is-not-accessible-on-master-node/278219
**Category:** Elasticsearch
**Created:** [July 8, 2021, 8:55pm UTC](https://discuss.elastic.co/t/fs-repository-path-is-not-accessible-on-master-node/278219 "2021-07-08T20:55:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jonatha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonatha/32/91367_2.png) [@Jonatha](https://discuss.elastic.co/u/Jonatha)
#### Post date: [July 8, 2021, 8:55pm UTC](https://discuss.elastic.co/t/fs-repository-path-is-not-accessible-on-master-node/278219/1 "2021-07-08T20:55:59Z")

</div>

I tried to config a repository to save snapshot, but show this error:

```auto
PUT _snapshot/bkp-test
{
"type": "fs",
"settings": {
"location": "/media/test"
  }
}

```

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "exception",
        "reason" : "failed to create blob container"
      }
    ],
    "type" : "repository_verification_exception",
    "reason" : "[bkp-test] path is not accessible on master node",
    "caused_by" : {
      "type" : "exception",
      "reason" : "failed to create blob container",
      "caused_by" : {
        "type" : "access_denied_exception",
        "reason" : "/media/test/tests-V8oEQp2-RAiuHmpDP_RS0g"
      }
    }
  },
  "status" : 500
}

```

```auto
[root@CENTOS-LAB media]# ls -l
total 0
drw-rw-rw- 2 root root 6 Jul 8 17:06 test

```

I tried to execute this too, but the error persist:  
`[root@CENTOS-LAB media]# chown -R elasticsearch:elasticsearch test/`

Plz, someone can help me?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [July 9, 2021, 1:16am UTC](https://discuss.elastic.co/t/fs-repository-path-is-not-accessible-on-master-node/278219/2 "2021-07-09T01:16:26Z")

</div>

The repository need to be a shared file system, e.g. NFS, mounted on all master and data nodes in the same location.

---

<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: [August 6, 2021, 12:57pm UTC](https://discuss.elastic.co/t/fs-repository-path-is-not-accessible-on-master-node/278219/4 "2021-08-06T12:57:25Z")

</div>

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