Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

About once every other day I receive a warning about low disk space in /home. When I open the Disk Usage Analyzer it says my largest folder /home/chris/Music occupies the most space at 72% of 26.6GB, but it doesn't show what file(s) is causing this to occur. When I reboot my system I have enough space again. Yes /home is on a separate partition. I partitioned my system so I could switch distributions if I needed to leaving /var and /home as is. There must be some log file that builds up over time and causes this problem and then gets pruned when I reboot the system, but I can't seem to find it!

Please help. I am running Ubuntu 12 w/ Gnome3. The current work-around of rebooting is getting annoying!

share|improve this question
add comment

1 Answer

Give du ~ -h | sort -h a try. That will allow you to locate the file(s), or at least see what's taking up your space, intended or not.

Edited for the sort, that should make it much easier to read.

share|improve this answer
    
Still not sure what file is eating up space. That command doesn't show it. Just got another warning: Low Disk Space on "home" –  systematical Mar 17 '13 at 21:17
    
Yeah, that makes sense, it only shows directories the way I wrote it, my mistake. Run it like this: du ~ -ah | sort -h > ~/Desktop/filesizes.log. That will give you a logfile on your desktop of file sizes too (it will unfortunately still include directory sizes.) Perhaps looking at that will help you find it. The additional -a option is for "all", as in files too, not just directories. –  Gary Mar 18 '13 at 23:26
add comment

Your Answer

 
discard

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.