filled partitions

sysadmin There are several cases in which your /var partition can reach 100% usage; the last situation I had to face was a broken backup media that flood the system logs with a ton of errors.

Usually, getting rid of these monstrous sized logs is the quickest way to get some free space back, but I am not inclined to delete logs. A better approach, in my opinion, is to force a log rotation, which usually led, more or less, to the same result.

On a Debian system you can trigger the following cron script manually:

$ /etc/cron.daily/sysklogd

and your system logs get immediately rotated.

Filed under debian sysadmin unix

glider [ minitrack ] ikiwiki Creative Commons VIM powered