Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch: Unable to restart the service because no space left on device

I am running a single node ES 2.X on a centOS aws instance

The ES service refuses to start because of - No space left on device error and unless the service starts, I can't run a snapshot & delete script that I have written.

Is there anyway I can restart the service? It would be helpful if you could give me pointers to monitor the size growth so that I don't end up in this situation again.

P.S: All the help online suggests deleting files to restart, but I am not sure what files to delete.

like image 232
Atty Avatar asked Dec 20 '25 14:12

Atty


1 Answers

You can delete all of your elasticsearch data in /var/lib/elasticsearch. You can also create one more elasticsearch node and add it to your cluster, part of data will migrate to this node.
I never worked with aws so I can't help you with aws-specific monitoring solutions. We use Zabbix on our cluster for monitoring

like image 102
Darth Kotik Avatar answered Dec 23 '25 06:12

Darth Kotik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!