Diagnostic step 1
Run 'sudo -u elasticsearch java -XshowSettings:properties -version' is not needed; instead use a small Java snippet (or use Python os.statvfs) running as the elasticsearch user to print usable space: e.g., 'sudo -u elasticsearch python3 - <<'PY' import os s=os.statvfs("/var/lib/elasticsearch") print(s.f_bavail*s.f_frsize) PY' This shows the same metric Java would see. Do not modify files yet.