# Store indices on several disk partitions?

**URL:** <https://discuss.elastic.co/t/store-indices-on-several-disk-partitions/10637>\
**Category:** Elasticsearch\
**Created:** [February 6, 2013, 1:38pm UTC](https://discuss.elastic.co/t/store-indices-on-several-disk-partitions/10637 "2013-02-06T13:38:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Clozel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brian_clozel/32/2448_2.png) [@Brian\_Clozel](https://discuss.elastic.co/u/Brian_Clozel)\
**Post date:** [February 6, 2013, 1:38pm UTC](https://discuss.elastic.co/t/store-indices-on-several-disk-partitions/10637/1 "2013-02-06T13:38:53Z")

</div>

Hello there,

I was thinking about storing indices files on several disk partitions.  
Why? Because some indices will be huge and "low risk" (indexing logs) and  
others won't be that big but will be sensitive.  
That would allow me to set different alert levels on partition usage, and  
maybe make things safer for index files?

So my questions:

1. Is storing indices on different partitions (on the same physical disk)  
doable/a good idea?  
Or could it trigger problems with cluster state?  
Maybe there's no point at all?

2. How would you achieve it? Symlinks?

Thanks!

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![drewr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewr/32/7803_2.png) [@drewr](https://discuss.elastic.co/u/drewr)\
**Post date:** [February 6, 2013, 5:53pm UTC](https://discuss.elastic.co/t/store-indices-on-several-disk-partitions/10637/2 "2013-02-06T17:53:46Z")

</div>

Brian Clozel wrote:

> I was thinking about storing indices files on several disk  
> partitions. Why? Because some indices will be huge and "low risk"  
> (indexing logs) and others won't be that big but will be sensitive.  
> That would allow me to set different alert levels on partition  
> usage, and maybe make things safer for index files?
> 
> So my questions:
> 
> 1. Is storing indices on different partitions (on the same physical disk)  
> doable/a good idea?  
> Or could it trigger problems with cluster state?  
> Maybe there's no point at all?

It's no problem operationally, although there will probably be little  
value in it. If it makes your life easier monitoring disk usage, go  
for it. It won't affect cluster state and probably won't have any  
effect on performance.

That said, operating systems and hdd/ssds are complicated things  
nowadays and it could dramatically help or hinder either way. It's  
always best to profile it with a large amount of your data.

> 1. How would you achieve it? Symlinks?

You can use symlinks, but check out the multiple data locations  
example here:

> **[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.

-Drew

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:52am UTC](https://discuss.elastic.co/t/store-indices-on-several-disk-partitions/10637/3 "2017-07-06T02:52:43Z")

</div>

Closed on July 6, 2017, 2:52am UTC


