# Index.data\_path support

**URL:** https://discuss.elastic.co/t/index-data-path-support/159341
**Category:** Elasticsearch
**Created:** [December 4, 2018, 10:51am UTC](https://discuss.elastic.co/t/index-data-path-support/159341 "2018-12-04T10:51:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![coolkrishnan](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@coolkrishnan](https://discuss.elastic.co/u/coolkrishnan)
#### Post date: [December 4, 2018, 10:51am UTC](https://discuss.elastic.co/t/index-data-path-support/159341/1 "2018-12-04T10:51:24Z")

</div>

In ES 6.2, I wanted to store the data of a particular index in its own directory. To do it, I tried creating a mapping:

```
PUT kings
{
    "settings" : {
        "index" : {
            "number_of_shards" : 3, 
            "number_of_replicas" : 1,
            "data_path": "/tmp/dummy"
        }
    }
}

```

I got an error "path.shared\_data must be set in order to use custom data paths". Has the feature added by [https://github.com/elastic/elasticsearch/pull/9033](https://github.com/elastic/elasticsearch/pull/9033) been deprecated or changed ? It appears so, as ElasticSearch refuses to start when I add  
node.enable\_custom\_paths: true to elasticsearch.yml.

---

<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: [January 1, 2019, 10:51am UTC](https://discuss.elastic.co/t/index-data-path-support/159341/2 "2019-01-01T10:51:28Z")

</div>

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