Skip to content

Commit ac1ce3e

Browse files
authored
[DOCS] Note only ES should lock path.data files (#73596) (#73611)
If another service, such as an antivirus or backup program, opens and locks files in the `path.data` directory, Elasticsearch may return errors.
1 parent 9a87ff5 commit ac1ce3e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/reference/setup/important-settings/path-settings.asciidoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ subdirectories of `$ES_HOME` by default. However, files in `$ES_HOME` risk
1212
deletion during an upgrade.
1313

1414
In production, we strongly recommend you set the `path.data` and `path.logs` in
15-
`elasticsearch.yml` to locations outside of `$ES_HOME`.
16-
17-
TIP: <<docker,Docker>>, <<deb,Debian>>, <<rpm,RPM>>, <<brew,macOS Homebrew>>,
18-
and <<windows,Windows `.msi`>> installations write data and log to locations
19-
outside of `$ES_HOME` by default.
15+
`elasticsearch.yml` to locations outside of `$ES_HOME`. <<docker,Docker>>,
16+
<<deb,Debian>>, <<rpm,RPM>>, <<brew,macOS Homebrew>>, and <<windows,Windows
17+
`.msi`>> installations write data and log to locations outside of `$ES_HOME` by
18+
default.
19+
20+
IMPORTANT: To avoid errors, only {es} should open files in the `path.data`
21+
directory. Exclude the `path.data` directory from other services that may open
22+
and lock its files, such as antivirus or backup programs.
2023

2124
Supported `path.data` and `path.logs` values vary by platform:
2225

0 commit comments

Comments
 (0)