# Elasticsearch supports multiple not RAID 0 Data Paths?

**URL:** https://discuss.elastic.co/t/elasticsearch-supports-multiple-not-raid-0-data-paths/17530
**Category:** Elasticsearch
**Created:** [May 15, 2014, 10:57am UTC](https://discuss.elastic.co/t/elasticsearch-supports-multiple-not-raid-0-data-paths/17530 "2014-05-15T10:57:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![german23](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/german23/32/11052_2.png) [@german23](https://discuss.elastic.co/u/german23)
#### Post date: [May 15, 2014, 10:57am UTC](https://discuss.elastic.co/t/elasticsearch-supports-multiple-not-raid-0-data-paths/17530/1 "2014-05-15T10:57:20Z")

</div>

Hello,

we are currently running our Elasticsearch on 1 single node and get about  
20 Million Logs per Day(40 GB/daily indices). Since this is a much Stuff to  
handle with, the indices takes a lot of disk space on our server.

What we like to implement:

- 1 Data directory which is stored on our SSDs and contains the indices of  
the last 7 days for quick access.
- 1 Data directory which is stored on normal HDDs and contains indices of  
last 3 months for normals speed acces.
- 1 Data directory which is stored on slow 5400 rpm HDDs and contains the  
indices of the last 2 years for access if needed.

Well it´s not problem to tell ES multiple data paths but if you do this, ES  
will stripe (RAID 0) the indices on all 3 data directories.

But thats not what we want. We want do copy the indices with a script to  
the matching directories ( a index which is older than 8 days gets  
automatically moved to normal HDDs and so on).

Is there any way to make this work?

Thanks for your feedback.

--  
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/e8e34044-5895-4ccd-bac4-5ef11ea81204%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e8e34044-5895-4ccd-bac4-5ef11ea81204%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 15, 2014, 11:00am UTC](https://discuss.elastic.co/t/elasticsearch-supports-multiple-not-raid-0-data-paths/17530/2 "2014-05-15T11:00:44Z")

</div>

Assuming these are all in the same server; You can't do this unless you run  
multiple instances and then tell each instance which directory (mount) to  
store the data.

You'd then need to use something like this

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 15 May 2014 20:57, horst knete [baduncle23@hotmail.de](mailto:baduncle23@hotmail.de) wrote:

> Hello,
> 
> we are currently running our Elasticsearch on 1 single node and get about  
> 20 Million Logs per Day(40 GB/daily indices). Since this is a much Stuff to  
> handle with, the indices takes a lot of disk space on our server.
> 
> What we like to implement:
> 
> - 1 Data directory which is stored on our SSDs and contains the indices of  
> the last 7 days for quick access.
> - 1 Data directory which is stored on normal HDDs and contains indices of  
> last 3 months for normals speed acces.
> - 1 Data directory which is stored on slow 5400 rpm HDDs and contains the  
> indices of the last 2 years for access if needed.
> 
> Well it´s not problem to tell ES multiple data paths but if you do this,  
> ES will stripe (RAID 0) the indices on all 3 data directories.
> 
> But thats not what we want. We want do copy the indices with a script to  
> the matching directories ( a index which is older than 8 days gets  
> automatically moved to normal HDDs and so on).
> 
> Is there any way to make this work?
> 
> Thanks for your feedback.
> 
> --  
> 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/e8e34044-5895-4ccd-bac4-5ef11ea81204%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e8e34044-5895-4ccd-bac4-5ef11ea81204%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/e8e34044-5895-4ccd-bac4-5ef11ea81204%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e8e34044-5895-4ccd-bac4-5ef11ea81204%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEM624Yr3MpLCi2wiRmogkdozPFG5\_7WZnD3un-dEJhU\_mToiA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Yr3MpLCi2wiRmogkdozPFG5_7WZnD3un-dEJhU_mToiA%40mail.gmail.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, 1:29am UTC](https://discuss.elastic.co/t/elasticsearch-supports-multiple-not-raid-0-data-paths/17530/3 "2017-07-06T01:29:13Z")

</div>


