How to mount my ES data folder to freed filesystem in Mac OS

感情迁移 提交于 2021-01-29 15:09:28

问题


I am running ES locally and have defined path.data in my home dir aka /Users/prerna/es/data but all the time ES complains that high-disk watermark exceeded as shown in below message

2020-09-16 18:16:07,390][INFO ][cluster.routing.allocation.decider] [Karkas] high disk watermark exceeded on one or more nodes, rerouting shards
[2020-09-16 18:16:37,393][WARN ][cluster.routing.allocation.decider] [Karkas] high disk watermark [0b] exceeded on [trwvlC3dRUOPYp0QQ9l9GQ][Karkas] free: -1b[100%], shards will be relocated away from this node
[2020-09-16 18:17:07,395][WARN ][cluster.routing.allocation.decider] [Karkas] high disk watermark [0b] exceeded on [trwvlC3dRUOPYp0QQ9l9GQ][Karkas] free: -1b[100%], shards will be relocated away from this node
[2020-09-16 18:17:07,396][INFO ][cluster.routing.allocation.decider] [Karkas] high disk watermark exceeded on one or more nodes, rerouting shards
[2020-09-16 18:17:37,399][WARN ][cluster.routing.allocation.decider] [Karkas] high disk watermark [0b] exceeded on [trwvlC3dRUOPYp0QQ9l9GQ][Karkas] free: -1b[100%], shards will be relocated away from this node
[2020-09-16 18:18:07,401][WARN ][cluster.routing.allocation.decider] [Karkas] high disk watermark [0b] exceeded on [trwvlC3dRUOPYp0QQ9l9GQ][Karkas] free: -1b[100%], shards will be relocated away from this node

Now as shown in message it says high disk watermark [0b] which is strange as when I checked my _cluster/settings its not set to 0b as shown below in API response.

{
    "persistent": {},
    "transient": {}
}

I noticed df -h, gives me below response

Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1   466Gi   10Gi  384Gi     3%  488412 4881964468    0%   /
devfs          198Ki  198Ki    0Bi   100%     690          0  100%   /dev
/dev/disk1s2   466Gi   69Gi  384Gi    16% 1382379 4881070501    0%   /System/Volumes/Data
/dev/disk1s5   466Gi  1.0Gi  384Gi     1%       1 4882452879    0%   /private/var/vm
map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /System/Volumes/Data/home

And suspect that my ES data folder might be mounted on devfs which is 100% full, but I am not sure and don't know how can I mount it to other filesystem which have a lot of space available

来源:https://stackoverflow.com/questions/63920579/how-to-mount-my-es-data-folder-to-freed-filesystem-in-mac-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!