When I use
curl -XPUT 'http://192.168.184.33:9200/_snapshot/elkbak' -d '{"type": "fs","settings": {"location": "/data/elk_bak","compress": true}}'.
Shows the following error:
{"error":{"root_cause":[{"type":"repository_verification_exception","reason":"[elkbak] [AvxdLuwDTGCif9MujDW8mw, 'RemoteTransportException[[logserver-es-02][192.168.184.34:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[elkbak] store location [/data/elk_bak] is not accessible on the node [{logserver-es-02}{AvxdLuwDTGCif9MujDW8mw}{192.168.184.34}{192.168.184.34:9300}{master=true}]]; nested: NotSerializableExceptionWrapper[access_denied_exception: /data/elk_bak/tests-UI5DJFuzRLWs2XuQ2SIcgA/data-AvxdLuwDTGCif9MujDW8mw.dat];']]"}],"type":"repository_verification_exception","reason":"[elkbak] [AvxdLuwDTGCif9MujDW8mw, 'RemoteTransportException[[logserver-es-02][192.168.184.34:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[elkbak] store location [/data/elk_bak] is not accessible on the node [{logserver-es-02}{AvxdLuwDTGCif9MujDW8mw}{192.168.184.34}{192.168.184.34:9300}{master=true}]]; nested: NotSerializableExceptionWrapper[access_denied_exception: /data/elk_bak/tests-UI5DJFuzRLWs2XuQ2SIcgA/data-AvxdLuwDTGCif9MujDW8mw.dat];']]"},"status":500}
This is my configuration.
logserver-es-01
cluster.name: my_logsearch
node.name: logserver-es-01
node.master: true
node.data: true
index.number_of_shards: 5
index.number_of_replicas: 1
path.logs: "/data/logs/elasticsearch"
path.data: "/data/elasticsearch"
network.host: 192.168.184.33
http.port: 9200
bootstrap.mlockall: true
transport.tcp.compress: true
discovery.zen.fd.connect_on_network_disconnect : true
discovery.zen.initial_ping_timeout : 10s
discovery.zen.fd.ping_interval : 2s
discovery.zen.fd.ping_retries : 10
network.tcp.keep_alive : true
indices.recovery.max_size_per_sec: 0
indices.recovery.concurrent_streams: 5
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.timeout: 3s
discovery.zen.ping.unicast.hosts: ["logserver-es-01","logserver-es-02"]
path.repo: ["/data/elk_bak"]
logserver-es-02
node.name: logserver-es-02
....
path.repo: ["/data/elk_bak"]
What is the problem, anybody help me. Thank you!