Covers questions related to file space usage—space used under a particular directory or files on a file system.

learn more… | top users | synonyms (1)

320
votes
14answers
264k 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 ...
214
votes
12answers
486k 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 ...
95
votes
3answers
78k 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 ...
89
votes
10answers
134k 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.
68
votes
4answers
14k 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"?
68
votes
2answers
87k 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?
57
votes
7answers
146k 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?
44
votes
3answers
39k 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’: ...
36
votes
5answers
63k 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/...
27
votes
4answers
23k views

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 ...
23
votes
3answers
122k views

How can I check disk space used in a partition using the terminal in Ubuntu 12.04 LTS? [duplicate]

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 ...
23
votes
3answers
9k 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?
20
votes
8answers
2k views

Check how space is distributed on 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 ...
19
votes
1answer
56k 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 ...
17
votes
3answers
17k 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 ...
17
votes
3answers
19k 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 ...
16
votes
1answer
7k views

Deleting contents of ~/.local/share/Trash/expunged …?

Is there a safe way of deleting contents of ~/.local/share/Trash/expunged ? I see It has lots of files & folders I had deleted -- from the trash as well. They are taking a lot of disc space. ...
15
votes
7answers
24k 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 ...
15
votes
2answers
1k views

Disk slowly filling up but no visible file size changes

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vda1 30830588 22454332 6787120 77% / none 4 0 4 0% /sys/fs/cgroup udev ...
15
votes
2answers
21k 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.
14
votes
1answer
30k views

How to increase the disk space of a VMware virtual disk?

I have a VM running Ubuntu, and I wish to increase its size from 20 to 40 GB. I powered off the VM and on the VMware side increased the allocated disk space. I did this by Edit Virtual Machine ...
13
votes
1answer
5k 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 ...
13
votes
3answers
4k views

Disk Usage Analyzer reports that the .ecryptfs file is taking up as much space as the home drive

I selected "encrypt home partition" when I set up my netbook with Ubuntu. The disk usage analyzer now reports that twice as much space is taken up than actually is used. I have seen this question ...
13
votes
5answers
22k 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 ...
12
votes
10answers
62k 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 ...
12
votes
3answers
2k views

How much disk space is allocated in Ubuntu for a new user?

How much disk space is allocated in Ubuntu 12.04 if new user is added? I have 500GB completely allocated for Ubuntu. If a new user is added then how much disk space will be allocated for him?
12
votes
5answers
21k 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 ...
12
votes
3answers
2k views

How large can Nautilus's thumbnail cache grow?

Nautilus's thumbnail cache in ~/.thumbnails has grown to several hundred megabytes. Do I need to be concerned about unrestricted growth of this in the long term, or is its size automatically managed ...
11
votes
1answer
31k 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 ...
11
votes
1answer
12k views

How can I prevent [flush-8:16] and [jbd2/sdb2-8] from causing GUI unresponsiveness? [closed]

Approximately twice a week, the entire graphical interface will lock up for about 10-20 seconds without warning while I am doing simple tasks such as browsing the web or writing a paper. When this ...
10
votes
2answers
15k 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% / ...
10
votes
2answers
9k views

disk is full, but cannot find big files or folders

Ubuntu server shows me that I use allmost 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 ...
9
votes
3answers
816 views

Are there any way to see how much space is used for Ubuntu?

I can see how much space using in Windows, since Ubuntu uses root concept, there is no particular hard drive any more. How can I tell how much space left using Ubuntu?
9
votes
2answers
3k 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 ...
9
votes
1answer
3k views

How do I monitor disk usage by processes over time?

I can see my Ubuntu instance (on a cloud provider) averaging thousands of blocks per second, yet when I observe in real time it's hard to see which process is causing this. Is there a monitoring ...
9
votes
1answer
893 views

Properties window, Basic Tab Pie Chart

I am wondering about the pie chart in the properties basic tab. I can see blue is used space and white free space but what does the gray part mean. I have been searching with no luck. Thanks in ...
8
votes
4answers
17k views

Why is /var/lib/mlocate.db almost 800 MB?

Can I do something about it? I'm running out of disk space.
8
votes
2answers
7k views

Investigate disk writes further to find out which process writes to my SSD

I try to minimize disk writes to my new SSD system drive. I'm stuck with iostat output: ~ > iostat -d 10 /dev/sdb Linux 2.6.32-44-generic (Pluto) 13.11.2012 _i686_ (2 CPU) Device: ...
8
votes
3answers
24k views

Ubuntu: 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 partion and ...
8
votes
2answers
4k views

“df -h” command puts line breaks in output. How do I fix?

My "df -h" command on my Linux box has some devices with longer names and so the "df -h" output has line breaks (or tabs??) in it, which makes it difficult to parse the output in a script. Does ...
8
votes
1answer
6k views

Why is the root partition on my disk full?

I installed Ubuntu 12.04 by doing a fresh install where there was previously Ubuntu 11.10. My computer warns me now that my disk is nearly full. After having run apt-get purge, run apt-get autoremove ...
7
votes
4answers
22k 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-...
7
votes
3answers
5k views

How can i limit disk space usage for one user?

Like.. User john123, you can only use 100mb of my harddisk. User jake155, you can only use 250mb of my harddisk.
7
votes
3answers
609 views

How can I list all files and folders beyond a specified size limit?

In a partition I have several files and folders, and I can list all those file sizes with du like this: du -h But how can I list all the files which are beyond a specific disk space size like 5MB?
7
votes
4answers
30k 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?
7
votes
4answers
4k views

Low disk space: home/user folder occupies 94GB

I am low on disk space and when I check the Disk Usage analyzer (using gksudo baobab) it indicates that my home/teddy folder is using 94GB, but when I browse through its contents I can only account ...
7
votes
4answers
3k views

Thunderbird 16.0.1 filling disk space

I'm on Ubuntu 12.04 with Thunderbird 16.0.1 and Kernel 3.6.0-030600rc4-generic. I used Thunderbird for quite a while and never had any problems with it. But now it seems to fill up my disk space very ...
7
votes
1answer
3k views

How can I limit disk access bandwidth for a Virtual Machine guest?

I have a Virtualbox on my Ubuntu (host) that serves few Windows guest OS. Sometimes the running Windows virtual machine starts massive access to the disk which blocks me in my host environment. I ...
7
votes
3answers
20k views

What command do I use to find physical disk size?

I use df -h to see formatted size, but how to see actual? I believe one of my disks is 3TB but formatted as 2TB but not sure which. (they're remote so I can't look!)
7
votes
1answer
27k views

Software updater needs more disk space [duplicate]

I got the following error message from Software Updater: The upgrade needs a total of 74,6 M free space on disk '/boot'. Please free at least an additional 68,3 M of disk space on '/boot'. Empty your ...