Mount Shared Drive

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.,,

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).

curl -XPUT -H "Content-Type: application/json" '' -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: ["\\\\\mnt/elasticsearch_repository/backup"]


Any help would be greatly appreciated.


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

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