# Elasticsearch wich SAN storage?

**URL:** <https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240>\
**Category:** Elasticsearch\
**Created:** [July 12, 2019, 12:46pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240 "2019-07-12T12:46:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [July 12, 2019, 12:46pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/1 "2019-07-12T12:46:28Z")

</div>

Hi,

is it supported to run elaticsearch against a mounted SAN storage?

Thanks,  
Andreas

---

<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:** [July 12, 2019, 1:38pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/2 "2019-07-12T13:38:09Z")

</div>

It's not recommended.

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [July 12, 2019, 1:40pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/3 "2019-07-12T13:40:00Z")

</div>

Thanks for the reply. Not recommended because local disks should be faster, or may I become any consistency issues / other problems?

---

<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:** [July 12, 2019, 1:42pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/4 "2019-07-12T13:42:08Z")

</div>

See [Tune for indexing speed | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-indexing-speed.html#_use_faster_hardware)

> If indexing is I/O bound, you should investigate giving more memory to the filesystem cache (see above) or buying faster drives. In particular SSD drives are known to perform better than spinning disks. Always use local storage, remote filesystems such as `NFS` or `SMB` should be avoided. Also beware of virtualized storage such as Amazon’s `Elastic Block Storage` . Virtualized storage works very well with Elasticsearch, and it is appealing since it is so fast and simple to set up, but it is also unfortunately inherently slower on an ongoing basis when compared to dedicated local storage. If you put an index on `EBS` , be sure to use provisioned IOPS otherwise operations could be quickly throttled.

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [July 12, 2019, 1:49pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/5 "2019-07-12T13:49:23Z")

</div>

Thanks, as I read it, it is mostly on performance. I agree that I should avoid anything via Ethernet like NAS or SMB.  
That's why I asked for SAN (via FibreChannel) which should be much faster than a NAS - at least our storage guys say so.

---

<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:** [July 12, 2019, 2:24pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/6 "2019-07-12T14:24:57Z")

</div>

If your SAN is faster than the local drives, then that could be an option.  
Note that to be totally safe, you should have 2 SAN and make sure that elasticsearch does not allocate primaries and replicas on the same SAN.

I know that theorically nothing should go wrong but my experience is different 🙂

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [July 12, 2019, 2:28pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/7 "2019-07-12T14:28:22Z")

</div>

ok, then we will start with that option and keep keep the local option in mind if we encounter performance issues.

Thanks and have a nice weekend

---

<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:** [August 9, 2019, 2:28pm UTC](https://discuss.elastic.co/t/elasticsearch-wich-san-storage/190240/8 "2019-08-09T14:28:30Z")

</div>

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