# Master and data nodes using the same data path?

**URL:** https://discuss.elastic.co/t/master-and-data-nodes-using-the-same-data-path/105867
**Category:** Elasticsearch
**Created:** [October 31, 2017, 10:39am UTC](https://discuss.elastic.co/t/master-and-data-nodes-using-the-same-data-path/105867 "2017-10-31T10:39:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)
#### Post date: [October 31, 2017, 10:39am UTC](https://discuss.elastic.co/t/master-and-data-nodes-using-the-same-data-path/105867/1 "2017-10-31T10:39:10Z")

</div>

The docs;

> **[Node | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html)**

state that

> Blockquote  
> Never run different node types (i.e. master, data) from the same data directory. This can lead to unexpected data loss.

Does anyone have an further insight into "unexpected data loss" ? and how it might manifest itself.

Also, if nodes of different types are sharing a data directory, what is the best approach to migrate them to separate directories ?

---

<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: [November 28, 2017, 10:39am UTC](https://discuss.elastic.co/t/master-and-data-nodes-using-the-same-data-path/105867/2 "2017-11-28T10:39:50Z")

</div>

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