Hi All,
I would like to create the snapshot but get the result
{"error":"RepositoryVerificationException[[my_backup] path is not accessible on master node]; nested: FileNotFoundException[/mnt/es_snapshot/tests-AHLJFeQaTMap0CjEvhZhNA-master (Permission denied)]; ","status":500}
Following is my steps.
There are 2 nodes of my elasticsearch cluster, all of two are mount to GFS, like
140.92.25.176:/cakestorage/elasticsearch
5857675264 104251392 5753423872 2% /mnt/es_snapshot
My elasticsearch.yml setting (all nodes)
path.repo: /mnt/es_snapshot
Then create snapshot
$curl -XPOST -u es_admin:iiiiii "http://localhost:9200/_snapshot/my_backup" -d '
{
"type": "fs",
"settings": {
"location": "/mnt/es_snapshot"
}
}'
Anyone can help?
Jason