# Why there is only one folder stored index files, when I set path.data?

**URL:** <https://discuss.elastic.co/t/why-there-is-only-one-folder-stored-index-files-when-i-set-path-data/11254>\
**Category:** Elasticsearch\
**Created:** [March 22, 2013, 4:44am UTC](https://discuss.elastic.co/t/why-there-is-only-one-folder-stored-index-files-when-i-set-path-data/11254 "2013-03-22T04:44:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hoony](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hoony](https://discuss.elastic.co/u/Hoony)\
**Post date:** [March 22, 2013, 4:44am UTC](https://discuss.elastic.co/t/why-there-is-only-one-folder-stored-index-files-when-i-set-path-data/11254/1 "2013-03-22T04:44:07Z")

</div>

Hi all,  
I set path.data parameter as follows:  
path.data: /root/elasticsearch/data/data1,  
/root/elasticsearch/data/data2, /root/elasticsearch/data/data3

```
 I found only the last folder storing the index, and when this folder 

```

was filled, the no space error was occured. Two other folder are empty.  
I wonder that why these two folder was empty?

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [March 25, 2013, 9:54pm UTC](https://discuss.elastic.co/t/why-there-is-only-one-folder-stored-index-files-when-i-set-path-data/11254/2 "2013-03-25T21:54:57Z")

</div>

Could you run

$ curl "localhost:9200/\_nodes?settings=true&pretty=true"

to make sure that path.data is really set correctly on this node? And if  
it's set correctly, please run

$ curl -XGET  
'[http://localhost:9200/\_nodes/stats?clear=true&fs=true&pretty=true](http://localhost:9200/_nodes/stats?clear=true&fs=true&pretty=true)'

to see how much disk space is available in each folder from Elasticsearch  
point of view.

On Friday, March 22, 2013 12:44:07 AM UTC-4, Hoony wrote:

> Hi all,  
> I set path.data parameter as follows:  
> path.data: /root/elasticsearch/data/data1,  
> /root/elasticsearch/data/data2, /root/elasticsearch/data/data3
> 
> ```
> I found only the last folder storing the index, and when this folder 
> 
> ```
> 
> was filled, the no space error was occured. Two other folder are empty.  
> I wonder that why these two folder was empty?

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:44am UTC](https://discuss.elastic.co/t/why-there-is-only-one-folder-stored-index-files-when-i-set-path-data/11254/3 "2017-07-06T02:44:34Z")

</div>


