How many disks are used by one shard?

question1( tells me: the shards' files are all allocated on one path only and not spread on all paths. And ES will not try to balance the files between paths.

question2 tells me:if you define more than one location (one per disk for example) it will use both disks and will benefit from the increased IOPS.

I am confused..

I just want to make the usage of the disk are almost equal.


before 2.0, if the ' setting' listed multiple data paths, then a shard would be “striped” across all paths by writing a whole file to each path in turn. This had several problems which are explained in detail in this issue:

So starting with 2.0 this is no longer supported. Instead all of the files in a single shard will be written to the same path:

1 Like