Influxdb partition is full


/var/lib/influxdb is 100% use

What is the process of fixing this?
Should I stop the service, delete old data and restart the service?
Do you have an example of such command and would it still run successfully since influxdb partition has no free space left?
Is there any way this cleanup is done automatically or how can I do it/check?