Store Path Data to Multiple Location FIle

Hello, i've Elasticsearch server, but the storage is full.

My server run on vmware, i want to add new disk, and i want to mount on /backup location.

When i add to /etc/Elasticsearch/Elasticsearch.yml and add line Path.Data, still failed when i restart the Elasticsearch.

Can you help me?


Failed how? What did you actually change?

i want to add new location on from file Elasticsearch.yml

when i restart di services, always failed

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

ok, can you tell me, how i use two different to store Elasticsearch data??


You can read the documentation on using multiple data paths. You need to specify a list of entries

    - /var/lib/elasticsearch
    - /backup/elasticsearch

Be advised, support for multiple data paths is deprecated since 7.13.0 and will be removed in a future release. Documentation recommends using LVM to create logical volumes and expanding them by adding space as your data grows.

Yep, please don't use multiple paths!

1 Like

Thankyou, i've extend my disk using LVM in ubuntu

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