Can't create snapshot repository using mounted network drive


(Simon Fredsted) #1

Hello,

I'm trying to add a snapshot repository using a mounted network drive, but I'm getting a FileNotFoundException on the test file it creates, but I'm pretty sure it exists...

RepositoryVerificationException[[snapshot_name] path is not accessible on master node]; nested: FileNotFoundException[/mount/backup/snapshot_name/tests-t4NjJDPqTcSkTbUHzwuw5w-master (Permission denied)

Here's a log of what I'm doing: http://pastebin.com/raw/udNbm4AE

As you can see from the log, the network share is mounted on all nodes (3) and I can access the test file from the elasticsearch user.

I'm trying to figure out why this error occurs, can anyone point me in the right direction?


(Tin Le) #2

It said "Permission denied".

Does the user that Elasticsearch run as have write permission to /mount/backup/snapshot_name directory?

Tin


(system) #3