# Physically Moving Indices To New Drive

**URL:** <https://discuss.elastic.co/t/physically-moving-indices-to-new-drive/287611>\
**Category:** Elasticsearch\
**Created:** [October 25, 2021, 5:29pm UTC](https://discuss.elastic.co/t/physically-moving-indices-to-new-drive/287611 "2021-10-25T17:29:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwalker](https://avatars.discourse-cdn.com/v4/letter/w/43a26b/32.png) [@wwalker](https://discuss.elastic.co/u/wwalker)\
**Post date:** [October 25, 2021, 5:29pm UTC](https://discuss.elastic.co/t/physically-moving-indices-to-new-drive/287611/1 "2021-10-25T17:29:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [October 25, 2021, 5:46pm UTC](https://discuss.elastic.co/t/physically-moving-indices-to-new-drive/287611/2 "2021-10-25T17:46:02Z")

</div>

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).

---

<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:** [November 22, 2021, 5:47pm UTC](https://discuss.elastic.co/t/physically-moving-indices-to-new-drive/287611/3 "2021-11-22T17:47:02Z")

</div>

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