I would like to ask an assistance on how to properly change the store data of Elastic Search and logs. I attached luns on UBUNTU
drwxr-xr-x 5 timawa timawa 4096 Nov 8 00:29 GrayLogsLUNS
drwxr-xr-x 4 timawa timawa 4096 Nov 8 00:29 var
drwxr-xr-x 3 timawa timawa 4096 Nov 8 00:29 lib
drwxr-xr-x 3 timawa timawa 4096 Nov 8 00:29 log
ls -la /media/timawa/GrayLogsLUNS/var/lib/elasticsearch
drwxr-xr-x 2 timawa timawa 4096 Nov 8 00:29 .
drwxr-xr-x 3 timawa timawa 4096 Nov 8 00:29 …
I tried the following suggested solution by the member of this community but I’m still encountering the error.
"You must assure elasticsearch has permissions on this folder.
If it’s running not under timawa user then r-x means it can’t write into it
Usually it’s running under elasticsearch, so maybe you just can change ownership?
chown elasticsearch:elasticsearch /media/timawa/GrayLogsLUNS/var/lib/elasticsearch
chown elasticsearch:elasticsearch /media/timawa/GrayLogsLUNS/var/log/elasticsearch"