Multiple data paths in data node

(Dibyakanta Sahoo) #1


I have 6 Data Nodes. And I want to use multiple data paths for saving the data of all nodes.

So how many paths shall I mention in each node's elasticsearch.yml file?


(Fram Souza) #2

Hi @Dibyakanta

You can configure it as follows: [ /mnt/path_1, /mnt/path_2, /mnt/path_3 ]

(Dibyakanta Sahoo) #3

Thanks for the reply.

But as I have 6 data nodes. So what I am asking is how many paths should I mention in each node's yml file?

(Fram Souza) #4

On each node you can have 2 devices. Remembering that the disks do not work as a failover, the data is stored on both disks. I recommend you to take care of balancing issues when using mult path,
typically each segment is stored on each partition, not exactly how this works if you need to merge the data.

(Dibyakanta Sahoo) #5

Is there any hard and fast rule that for each node I must use 2 devices.
Or is it your recommendation.

Can you help me with how shards and replicas are distributed over multiple data paths. I have 5 shards and 1 replica for each node.

(system) #6

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