Moving indices from one volume to another

Hi all,

I'm seeking to move our indices on disk from one volume to another, on the
same machine. We using version 0.90.10, and we can't change that at the
moment.

I tried copying the data to the new volume, changing the path.data setting
in elasticsearch.yml to point to the new directory, and restarting ES. This
resulted in ES not starting up.

Does anyone have any tips?

Thanks

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7b416f48-0dbd-4841-b85f-4a5fc4d80aba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Copying live index files is very unlikely to work. Your best bet is to shutdown the node, then copy the files, then restart the node with the new data path.

-- Andrew

From: Tim Swetonic swetonic@gmail.com
Reply: elasticsearch@googlegroups.com elasticsearch@googlegroups.com>
Date: October 8, 2014 at 12:58:53 PM
To: elasticsearch@googlegroups.com elasticsearch@googlegroups.com>
Subject: moving indices from one volume to another

Hi all,

I'm seeking to move our indices on disk from one volume to another, on the same machine. We using version 0.90.10, and we can't change that at the moment.

I tried copying the data to the new volume, changing the path.data setting in elasticsearch.yml to point to the new directory, and restarting ES. This resulted in ES not starting up.

Does anyone have any tips?

Thanks

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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7b416f48-0dbd-4841-b85f-4a5fc4d80aba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.5435a61b.643c9869.cf9e%40gnocchi.local.
For more options, visit https://groups.google.com/d/optout.