Questions tagged [disk-usage]
Covers questions related to file space usage—space used under a particular directory or files on a file system.
164
questions
643
votes
24
answers
748k
views
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 ...
1
vote
1
answer
3k
views
Installing all applications on a SSD disk and putting all files on HDD disk
I am entirely new to Ubuntu and my question here touches the somewhat confusing (at least for me) theme of disc partitioning.
I've recently bought a new laptop with 250GB SSD and 1TB HDD hard drives ...
74
votes
16
answers
358k
views
Root drive is running out of disk space. How can I free up space?
I'm using Ubuntu 11.04 and I want to free up some space in my root directory, which is overloaded. I especially want to change the path used for installing applications (they are getting installed ...
150
votes
7
answers
138k
views
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 ...
25
votes
8
answers
45k
views
What is taking up so much space on my disk, beside the filesystem?
I have only one disk in my computer, a 80 GB SSD. It is formatted as a single ext4 partition (no swap), and all the usual folders are installed on it (I keep lots of data on external media, but /home ...
194
votes
14
answers
329k
views
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 ...
295
votes
13
answers
485k
views
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.
88
votes
3
answers
55k
views
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 ...
783
votes
18
answers
2.4m
views
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 ...
79
votes
7
answers
303k
views
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 ...
30
votes
4
answers
55k
views
Running out of inodes
I cannot update Ubuntu because I have 99% inode usage. What is the easiest way for me to alleviate this problem?
Thanks for your help.
64
votes
2
answers
258k
views
How do I resize my /boot partition?
/boot has become 100% full somehow.
df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ubuntu-root 191078052 31758960 149612804 18% /
udev ...
99
votes
2
answers
89k
views
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 ...
0
votes
2
answers
2k
views
list files and folders of the root partion
My root partion is full and I am going to clean up it a bit. But I have confused with partitions and folders. I.e. deleting unneeded files in home directory doesn't increase / partition size but if I ...
47
votes
5
answers
94k
views
apt-get: No space left on device (12.04)
I have read every thread I could find -- even the ones that say that the question has been answered elsewhere but none of them address the specific issue I am having. Update Manager ran and produced ...
21
votes
8
answers
8k
views
Check how space is distributed on a Linux system
I know how to check space left with:
df -h
and I know to check the space of a folder with:
du -ch /path/to/folder/
But let's say I have a 500 GB HardDisk and 350GB are used:
Wich is the best tool/...
200
votes
9
answers
596k
views
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?
200
votes
2
answers
317k
views
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?
71
votes
7
answers
365k
views
Not enough space in /var/cache/apt/archives/
When I run the command to install the package solr-jetty, I am told
You don't have enough free space in /var/cache/apt/archives/
Here's the result of the df -H command:
I have installed Ubuntu ...
46
votes
4
answers
40k
views
Can't clean a full /boot because of unmet dependencies
I got an error message explaining my /boot is full. trying to clean up old image files always seems to fail because of disk full errors or dependency errors. Could someone explain where I’m going ...
17
votes
5
answers
89k
views
How much space does Ubuntu take up after it's already installed?
I know how much space is required to install Ubuntu.
How much space does a Ubuntu installation take up on the disk?
102
votes
7
answers
284k
views
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/...
85
votes
4
answers
37k
views
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"?
35
votes
10
answers
76k
views
disk is full, but cannot find big files or folders
Ubuntu server shows me that I use almost all disk:
Usage of /: 95.5% of 118.12GB
And I try to find big folders and files, run ncdu:
ncdu 1.8 ~ Use the arrow keys to navigate, press ? for help ...
17
votes
5
answers
45k
views
Ubuntu thinks Btrfs disk is full but it's not
$ cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=a168d1ac-4e13-4643-976d-6e47ea1732b1 /boot ext2 defaults ...
10
votes
4
answers
3k
views
File System Usage Indicator
I am unable to find a suitable utility to just indicate the file system usage (% space free for partitions) on the panel.
And I am not looking forward to install any bad kinds of desktop management ...
40
votes
9
answers
95k
views
Why do "df" and "du" commands show different disk usage?
I cannot access ubuntu system on my pc, the error message: "the system is running in low graphics mode" and I tried some commands I searched from internet.
I found out a problems seems there is no ...
25
votes
7
answers
60k
views
var/log/syslog growing indefinitely in size
The disk that contains Ubuntu on my computer is 115GB in size.
When the disk was 114.7GBfull.
I started deleting some files here and there to free up around 5GB.
But I noticed the disk was 114GB ...
9
votes
2
answers
10k
views
space on disk running low error logging /var/log/cups/error.log
I have Lubuntu 16.10 installed on my disk mounted as /.
The problem is that the CUPS log file( /var/log/cups/error.log) grows all the time until I no have free space left on the disk...
So when I ...
9
votes
3
answers
11k
views
Why do df and du show different output?
When I execute the command df -h /tmp it says disk utilization is 100%, but when it try du -sh /tmp it says disk utilization is 2%.
I want to know why these commands shows different output, how these ...
2
votes
1
answer
2k
views
Ubuntu 12.10 recognizes me only 3GB of free space
I have installed Ubuntu 12.10 64-bits and it worked perfectly (during days), until now. Suddenly several error messages coming from anywhere tell me that I have no free space on the disk. And now the ...
45
votes
5
answers
179k
views
Can I delete /var/log files due to low root space?
Just had the message:
Low disk space.. 2 GB left
Judging by a posted message on ubuntu.org forums, I found that I have a .log file in /var/log at 22 GB in size! My root is an 82 GB partition and ...
29
votes
2
answers
32k
views
df -h shows incorrect free space
Here is my df-h output. In here /media/Songs is using almost 100% disk space.
root@LAB:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 19G 8.7G 9.2G 49% /
...
28
votes
3
answers
25k
views
How can I quickly make a large file?
What is a quick and easy way to make a file that is, say, 2 GB in size?
6
votes
5
answers
9k
views
Nautilus statusbar visibilty - Quickly check free space
In prior versions, I would open Nautilus and check the statusbar, which would tell me how much free space there is. Now, the statusbar isn't shown by default. I know you can enable it from the View ...
4
votes
5
answers
5k
views
Disk Usage Very Strange
Just today, my Ubuntu 11.04 started prompting me that my HDD is full ... I know I am filling up my HDD fast, but its the storage partition I expect to be filling up not my 60+GB OS Partition. So I did ...
4
votes
2
answers
5k
views
Root filling up although it should have some space
This has been perplexing me for some time. I'm on Ubuntu 11.04. My root partition is filling up and I can't figure out what's causing it. Even stranger, when I run df -h, this is the output:
...
3
votes
2
answers
1k
views
Install Lubuntu 18.10 on a 4GB Virtual Machine
I read that is possible to install Lubuntu on a 4 GB pendrive, so I would like to do the same on a 4GB virtual machine (on VirtualBox 5.2). The problem is that when I execute it, it says that there is ...
297
votes
4
answers
194k
views
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 ...
197
votes
5
answers
218k
views
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’: ...
11
votes
2
answers
11k
views
Disable automatic ZSys snapshots - ZFS on root
How can I disable the automatic ZFS snapshots on Ubuntu 20.04 with ZFS on root?
zsys seems to create snapshots but doesn't seem to remove them, which causes my system to run out of disk space.
11
votes
2
answers
5k
views
Advanced disk usage analyzing software?
I can't really find a great disk analyzing software for Ubuntu.
The default apps in Ubuntu, Baobab (and df -h) do work, but there are no advanced features.
What I am looking for is like glary ...
8
votes
7
answers
40k
views
"No space left on device" when installing packages, yet I have space left
Whether through update manager, or through terminal, I error out.
When I try sudo apt-get update && sudo apt-get upgrade:
Fetched 1,024 kB in 20s (51.0 kB/s)
Reading package lists... Done
...
2
votes
1
answer
2k
views
Which files should I remove from /var/log directory to free space in Ubuntu 16.04?
I have installed Ubuntu 16.04 two days ago on a 158GB HDD and it is already showing 128GB space is used. After checking the drive I've found that the directory /var/log is occupying 116GB and it is ...
1
vote
2
answers
26k
views
Disk is full and now I can't boot into Ubuntu
I was syncing photos and videos from my phone using SyncThing onto my laptop running Ubuntu 20.04.1.
The local SSD (/dev/sda2) was completely full so after copying to an external hard disk drive I ...
36
votes
9
answers
81k
views
df shows all space taken, but du doesn't add up
I'm having a problem with Ubuntu 12.04 LTS. This is the second time I've encountered this problem in the last 3 weeks.
The first time is described in this closed question on StackOverflow.
The TL;DR ...
34
votes
3
answers
46k
views
Why doesn't deleting files increase available space?
Recently I got a message about "0 bytes free" on a certain partition.
So I looked and, sure enough:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 65190604 ...
30
votes
4
answers
77k
views
How to find all files with size greater than...?
Is there any GUI software that can explore a tree and find all files with size greater than some amount? Neither Nautilus nor Nemo seem to be able to do this. In my memory, I could do this with PC-...
26
votes
7
answers
15k
views
Task manager a UI like with Windows 10's one
I like the UI in the Windows 10 task manager:
In particular, I like the fact that the most important four shared resources on a computer are displayed without spurious information, and the color-...
22
votes
5
answers
53k
views
Why should I move everything into /opt?
Every time I read the tips for installing an SDK, IDE, some extension and so on, it says, that I should unpack them in /opt folder. Why do I need to do that?
When I was installing Ubuntu, I read ...