# Unable to create elasticserach backup on glusterfs

**URL:** <https://discuss.elastic.co/t/unable-to-create-elasticserach-backup-on-glusterfs/131065>\
**Category:** Elasticsearch\
**Created:** [May 8, 2018, 8:56pm UTC](https://discuss.elastic.co/t/unable-to-create-elasticserach-backup-on-glusterfs/131065 "2018-05-08T20:56:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snehit\_Gajjar](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@Snehit\_Gajjar](https://discuss.elastic.co/u/Snehit_Gajjar)\
**Post date:** [May 8, 2018, 8:56pm UTC](https://discuss.elastic.co/t/unable-to-create-elasticserach-backup-on-glusterfs/131065/1 "2018-05-08T20:56:44Z")

</div>

I have 3-node elasticsearch cluster. I had issue where snapshots were not created. At that time I did not have shared filesystem across all three nodes. So I went ahead and used glusterfs to create shared filesystem. Now when I try to create a snapshot. I get the same error.

**Input:**

```
$ curl -X PUT "localhost:9200/_snapshot/my_backup" -H 'Content-Type: application/json' -d'
>{
> "type": "fs",
> "settings": {
> "location": "my_backup_location"
> }
> }
> '

```

**Output:**

```
{  
  "error":{  
    "root_cause":[  
       {  
          "type":"repository_verification_exception",
          "reason":"[my_backup] [[IMJUAVQaSt6oeHybvCs_nw, 'RemoteTransportException[[IMJUAVQ][104.170.209.16:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] a file written by master to the store [/var/es_backup/backup/my_backup_location] cannot be accessed on the node [{IMJUAVQ}{IMJUAVQaSt6oeHybvCs_nw}{pdYRCwdpRo66iVc4RHF98g}{104.170.209.16}{104.170.209.16:9300}]. This might indicate that the store [/var/es_backup/backup/my_backup_location] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];'], [3PUdIddHRsCeT2n-dl0ikw, 'RemoteTransportException[[3PUdIdd][104.170.209.17:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] a file written by master to the store [/var/es_backup/backup/my_backup_location] cannot be accessed on the node [{3PUdIdd}{3PUdIddHRsCeT2n-dl0ikw}{sqUGInz2Q2uDp4Xa5tRYGQ}{104.170.209.17}{104.170.209.17:9300}]. This might indicate that the store [/var/es_backup/backup/my_backup_location] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"
       }
    ],
    "type":"repository_verification_exception",
    "reason":"[my_backup] [[IMJUAVQaSt6oeHybvCs_nw, 'RemoteTransportException[[IMJUAVQ][104.170.209.16:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] a file written by master to the store [/var/es_backup/backup/my_backup_location] cannot be accessed on the node [{IMJUAVQ}{IMJUAVQaSt6oeHybvCs_nw}{pdYRCwdpRo66iVc4RHF98g}{104.170.209.16}{104.170.209.16:9300}]. This might indicate that the store [/var/es_backup/backup/my_backup_location] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];'], [3PUdIddHRsCeT2n-dl0ikw, 'RemoteTransportException[[3PUdIdd][104.170.209.17:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] a file written by master to the store [/var/es_backup/backup/my_backup_location] cannot be accessed on the node [{3PUdIdd}{3PUdIddHRsCeT2n-dl0ikw}{sqUGInz2Q2uDp4Xa5tRYGQ}{104.170.209.17}{104.170.209.17:9300}]. This might indicate that the store [/var/es_backup/backup/my_backup_location] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]" 
   }, 
  "status":500  
}

```

It would be nice to get some opinion on use of glusterfs.

---

<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:** [June 5, 2018, 8:56pm UTC](https://discuss.elastic.co/t/unable-to-create-elasticserach-backup-on-glusterfs/131065/2 "2018-06-05T20:56:52Z")

</div>

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