Physically Moving Indices To New Drive

I have a need to move where indices are stored to a new drive. How do I go about migrating to the new drive? Change Elasticsearch.yml to the new drive and then reindex all the existing data? I'd hate to do that with the 11TB of data we currently have.

Take a snapshot first but then if you shut the node down you can copy the contents of the data path over to the new disk, then update elasticsearch.yml to point to the new disk and finally start it up again. Make sure it's a completely faithful copy, permissions and all, or else something will break (and that's why you take a snapshot first, just in case).

1 Like

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