ES 1.0.1 snapshot creation fails


(Yatish Teddla) #1

Hi Everyone,

For backup directory used a mounted directory from other machine using
sshfs. For that directory changed the owner and group to "elasticsearch".

When iam trying to create a snapshot getting below error.

{"error":"SnapshotCreationException[[backup:snapshot_6] failed to create
snapshot]; nested:
FileNotFoundException[/data/backup_es/snapshot-snapshot_6 (Permission
denied)]; ","status":500}

Any idea why iam getting this error or how can i use the mounted directory
as a backup space?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0655a68a-9bcc-428e-b9e1-04e1ac1b9e4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

The user who is running elasticsearch needs to have full control of your /data/backup_es

Is it the case?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 06:48, Yatish Teddla yatish@buzzinga.io a écrit :

Hi Everyone,

For backup directory used a mounted directory from other machine using sshfs. For that directory changed the owner and group to "elasticsearch".

When iam trying to create a snapshot getting below error.

{"error":"SnapshotCreationException[[backup:snapshot_6] failed to create snapshot]; nested: FileNotFoundException[/data/backup_es/snapshot-snapshot_6 (Permission denied)]; ","status":500}

Any idea why iam getting this error or how can i use the mounted directory as a backup space?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0655a68a-9bcc-428e-b9e1-04e1ac1b9e4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/A956B35A-090B-48A0-8045-6EA035B20386%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(Yatish Teddla) #3

Hi David,

I have given full access permissions to that direcory(given 777 permissons
to it) .
But still iam getting that error.

On Fri, Mar 14, 2014 at 11:37 AM, David Pilato david@pilato.fr wrote:

The user who is running elasticsearch needs to have full control of your
/data/backup_es

Is it the case?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 06:48, Yatish Teddla yatish@buzzinga.io a écrit :

Hi Everyone,

For backup directory used a mounted directory from other machine using
sshfs. For that directory changed the owner and group to "elasticsearch".

When iam trying to create a snapshot getting below error.

{"error":"SnapshotCreationException[[backup:snapshot_6] failed to create
snapshot]; nested:
FileNotFoundException[/data/backup_es/snapshot-snapshot_6 (Permission
denied)]; ","status":500}

Any idea why iam getting this error or how can i use the mounted directory
as a backup space?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/0655a68a-9bcc-428e-b9e1-04e1ac1b9e4e%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/0655a68a-9bcc-428e-b9e1-04e1ac1b9e4e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/rGXD2WErqp0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/A956B35A-090B-48A0-8045-6EA035B20386%40pilato.frhttps://groups.google.com/d/msgid/elasticsearch/A956B35A-090B-48A0-8045-6EA035B20386%40pilato.fr?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAFF7EL%2Bof4wpTDumhL0YkZwYtY42E%2B%3DP4qFeu1aAOOAt3eLq0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #4

can you run mkdir /data/backup_es/snapshot-snapshot_6 from es machine using elasticsearch user?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 07:10, Yatish Teddla yatish@buzzinga.io a écrit :

Hi David,

I have given full access permissions to that direcory(given 777 permissons to it) .
But still iam getting that error.

On Fri, Mar 14, 2014 at 11:37 AM, David Pilato david@pilato.fr wrote:
The user who is running elasticsearch needs to have full control of your /data/backup_es

Is it the case?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 14 mars 2014 à 06:48, Yatish Teddla yatish@buzzinga.io a écrit :

Hi Everyone,

For backup directory used a mounted directory from other machine using sshfs. For that directory changed the owner and group to "elasticsearch".

When iam trying to create a snapshot getting below error.

{"error":"SnapshotCreationException[[backup:snapshot_6] failed to create snapshot]; nested: FileNotFoundException[/data/backup_es/snapshot-snapshot_6 (Permission denied)]; ","status":500}

Any idea why iam getting this error or how can i use the mounted directory as a backup space?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0655a68a-9bcc-428e-b9e1-04e1ac1b9e4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/rGXD2WErqp0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/A956B35A-090B-48A0-8045-6EA035B20386%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAFF7EL%2Bof4wpTDumhL0YkZwYtY42E%2B%3DP4qFeu1aAOOAt3eLq0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/B9C89C92-D19E-47EF-9A30-A50D50E0EABA%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(system) #5