Shard allocation per node

What is the rule for primary shard allocation for single index?

I created one index with 9 primary and 0 replica shards.
Elasticsearch allocated 5 primary shards on ES01 server (the node with
least storage available) and 4 more shards on different nodes.

I have 9 servers. For this index only 5 servers are in use.

I don't think this is a correct behavior .

The free space is pretty much even on every host, except ES01 (i still
don't understand why), and i did't hit any hi/low watermarks.

Any idea what is happening here ?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit