Elasticsearch data not writing to second mount path

Hello,

We have 2 nodes cluster with Elasticsearch 5.2.2 version and I have two disk mount mentioned in path.data as ["/path-01","/path-02"].

The data is writing only to the "/path-01" and its getting filled up and there is only 4% usage of the second disk space.

Could someone help me with this. Thanks in advance.

How many nodes do you have in the cluster? How many shards and replicas? Did you add the second mount path after shards had been allocated to the first?

Its a 2 node cluster. We have 2273 primary shard with 1 replica each.

When we ran out space in the cluster, the second mound path was added.

That is generally far too many shards for a cluster that size. Try setting the number if replicas to 0 and the back to 1 again to see if reallocation resolves the issue. Elasticsearch will not move shards already on a node between mount points.

Thanks Christian_Dahlqvist.

Its working when I set replica to 0 and then changed it back to 1.

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