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)

179
votes
13answers
144k 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 ...
148
votes
10answers
299k 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 ...
64
votes
2answers
49k 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 ...
61
votes
9answers
83k 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.
58
votes
4answers
9k 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"?
44
votes
2answers
50k 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?
36
votes
7answers
87k 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?
30
votes
4answers
37k 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 ...
21
votes
2answers
17k 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’: ...
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 ...
20
votes
3answers
6k 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?
16
votes
3answers
10k 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 ...
16
votes
3answers
10k 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 ...
13
votes
1answer
24k 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 ...
12
votes
3answers
1k 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
2answers
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
2answers
3k 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 ...
11
votes
1answer
11k 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 ...
11
votes
5answers
12k 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 ...
10
votes
6answers
15k 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 ...
10
votes
1answer
4k 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. ...
9
votes
3answers
801 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
1answer
15k 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 ...
8
votes
2answers
2k 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
1answer
5k 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
2answers
5k 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: ...
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
1answer
24k 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 ...
7
votes
3answers
2k 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
3answers
4k 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
4answers
8k 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 ...
6
votes
8answers
34k 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 ...
6
votes
3answers
514 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?
6
votes
2answers
12k 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% / ...
6
votes
1answer
2k 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 ...
6
votes
1answer
2k 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 ...
6
votes
1answer
2k views

/var/lib/ureadahead/debugfs eats up 68% of my disk space

On a device with 2GB storage every MB is counted. I wonder what is this /var/lib/ureadahead/debugfs doing on my system and is there a way to avoid its existence. Note this mount point eats up 1.2 ...
6
votes
2answers
3k 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 ...
5
votes
2answers
35k views

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 ...
5
votes
4answers
2k views

How to increase disk space? [duplicate]

Possible Duplicate: How do I free up disk space? I am running out of space on my notebook, so I thought I would delete some unused stuff. I was thinking about: cleaning the home folder ...
5
votes
2answers
870 views

why is / taking up 7 GB of space (running du)

So I am new to Ubuntu and Linux in general. I am trying to determing what is taking so much disk space so I run the following command. du / -h -d 2 | sort -hr which outputs the following 7.3G / ...
5
votes
4answers
22k 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?
5
votes
4answers
13k views

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

Can I do something about it? I'm running out of disk space.
5
votes
1answer
376 views

shrink the size of tmpfs folders

After checking my disk space in Xubuntu, I noticed I have files holding unnecessary disk space and not coming close to using it. Is there a way to limit the space it is holding? I have marked the ...
5
votes
1answer
2k 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 ...
5
votes
3answers
15k 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 ...
5
votes
1answer
3k views

Server logs are filling my hard disk, how do I fix this?

I have Ubuntu 12.04 which serves my web application (20 MB) on apache httpd. Here is my partitions table: $ sudo parted -l Disk /dev/sda: 500GB Partition Table: gpt Number|Start|End|Size|File ...
5
votes
1answer
5k views

How do I reduce the size of mlocate database?

I'm out of space on /var 25G 25G 0 100% /var It looks like mlocate.db is the problem: # find /var -printf '%s %p\n' | sort -nr | head 13140140032 ./lib/mlocate/mlocate.db.cgLMAM ...
5
votes
1answer
3k views

Gnome equivalent of KDirStat

What is the Gnome version of KDirStat? I read some 2006 post about program named Baobab , but it looks like it's not included in 10.04 any more, and the home page is not available any more.
5
votes
1answer
3k 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 ...