Using Network Drive

Hi,
I'm trying to use network drive for elasticsearch path.data

in my elasticsearch.yml

# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /etc/elasticsearch/Data/elasticsearch/lib/elasticsearch
#
# Path to log files:
#
path.logs: /etc/elasticsearch/Data/elasticsearch/log/elasticsearch
#
# ----------------------------------- Memory -----------------------------------

my mount option

[root@localhost elasticsearch]# mount -t cifs //192.168.0.75/ShareFolder /etc/elasticsearch/Data -o username=Test,password=qlalfqjsgh

when i was start elasticsearch then error like this

[root@localhost elasticsearch]# systemctl status elasticsearch -l
● elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 수 2019-06-19 17:29:56 KST; 920ms ago
Docs: http://www.elastic.co
Process: 13478 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet (code=exited, status=1/FAILURE)
Main PID: 13478 (code=exited, status=1/FAILURE)

6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,386 main ERROR Unable to locate appender "index_indexing_slowlog_rolling_old" for logger config "index.indexing.slowlog.index"
6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,386 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" for logger config "index.indexing.slowlog.index"
6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,386 main ERROR Unable to locate appender "audit_rolling" for logger config "org.elasticsearch.xpack.security.audit.logfile.LoggingAuditTrail"
6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,387 main ERROR Unable to locate appender "index_search_slowlog_rolling_old" for logger config "index.search.slowlog"
6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,387 main ERROR Unable to locate appender "index_search_slowlog_rolling" for logger config "index.search.slowlog"
6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,387 main ERROR Unable to locate appender "deprecation_rolling_old" for logger config "org.elasticsearch.deprecation"
6월 19 17:29:55 localhost.localdomain elasticsearch[13478]: 2019-06-19 17:29:55,387 main ERROR Unable to locate appender "deprecation_rolling" for logger config "org.elasticsearch.deprecation"

how can i connect my network drive and working well??
help me, thanks

Don't know what the problem is but just to say that it is not recommended to store your indices on a network drive.

is that not good using network drive for indices??

https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-indexing-speed.html#_use_faster_hardware

1 Like

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