# Elasticsearch Master Node

**URL:** https://discuss.elastic.co/t/elasticsearch-master-node/118256
**Category:** Elasticsearch
**Created:** [February 2, 2018, 4:45pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256 "2018-02-02T16:45:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Gaurav\_Harsola](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Gaurav\_Harsola](https://discuss.elastic.co/u/Gaurav_Harsola)
#### Post date: [February 2, 2018, 4:45pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/1 "2018-02-02T16:45:25Z")

</div>

Where does master node store data nodes information.

Thanks  
Gaurav

---

<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 2, 2018, 5:37pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/2 "2018-02-02T17:37:34Z")

</div>

On disk. In the data dir.

---

<div class="post-metadata">

### Author: ![Gaurav\_Harsola](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Gaurav\_Harsola](https://discuss.elastic.co/u/Gaurav_Harsola)
#### Post date: [February 2, 2018, 5:51pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/3 "2018-02-02T17:51:13Z")

</div>

yeah . i got that but under /data i found only three folders tmp logs and nodes. Where exactly it store

---

<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 2, 2018, 7:44pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/4 "2018-02-02T19:44:30Z")

</div>

Under nodes/\_state IIRC.

Anyway, why do you need this?

---

<div class="post-metadata">

### Author: ![Gaurav\_Harsola](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Gaurav\_Harsola](https://discuss.elastic.co/u/Gaurav_Harsola)
#### Post date: [February 13, 2018, 10:50am UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/5 "2018-02-13T10:50:27Z")

</div>

Earlier my Master node also acts as data node and now i separated them. So i want to reduce Elastic block storage of 1000Gb to 100GB, before that i want to clean up some files on master which are occupying so much data.

---

<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 13, 2018, 11:06am UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/6 "2018-02-13T11:06:09Z")

</div>

I guess you have more than one master node, right?  
You could stop one of them, set `node.data: false`, wipe the whole data dir, then restart the master node.

It will join the cluster and ask the other master node to get the configuration.

That should work IMO.

---

<div class="post-metadata">

### Author: ![Gaurav\_Harsola](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@Gaurav\_Harsola](https://discuss.elastic.co/u/Gaurav_Harsola)
#### Post date: [February 13, 2018, 4:55pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/7 "2018-02-13T16:55:59Z")

</div>

Yes, i have three master node.

So i can stop one by one master node and clean data directory and restart master node. right ??

---

<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 13, 2018, 10:48pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/8 "2018-02-13T22:48:53Z")

</div>

That should work

---

<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 13, 2018, 10:49pm UTC](https://discuss.elastic.co/t/elasticsearch-master-node/118256/9 "2018-03-13T22:49:11Z")

</div>

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