# Saving Elasticsearch indices to drive spare drive so root drive willl not be full

**URL:** <https://discuss.elastic.co/t/saving-elasticsearch-indices-to-drive-spare-drive-so-root-drive-willl-not-be-full/61448>\
**Category:** Elasticsearch\
**Created:** [September 24, 2016, 8:19pm UTC](https://discuss.elastic.co/t/saving-elasticsearch-indices-to-drive-spare-drive-so-root-drive-willl-not-be-full/61448 "2016-09-24T20:19:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ravikumar\_G](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@Ravikumar\_G](https://discuss.elastic.co/u/Ravikumar_G)\
**Post date:** [September 25, 2016, 1:48am UTC](https://discuss.elastic.co/t/saving-elasticsearch-indices-to-drive-spare-drive-so-root-drive-willl-not-be-full/61448/5 "2016-09-25T01:48:19Z")

</div>

[root@hostelasticsearch]# pwd  
/var/lib/elasticsearch

followed steps in the link but still no luck logs still saving in above mentioned path

> [@How to move Data and Logs to new directory?](https://discuss.elastic.co/t/how-to-move-data-and-logs-to-new-directory/28382):
>
> I installed ElasticSearch using defaults. Now my /var directory is full. I'd like to move ES to a different partition on the server without losing data. Can this be done and if so, how? More specifically, I'd like to move data and logs to /spare \> Filesystem Size Used Avail Use% Mounted on /dev/sda6 969M 341M 562M 38% / devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 1.6G 15G 10% /run tmpfs 16G…

---

_[View the full topic](https://discuss.elastic.co/t/saving-elasticsearch-indices-to-drive-spare-drive-so-root-drive-willl-not-be-full/61448)._
