Monthly Archives: March 2020

How To shrink Journal Log files

Sometimes Journal Log files can take up a lot of diskspace. Here is how to make a fast cleanup

Delete logfiles and shrink until 500 MB in total size

journalctl --vacuum-size=500M

You will get an result that look like this

This freed up a lot of diskspace, but it may not have giving you as much free space as you think, if your value that you wan’t to shrink to is to low then the command will adjust to the lowest possible value

Get the size of the Journal Logs

Now here is how to see the current Journal disk usage

journalctl --disk-usage