# Mount Shared Drive

**URL:** <https://discuss.elastic.co/t/mount-shared-drive/226035>\
**Category:** Elasticsearch\
**Created:** [April 1, 2020, 11:32am UTC](https://discuss.elastic.co/t/mount-shared-drive/226035 "2020-04-01T11:32:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpb14pk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cpb14pk/32/49853_2.png) [@cpb14pk](https://discuss.elastic.co/u/cpb14pk)\
**Post date:** [April 1, 2020, 11:32am UTC](https://discuss.elastic.co/t/mount-shared-drive/226035/1 "2020-04-01T11:32:09Z")

</div>

Hi, I am trying to mount a shared drive across three elasticsearch nodes with the aim of snapshotting an elasticsearch repository.

I have three different nodes across three different centos servers, e.g. 10.212.145.10, 10.212.145.20, 10.212.145.30.

I have added the path.repo field in my elasticsearch.yml file (etc/elasticsearch/elasticsearch.yml) on all my nodes:

`path.repo: ["/mnt/elasticsearch_repository/backup"]`

I have run the following to register the repository, which works fine (thanks to help from @dadoonet in a previous question).

```auto
curl -XPUT -H "Content-Type: application/json" 'http://10.212.145.10:9200/_snapshot/backup' -d '{
    "type": "fs",
    "settings": {
        "location": "/mnt/elasticsearch_repository/backup",
        "compress": true
    }
}'

```

However, I don't know how to make the drive visible across all nodes.

Should I be adding:

`path.repo: ["\\\10.212.45.10\\mnt/elasticsearch_repository/backup"]`

instead?

Any help would be greatly appreciated.

Thanks

---

<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:** [April 1, 2020, 1:09pm UTC](https://discuss.elastic.co/t/mount-shared-drive/226035/2 "2020-04-01T13:09:58Z")

</div>

You need to mount the `/mnt/elasticsearch_repository/backup` dir on every machine where elasticsearch is running.

---

<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:** [April 29, 2020, 1:10pm UTC](https://discuss.elastic.co/t/mount-shared-drive/226035/3 "2020-04-29T13:10:01Z")

</div>

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