# Bug in multiple enteries to path

**URL:** <https://discuss.elastic.co/t/bug-in-multiple-enteries-to-path/20711>\
**Category:** Elasticsearch\
**Created:** [November 12, 2014, 5:43pm UTC](https://discuss.elastic.co/t/bug-in-multiple-enteries-to-path/20711 "2014-11-12T17:43:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurvinder\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@Gurvinder\_Singh](https://discuss.elastic.co/u/Gurvinder_Singh)\
**Post date:** [November 12, 2014, 5:43pm UTC](https://discuss.elastic.co/t/bug-in-multiple-enteries-to-path/20711/1 "2014-11-12T17:43:50Z")

</div>

I am having an issue when I am trying to specify the path.data with  
multiple dirs as

path.data: ["/mnt/first", "/mnt/second"]

I am running multiple instances on the same machine and seeing that  
elasticsearch instance starts up with data path as

["/var/lib/elasticsearch-(instance name e.g.data)", /mnt/first",  
"/mnt/second"]

I am wondering from where elasticsearch is getting the  
/var/lib/elasticsearch-(instance name) value.

I am using ELS 1.3.5 and java version "1.7.0\_72". Any help in this  
will be of great help as this is quite annoying issue and wondering if  
anyone is using the multiple dirs in path.data at all in community. If  
yes then do they see this happening or which version of elasticsearch  
they are using.

- Gurvinder

--  
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/54639C56.9090008%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/54639C56.9090008%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![avidlearner24](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@avidlearner24](https://discuss.elastic.co/u/avidlearner24)\
**Post date:** [November 13, 2014, 7:49pm UTC](https://discuss.elastic.co/t/bug-in-multiple-enteries-to-path/20711/2 "2014-11-13T19:49:17Z")

</div>

I am seeing the same issue with 1.3.5 and wondering how should I specify  
the multiple path. As if I specify according the  
documentation [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-dir-layout.html#default-paths)  
it results in the "/var/lib/elasticsearch-(instance name e.g.data)" added  
to the path array.

On Wednesday, November 12, 2014 6:44:02 PM UTC+1, Gurvinder Singh wrote:

> I am having an issue when I am trying to specify the path.data with  
> multiple dirs as
> 
> path.data: ["/mnt/first", "/mnt/second"]
> 
> I am running multiple instances on the same machine and seeing that  
> elasticsearch instance starts up with data path as
> 
> ["/var/lib/elasticsearch-(instance name e.g.data)", /mnt/first",  
> "/mnt/second"]
> 
> I am wondering from where elasticsearch is getting the  
> /var/lib/elasticsearch-(instance name) value.
> 
> I am using ELS 1.3.5 and java version "1.7.0\_72". Any help in this  
> will be of great help as this is quite annoying issue and wondering if  
> anyone is using the multiple dirs in path.data at all in community. If  
> yes then do they see this happening or which version of elasticsearch  
> they are using.
> 
> - Gurvinder

--  
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/8c33692a-ff94-4bb1-abba-4f1a9f609a68%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8c33692a-ff94-4bb1-abba-4f1a9f609a68%40googlegroups.com).  
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:50am UTC](https://discuss.elastic.co/t/bug-in-multiple-enteries-to-path/20711/3 "2017-07-06T00:50:07Z")

</div>


