Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a 80 GB HDD without any partitions. One day I realised that I have lost most of my free disk space. I discovered that /var/log/kern.log.1 takes up 25 GB of space and there is no delete option for that file.

Here is a screenshot of the problem.

I am new to Ubuntu/Linux. Please Help. Thank You.

share|improve this question
How large are the other kern.log-files in this directory? Is kern.log.1 the only large file? – qbi Jan 10 '13 at 8:15
yes kern.log.1 is the only large file, others are in the range of few mb – Abhishek Prakash Jan 11 '13 at 8:13
In general it might be save to delete the file as @elias suggested. However such a large log is usually a hint that there is or was a problem. So you should monitor if your system produces such a large file again. If yes, you should look into the file. – qbi Jan 11 '13 at 11:15
up vote 1 down vote accepted

You should be fine removing that file, cause it's an already rotated log. As you need root permissions to do that, you won't have an option in the GUI to delete that file.

You can do it from the command line:

sudo rm /var/log/kern.log.1

Each time you boot, log files will be created and rotated again, so you should probably watch for the next kern.log.* file sizes. Related bug report on Launchpad:

share|improve this answer
It worked for me. Thank you very much but i was unable to open the link you provided. – Abhishek Prakash Jan 11 '13 at 8:17
You're welcome. That's alright, that link is just a bug reported by other users with the same problem. If you liked my answer, you can mark it as accepted by clicking the V mark besides it. – elias Jan 11 '13 at 10:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.