Is there a way to change path.dir (see
Elasticsearch Platform — Find real-time answers at scale | Elastic ) on a
live cluster, say when one wants to add new disks to ES servers and tell ES
to start using them?
I think the only way to do this is by doing rolling restart.
Also, once a new disk is added to an ES node (even if it requires ES node
restart), how will ES start using it? It sounds like it would immediately
switch writing to just that disk because ES would see that new disk has
more free space than the old one(s)?
Correct. All new files will be created on the disc with the most available
free space.
If so, does that mean it would start writing to all disks only once the
new one is equally full as the old one(s)?
Correct.
--