# Moving indices from one volume to another

**URL:** <https://discuss.elastic.co/t/moving-indices-from-one-volume-to-another/20150>\
**Category:** Elasticsearch\
**Created:** [October 8, 2014, 7:58pm UTC](https://discuss.elastic.co/t/moving-indices-from-one-volume-to-another/20150 "2014-10-08T19:58:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Swetonic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tim_swetonic/32/1224_2.png) [@Tim\_Swetonic](https://discuss.elastic.co/u/Tim_Swetonic)\
**Post date:** [October 8, 2014, 7:58pm UTC](https://discuss.elastic.co/t/moving-indices-from-one-volume-to-another/20150/1 "2014-10-08T19:58:43Z")

</div>

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/7b416f48-0dbd-4841-b85f-4a5fc4d80aba%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![andrew](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@andrew](https://discuss.elastic.co/u/andrew)\
**Post date:** [October 8, 2014, 9:01pm UTC](https://discuss.elastic.co/t/moving-indices-from-one-volume-to-another/20150/2 "2014-10-08T21:01:15Z")

</div>

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](mailto:swetonic@gmail.com)  
Reply: [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com)\>  
Date: October 8, 2014 at 12:58:53 PM  
To: [elasticsearch@googlegroups.com](mailto:elasticsearch@googlegroups.com) [elasticsearch@googlegroups.com](mailto: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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/7b416f48-0dbd-4841-b85f-4a5fc4d80aba%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/etPan.5435a61b.643c9869.cf9e%40gnocchi.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:57am UTC](https://discuss.elastic.co/t/moving-indices-from-one-volume-to-another/20150/3 "2017-07-06T00:57:25Z")

</div>


