Covers questions related to file space usage—space used under a particular directory or files on a file system.
Questions tagged [disk-usage]
1263 questions
824
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,693
658
votes
26 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,855
341
votes
5 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
- 3,460
311
votes
12 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,251
215
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
- 4,107
213
votes
14 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,906
210
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
- 60,581
199
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,783
153
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,729
116
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,994
107
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,367
- 12
- 33
- 43
107
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
- 105,762
96
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
- 1,098
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,593
84
votes
7 answers
What do I do when my root filesystem is full?
My / folder is reading as full and I can't update software or do anything.
Not sure what I'm doing wrong here.
$ df -h
Results:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 5.7G 5.4G 0 100% /
udev …
Jesse
- 955