首先关于这个问题本人已经持续关注很长时间了,先说结果——elasticsearch(ES)不适合不适合不适合使用分布式存储。测试环境当然无所谓!!!
以下是相关资料的链接(持续更新):
Always use local storage, remote filesystems such as NFS
or SMB
should be avoided.
2.https://discuss.elastic.co/t/elasticsearch-support-for-ceph-storage/195551
As far as I know Elasticsearch does not support ceph storage.
3.https://discuss.elastic.co/t/use-cephfs-as-elasticsearch-data-storage/171324
It is better to store the data on physical hard disks without a distributed filesystem as abstraction.
4.https://discuss.elastic.co/t/java-nio-file-filesystemexception/138160
OMG. This not supported.
如果有任何一个ES官方人员说生产环境中可以使用分布式存储,本人将删除此文。