# Use CephFS as Elasticsearch data storage

**URL:** <https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324>\
**Category:** Elasticsearch\
**Created:** [March 7, 2019, 2:23pm UTC](https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324 "2019-03-07T14:23:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TWalter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twalter/32/41239_2.png) [@TWalter](https://discuss.elastic.co/u/TWalter)\
**Post date:** [March 7, 2019, 2:23pm UTC](https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324/1 "2019-03-07T14:23:53Z")

</div>

Hello guys,

i want to deploy an Elasticsearch cluster (3 Nodes, ES-Version: 6.x) on Kubernetes and want to know, which storage types are efficient to use for data.

Do you think CephFS would be a proper solution or is it better, to store the data on physical hard disks without a distributed filesystem as abstraction?

Thanks 😉

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 7, 2019, 2:42pm UTC](https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324/2 "2019-03-07T14:42:55Z")

</div>

> [@TWalter](#):
>
> Do you think CephFS would be a proper solution or is it better, to store the data on physical hard disks without a distributed filesystem as abstraction?

It is better to store the data on physical hard disks without a distributed filesystem as abstraction. I don't know of any tests of Elasticsearch on CephFS (for either performance or correctness) but I do know that Elasticsearch is extensively tested against physical disks.

---

<div class="post-metadata">

**Author:** ![TWalter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/twalter/32/41239_2.png) [@TWalter](https://discuss.elastic.co/u/TWalter)\
**Post date:** [March 7, 2019, 2:50pm UTC](https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324/3 "2019-03-07T14:50:22Z")

</div>

Thx @DavidTurner 🙂

Do you know, if there would be any impact on the performance of the CEPH system itself?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [March 7, 2019, 2:56pm UTC](https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324/4 "2019-03-07T14:56:25Z")

</div>

No, I don't know. As I said, I don't know of any tests at all using CephFS with Elasticsearch. You can almost certainly use [Rally](https://github.com/elastic/rally) to perform your own experiments.

---

<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:** [April 4, 2019, 2:56pm UTC](https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324/5 "2019-04-04T14:56:30Z")

</div>

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