为什么 ES 节点启动时从根目录挂载,mount [[ / (/dev/xvda1)]]?
Elasticsearch | 作者 charleslxh | 发布于2017年08月02日 | 阅读数:6653
我索引数据目录配的明明是:
但是 ES 节点启动时确从根目录 / 挂载。
path.data: /var/data/elasticsearch
但是 ES 节点启动时确从根目录 / 挂载。
[2017-08-02T14:27:02,977][INFO ][o.e.e.NodeEnvironment ] [iZ23xdlmskaZ] using [1] data paths, mounts [[/ (/dev/xvda1)]], net usable_space [4.3gb], net total_space [19.5gb], spins? [no], types [ext4]
然后导致启动一直报错:[2017-08-02T14:27:30,900][ERROR][o.e.x.m.c.i.IndexStatsCollector] [iZ23xdlmskaZ] collector [index-stats-collector] - failed collecting data
org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];
at org.elasticsearch.cluster.block.ClusterBlocks.globalBlockedException(ClusterBlocks.java:161) ~[elasticsearch-5.1.1.jar:5.1.1]
各位大神,SOS!
1 个回复
laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net
赞同来自: charleslxh