How to Share DOC between discs


(Claudio Ract Costa) #1

Gentlmen,

I am trying figured out how to set my ES to share the docs between two partition.

For example:
First Partition is mounted in "/data1"
Second Partition is mounted in "/data2"

My elasticsearch.yml has:

path:
data:
- /data1
- /data2

But, for any reason, only the First Partition (/data1) is being populated.

Does anyone know which other configuration i have to do in elasticsearch.yml to share the docs between these partition ?

Thanks,
CLaudio Ract


(Thiago Souza) #2

It depends on how many shards you have. Elasticsearch will allocate a shard per disk. So depending on how shards and nodes you have, a few disks may still not be used until you have enough shards.


(Claudio Ract Costa) #3

Hi Thiago,

Per day, I have this volumn:

-bash-3.00# curl -XGET 'localhost:9200/_cat/indices?v&pretty'
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open dcr_openet DPIiTJDKTNK5J_cLbHar6w 5 1 274500000 0 51.7gb 51.7gb

I have only 416 GB available in this partition (data1)

So, as I have defined two partition in elasticsearch.yml file, ES will allocate automatically the /data2 partition if necessary ?

I dont need set any other configuration in my elasticsearch.yml to make this balance ?


(system) #4

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