# Query about elasticsearch nodes

**URL:** <https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879>\
**Category:** Elasticsearch\
**Created:** [February 11, 2019, 3:06pm UTC](https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879 "2019-02-11T15:06:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cghosh](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cghosh](https://discuss.elastic.co/u/cghosh)\
**Post date:** [February 11, 2019, 3:06pm UTC](https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879/1 "2019-02-11T15:06:15Z")

</div>

Hi,

I have 4 instances. One of the instance has 3 nodes like below and others has only one node.

Instance 1:  
/var/lib/elasticsearch/elasticsearch/nodes/0  
/var/lib/elasticsearch/elasticsearch/nodes/1  
/var/lib/elasticsearch/elasticsearch/nodes/2

Instance 2, Instance 3 and instance 4 has like below:  
/var/lib/elasticsearch/elasticsearch/nodes/0

Can anyone tell me why Instance1 has multiple nodes? What does it means?

if I run the \_nodes/stats/fs api, it's just showing only this path /var/lib/elasticsearch/elasticsearch/nodes/0 for instance1. Why its not showing for nodes/1 and nodes/2?

ES version - 2.3.3

NOTE:  
Sometimes back, disk for instance1 got full.

Regards,  
Chinmoy

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 11, 2019, 3:27pm UTC](https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879/2 "2019-02-11T15:27:06Z")

</div>

It's because you started the process 3 times on the same machine.

Fortunately recent versions of elasticsearch are preventing such problems. That's why you should try to keep up to date your system.

---

<div class="post-metadata">

**Author:** ![cghosh](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cghosh](https://discuss.elastic.co/u/cghosh)\
**Post date:** [February 11, 2019, 6:20pm UTC](https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879/3 "2019-02-11T18:20:36Z")

</div>

Thanks for clarification. I will upgrade the ES version all the instances.

Can you tell me how to clean up nodes/1 and nodes/2 directory as its occupied some disk space?  
Is there any impact if I remove nodes/1 and nodes/2 directory manually after stopping the ES service gracefully and then start ES service again on instance1?

Thanks,  
Chinmoy

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 11, 2019, 8:04pm UTC](https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879/4 "2019-02-11T20:04:15Z")

</div>

Yeah remove those directories.  
Just make sure you have all indices with replicas set to 1 so you have a copy of your data in the other machine.  
Or be prepared to loose some data.

---

<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:** [March 11, 2019, 8:04pm UTC](https://discuss.elastic.co/t/query-about-elasticsearch-nodes/167879/5 "2019-03-11T20:04:24Z")

</div>

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