I updated the path.repo to a Windows shared drive folder and tried starting the ElasticSearch, I get the below error message:
path.repo: ["\\\\10.**.**.***\\Snapshots"]
[2018-12-18T07:41:37,014][ERROR][o.e.b.Bootstrap ] Exception
java.lang.IllegalStateException: Unable to access 'path.repo' (\\10.**.**.***\Snapshots\)
at org.elasticsearch.bootstrap.Security.addPath(Security.java:379) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:267) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:215) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Security.configure(Security.java:121) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:209) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:306) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:112) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.SettingCommand.execute(SettingCommand.java:54) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:96) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.cli.Command.main(Command.java:62) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:89) [elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82) [elasticsearch-5.1.1.jar:5.1.1]
Caused by: java.nio.file.FileSystemException: \\10.**.**.***\Snapshots\:
at java.nio.file.Files.createDirectories(Files.java:756) ~[?:1.8.0_111]
at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:421) ~[elasticsearch-5.1.1.jar:5.1.1]
at org.elasticsearch.bootstrap.Security.addPath(Security.java:377) ~[elasticsearch-5.1.1.jar:5.1.1]
... 12 more
I could able to access the Windows UNC Path from the Elastic Search Server. Could someone please let me know how do I resolve this issue.