# How to increase \`path.data\` for more space?

**URL:** <https://discuss.elastic.co/t/how-to-increase-path-data-for-more-space/39959>\
**Category:** Elasticsearch\
**Created:** [January 23, 2016, 9:32pm UTC](https://discuss.elastic.co/t/how-to-increase-path-data-for-more-space/39959 "2016-01-23T21:32:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![klahnakoski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klahnakoski/32/3679_2.png) [@klahnakoski](https://discuss.elastic.co/u/klahnakoski)\
**Post date:** [January 23, 2016, 9:32pm UTC](https://discuss.elastic.co/t/how-to-increase-path-data-for-more-space/39959/1 "2016-01-23T21:32:06Z")

</div>

I am running out of drive space! I would like to add another volume, and map it to a directory. I would like to change my \*.yml line from

```
path.data: /data1, /data2, /data3

```

to

```
path.data: /data1, /data2, /data3, /data4

```

but then I just loose shards [1]

Suggestions?

[1] [How to get back my Primary shards?](https://discuss.elastic.co/t/how-to-get-back-my-primary-shards/39954)

---

<div class="post-metadata">

**Author:** ![klahnakoski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klahnakoski/32/3679_2.png) [@klahnakoski](https://discuss.elastic.co/u/klahnakoski)\
**Post date:** [January 25, 2016, 12:44am UTC](https://discuss.elastic.co/t/how-to-increase-path-data-for-more-space/39959/2 "2016-01-25T00:44:43Z")

</div>

Version 2.0+ can handle increased `path.data`, I was using 1.7.1

---

<div class="post-metadata">

**Author:** ![bleskes](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@bleskes](https://discuss.elastic.co/u/bleskes)\
**Post date:** [January 25, 2016, 1:34pm UTC](https://discuss.elastic.co/t/how-to-increase-path-data-for-more-space/39959/3 "2016-01-25T13:34:46Z")

</div>

I just replied on that other thread. This should be possible. Is it reproducing for you? can you share your reproduction?

---

<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 5, 2017, 11:21pm UTC](https://discuss.elastic.co/t/how-to-increase-path-data-for-more-space/39959/4 "2017-07-05T23:21:56Z")

</div>


