Does elasticsearch not support nfs as data directory?

es: 7.17.3
I mount the nfs path locally, and then point the es data directory to the location of the nfs, but the es startup fails, if I change the es data directory to a local partition (var/lib/elasticsearch) , then es can work.

Does this mean that es doesn't support nfs as a data directory?

mount -t nfs -o vers=3,nolock 10.0.0.1:/290e0e30-a7d1-4f79-a60d-d5c6870cf18a /mnt
chown -R elasticsearch:elasticsearch /mnt/nfs
[2022-08-05T01:30:00,002][INFO ][o.e.x.m.MlDailyMaintenanceService] [kaiqi-ubuntu] triggering scheduled [ML] maintenance tasks
[2022-08-05T01:30:00,197][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [kaiqi-ubuntu] Deleting expired data
[2022-08-05T01:30:00,338][INFO ][o.e.x.m.j.r.UnusedStatsRemover] [kaiqi-ubuntu] Successfully deleted [0] unused stats documents
[2022-08-05T01:30:00,339][INFO ][o.e.x.m.a.TransportDeleteExpiredDataAction] [kaiqi-ubuntu] Completed deletion of expired ML data
[2022-08-05T01:30:00,340][INFO ][o.e.x.m.MlDailyMaintenanceService] [kaiqi-ubuntu] Successfully completed [ML] maintenance task: triggerDeleteExpiredDataTask
[2022-08-05T09:30:00,025][INFO ][o.e.x.s.SnapshotRetentionTask] [kaiqi-ubuntu] starting SLM retention snapshot cleanup task
[2022-08-05T09:30:00,027][INFO ][o.e.x.s.SnapshotRetentionTask] [kaiqi-ubuntu] there are no repositories to fetch, SLM retention snapshot cleanup task complete
[2022-08-05T10:26:51,661][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] stopping ...
[2022-08-05T10:26:51,671][INFO ][o.e.x.w.WatcherService   ] [kaiqi-ubuntu] stopping watch service, reason [shutdown initiated]
[2022-08-05T10:26:51,671][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [kaiqi-ubuntu] [controller/6489] [Main.cc@174] ML controller exiting
[2022-08-05T10:26:51,672][INFO ][o.e.x.w.WatcherLifeCycleService] [kaiqi-ubuntu] watcher has stopped and shutdown
[2022-08-05T10:26:51,672][INFO ][o.e.x.m.p.NativeController] [kaiqi-ubuntu] Native controller process has stopped - no new native processes can be started
[2022-08-05T10:26:51,912][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] stopped
[2022-08-05T10:26:51,912][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] closing ...
[2022-08-05T10:26:51,968][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] closed
[2022-08-05T10:27:17,430][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] version[7.17.3], pid[161846], build[default/deb/5ad023604c8d7416c9eb6c0eadb62b14e766caff/2022-04-19T08:11:19.070913226Z], OS[Linux/5.4.0-70-generic/amd64], JVM[Eclipse Adoptium/OpenJDK 64-Bit Server VM/18/18+36]
[2022-08-05T10:27:17,439][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] JVM home [/usr/share/elasticsearch/jdk], using bundled JDK [true]
[2022-08-05T10:27:17,440][INFO ][o.e.n.Node               ] [kaiqi-ubuntu] JVM arguments [-Xshare:auto, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -XX:+ShowCodeDetailsInExceptionMessages, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -Djava.security.manager=allow, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-6995569334266229505, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=/var/lib/elasticsearch, -XX:ErrorFile=/var/log/elasticsearch/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/elasticsearch/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms993m, -Xmx993m, -XX:MaxDirectMemorySize=521142272, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.path.home=/usr/share/elasticsearch, -Des.path.conf=/etc/elasticsearch, -Des.distribution.flavor=default, -Des.distribution.type=deb, -Des.bundled_jdk=true]
[2022-08-05T10:27:21,096][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [aggs-matrix-stats]
[2022-08-05T10:27:21,097][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [analysis-common]
[2022-08-05T10:27:21,098][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [constant-keyword]
[2022-08-05T10:27:21,098][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [frozen-indices]
[2022-08-05T10:27:21,099][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [ingest-common]
[2022-08-05T10:27:21,099][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [ingest-geoip]
[2022-08-05T10:27:21,099][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [ingest-user-agent]
[2022-08-05T10:27:21,099][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [kibana]
[2022-08-05T10:27:21,100][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [lang-expression]
[2022-08-05T10:27:21,100][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [lang-mustache]
[2022-08-05T10:27:21,100][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [lang-painless]
[2022-08-05T10:27:21,100][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [legacy-geo]
[2022-08-05T10:27:21,101][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [mapper-extras]
[2022-08-05T10:27:21,101][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [mapper-version]
[2022-08-05T10:27:21,101][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [parent-join]
[2022-08-05T10:27:21,102][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [percolator]
[2022-08-05T10:27:21,102][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [rank-eval]
[2022-08-05T10:27:21,102][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [reindex]
[2022-08-05T10:27:21,102][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [repositories-metering-api]
[2022-08-05T10:27:21,103][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [repository-encrypted]
[2022-08-05T10:27:21,103][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [repository-url]
[2022-08-05T10:27:21,103][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [runtime-fields-common]
[2022-08-05T10:27:21,103][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [search-business-rules]
[2022-08-05T10:27:21,103][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [searchable-snapshots]
[2022-08-05T10:27:21,104][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [snapshot-repo-test-kit]
[2022-08-05T10:27:21,104][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [spatial]
[2022-08-05T10:27:21,104][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [systemd]
[2022-08-05T10:27:21,104][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [transform]
[2022-08-05T10:27:21,105][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [transport-netty4]
[2022-08-05T10:27:21,105][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [unsigned-long]
[2022-08-05T10:27:21,105][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [vector-tile]
[2022-08-05T10:27:21,105][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [vectors]
[2022-08-05T10:27:21,106][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [wildcard]
[2022-08-05T10:27:21,106][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-aggregate-metric]
[2022-08-05T10:27:21,106][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-analytics]
[2022-08-05T10:27:21,106][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-async]
[2022-08-05T10:27:21,106][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-async-search]
[2022-08-05T10:27:21,107][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-autoscaling]
[2022-08-05T10:27:21,107][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-ccr]
[2022-08-05T10:27:21,107][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-core]
[2022-08-05T10:27:21,107][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-data-streams]
[2022-08-05T10:27:21,108][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-deprecation]
[2022-08-05T10:27:21,108][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-enrich]
[2022-08-05T10:27:21,108][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-eql]
[2022-08-05T10:27:21,108][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-fleet]
[2022-08-05T10:27:21,109][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-graph]
[2022-08-05T10:27:21,109][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-identity-provider]
[2022-08-05T10:27:21,109][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-ilm]
[2022-08-05T10:27:21,109][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-logstash]
[2022-08-05T10:27:21,110][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-ml]
[2022-08-05T10:27:21,110][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-monitoring]
[2022-08-05T10:27:21,110][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-ql]
[2022-08-05T10:27:21,110][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-rollup]
[2022-08-05T10:27:21,110][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-security]
[2022-08-05T10:27:21,111][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-shutdown]
[2022-08-05T10:27:21,111][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-sql]
[2022-08-05T10:27:21,111][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-stack]
[2022-08-05T10:27:21,111][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-text-structure]
[2022-08-05T10:27:21,112][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-voting-only-node]
[2022-08-05T10:27:21,112][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] loaded module [x-pack-watcher]
[2022-08-05T10:27:21,112][INFO ][o.e.p.PluginsService     ] [kaiqi-ubuntu] no plugins loaded
[2022-08-05T10:27:43,720][ERROR][o.e.b.Bootstrap          ] [kaiqi-ubuntu] Exception
java.lang.IllegalStateException: failed to obtain node locks, tried [[/mnt/nfs]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
	at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:328) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:429) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) [elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166) [elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157) [elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) [elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) [elasticsearch-cli-7.17.3.jar:7.17.3]
	at org.elasticsearch.cli.Command.main(Command.java:77) [elasticsearch-cli-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122) [elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) [elasticsearch-7.17.3.jar:7.17.3]
Caused by: java.io.IOException: failed to obtain lock on /mnt/nfs/nodes/0
	at org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:236) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:298) ~[elasticsearch-7.17.3.jar:7.17.3]
	... 12 more
Caused by: java.io.IOException: Input/output error
	at sun.nio.ch.FileDispatcherImpl.lock0(Native Method) ~[?:?]
	at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:96) ~[?:?]
	at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1328) ~[?:?]
	at java.nio.channels.FileChannel.tryLock(FileChannel.java:1191) ~[?:?]
	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126) ~[lucene-core-8.11.1.jar:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:46:43]
	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41) ~[lucene-core-8.11.1.jar:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:46:43]
	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45) ~[lucene-core-8.11.1.jar:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:46:43]
	at org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:229) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:298) ~[elasticsearch-7.17.3.jar:7.17.3]
	... 12 more
[2022-08-05T10:27:43,748][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [kaiqi-ubuntu] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to obtain node locks, tried [[/mnt/nfs]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112) ~[elasticsearch-cli-7.17.3.jar:7.17.3]
	at org.elasticsearch.cli.Command.main(Command.java:77) ~[elasticsearch-cli-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80) ~[elasticsearch-7.17.3.jar:7.17.3]
Caused by: java.lang.IllegalStateException: failed to obtain node locks, tried [[/mnt/nfs]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
	at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:328) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:429) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166) ~[elasticsearch-7.17.3.jar:7.17.3]
	... 6 more
Caused by: java.io.IOException: failed to obtain lock on /mnt/nfs/nodes/0
	at org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:236) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:298) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:429) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166) ~[elasticsearch-7.17.3.jar:7.17.3]
	... 6 more
Caused by: java.io.IOException: Input/output error
	at sun.nio.ch.FileDispatcherImpl.lock0(Native Method) ~[?:?]
	at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:96) ~[?:?]
	at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1328) ~[?:?]
	at java.nio.channels.FileChannel.tryLock(FileChannel.java:1191) ~[?:?]
	at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126) ~[lucene-core-8.11.1.jar:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:46:43]
	at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41) ~[lucene-core-8.11.1.jar:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:46:43]
	at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45) ~[lucene-core-8.11.1.jar:8.11.1 0b002b11819df70783e83ef36b42ed1223c14b50 - janhoy - 2021-12-14 13:46:43]
	at org.elasticsearch.env.NodeEnvironment$NodeLock.<init>(NodeEnvironment.java:229) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.env.NodeEnvironment.<init>(NodeEnvironment.java:298) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:429) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.node.Node.<init>(Node.java:309) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434) ~[elasticsearch-7.17.3.jar:7.17.3]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166) ~[elasticsearch-7.17.3.jar:7.17.3]
	... 6 more

The storage must behave like local storage so how you mount it will matter. Be aware that networked storage can cause performance problems as Elasticsearch can be very I/O intensive.

3 Likes

Thank you for your explanation. Leaving aside performance issues, the result is the same as what I thought. ES supports both local and remote storage.

So, are there any restrictions on the underlying storage layer behind NFS? I remember that ES doesn't seem to support GlusterFS.

As long as it behaves like local storage and gives you the performance you want, Elasticsearch doesn't care. See these docs for more information.

GlusterFS had some bugs that caused data corruption in the past (i.e. it did not behave like a local filesystem) but as long as these bugs are all fixed then it should work. That said, IMO it's pointless to put a distributed system like Elasticsearch on top of a distributed filesystem, and it's still a bit of a risky choice (this filesystem is relatively new as filesystems go, and rather complex, and Elastic doesn't run any tests on it) but it's your data that's at risk so ultimately the choice is yours.

2 Likes

The error came from a NAS service in a public cloud, I just started a single node as a test, and then the above error appeared. If it is successful, I only plan to use only one NAS for one es node, and the cost will be lower. I have seen the results of NAS IOPS, and the performance is not very slow.

How was this measured? Often high IOPS numbers are achieved by performing large consecutive reads and/or writes. Note that this is not necessarily representative of Elasticsearch disk I/O patterns, so may be misleading. Elasticsearch does a fair bit of small reads and writes where latency is important.

The IOPS data is provided by the public cloud manufacturer. At first, I wanted to do a test myself, but using the NAS storage path caused the ES to fail to start. I contacted the public cloud manufacturer, and they reported that it is not recommended to use their NAS service as the ES storage.

I probably understand the result, so close the post for now.

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