Covers questions related to file space usage—space used under a particular directory or files on a file system.
Questions tagged [disk-usage]
1210 questions
762
votes
18 answers
How do I find the amount of free space on my hard drive?
Is there a way to quickly check the amount of free / used disk space in Ubuntu?
I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but there is no such option.
greg
- 10,073
- 4
- 18
- 15
638
votes
23 answers
How do I free up more space in /boot?
My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version that came with the automatic updates.
After…
user6722
- 6,655
- 3
- 16
- 13
288
votes
13 answers
What's a command line way to find large files/directories to remove and free up space?
Looking for a series of commands that will show me the largest files on a drive.
Ryan Detzel
- 3,021
- 2
- 16
- 7
268
votes
4 answers
Big /var/log/journal?
I don't understand why the /var/log/journal/ folder is so big.
For example, by executing the command systemctl -f, i see the fill.
If I click on an email on Thunderbird, it generates dozens of lines that I consider useless.
Currently, I have more…
Bristow
- 2,722
- 2
- 7
- 10
195
votes
9 answers
How to find out how much disk space is remaining?
What is the command to find out how much disk space is being used/remaining?
hawkeye
- 3,827
- 6
- 28
- 27
195
votes
5 answers
Why doesn't this show the hidden files/folders?
I was looking through my system with du -sch ./* to find the big useless files I may have stockpiled with no reason, when I found this:
$ du -sch ./*
du: cannot read directory ‘./drbunsen/.gvfs’: Permission denied
du: cannot read directory…
Dr_Bunsen
- 4,663
- 4
- 27
- 40
193
votes
2 answers
How to get disk usage from command line?
How can I get the current disk usage (in %) of my hard drive from the command line?
Olivier Lalonde
- 57,431
- 62
- 125
- 146
182
votes
13 answers
No more disk space: How can I find what is taking up the space?
I've run into a problem on one of my servers running 16.04: there is no disk space left.
I have no idea what is taking up the space. Is there a command to list the current directory sizes, so I can traverse and end up in the directory taking up all…
Karl Morrison
- 9,116
- 22
- 58
- 91
148
votes
7 answers
Can't upgrade due to low disk space on /boot
I try to do do-release-upgrade
but then I get:
Not enough free disk space
The upgrade has aborted. The upgrade needs a total of 25.7 M free
space on disk '/boot'. Please free at least an additional 25.7 M of
disk space on '/boot'. Empty your…
clamp
- 1,679
- 3
- 15
- 17
102
votes
3 answers
How can I check disk space used in a partition using the terminal in Ubuntu 12.04 LTS?
I am using Ubuntu 12.04 LTS and I was wondering if there is a command that can tell the space used in a partition using the terminal. Like I want to use the su command to change to a user called admin (it is named admin). So I typed :
su…
Jatttt
- 2,287
- 12
- 31
- 43
95
votes
7 answers
How can I free space from a massive 39.5GB /var/log/ folder?
I just got a message from the default disk analyses software (Baobab)
that I only have 1GB left on the hard drive. After some search, I found that the /var/log/ folder is the cause of this.
Some file/sizes in /var/log/:
kern.log = 12.6…
blade19899
- 26,496
- 21
- 113
- 177
89
votes
2 answers
Systemd logs (`journalctl`) are too large and slow
My journalctl is keeping over 300 MB of logs as revealed by journalctl --disk-usage. Everything appears to be in order when I run journalctl --verify:
$ journalctl --disk-usage
Archived and active journals take up 328.0M on disk.
$ journalctl…
WinEunuuchs2Unix
- 99,709
- 34
- 237
- 401
85
votes
3 answers
df -h - Used space + Avail Free space is less than the Total size of /home
As the output of df -h shows here, something is eating up 5GB of free space. So, it's not available to use.
I'm also noticing sometimes that the hard disk gets filled up to 100% sometimes. So, I had to restart the machine or delete some unncessary…
Kasun Gajasinghe
- 988
- 1
- 6
- 8
85
votes
4 answers
Meaning of "i" in "MiB"?
I see the usage of "MiB" as measure to represent the size in Ubuntu. What does MiB stand for? In particular the "i"?
Renjith G
- 3,503
- 5
- 23
- 22
79
votes
4 answers
analyse disk usage ignoring mounts
Ubuntu is complaining that my root file system is nearly full, but when I use baobab (aka "Disk Usage Analyser") or du -h it summarises the usage of all the other mounted file systems as well.
How can I exclude the other file systems which are…
drevicko
- 4,303
- 7
- 34
- 42