I'm not sure how this happened, but my /tmp directory is on a separate partition called "overflow" with only 1.1M allocated to it, which is 100%. This is preventing me from doing almost anything, including installing packages.  The server is Ubuntu 14.04 running on EC2. I recently increased the size of it's disk from 20G to 200G and rebooted the instance, and now df -H shows:  Filesystem      Size  Used Avail Use% Mounted on udev            2.1G  8.2k  2.1G   1% /dev tmpfs           415M  390k  415M   1% /run /dev/xvda1      529G   39G  469G   8% / none            4.1k     0  4.1k   0% /sys/fs/cgroup none            5.3M     0  5.3M   0% /run/lock none            2.1G     0  2.1G   0% /run/shm none            105M     0  105M   0% /run/user overflow        1.1M  1.1M     0 100% /tmp   What is this "overflow" filesystem and how do I get /tmp off of it?
42186
I'm not able to run update manager as I get an error saying that there is not enough free space in the /tmp directory. I've practically cleaned out the tmp directory but the error persists.  here's df-h  /dev/loop0       13G   11G  952M  92% / udev            2.0G  4.0K  2.0G   1% /dev tmpfs           785M  920K  784M   1% /run none            5.0M     0  5.0M   0% /run/lock none            2.0G  584K  2.0G   1% /run/shm /dev/sda6        20G   14G  6.4G  68% /host  overflow        1.0M   16K 1008K   2% /tmp
23469
I'm running an Ubuntu 12.04.1 server in a VMware virtualized environment that has a strange issue. Twice now, at seemingly random times, the machine has suddenly been unable to write to the root partition despite plenty of space seemingly available. I'm at a loss trying to figure out what's wrong.  "df -h" shows all mounted volumes with 40% or more free space. Both times this has happened, rebooting resolved it for a few minutes, and then it was back to saying "no space left on device." Restoring it from a snapshot seems to fix it for longer, but since this has now happened again, I'm not sure what to do with it.  If it helps, the machine is a network print server running CUPS 1.5.3 and Samba 3.6.3.
56143
I've just had a message today from Ubuntu 11.04 that I have only 100 MB left, so I cleaned up some files, and I got 200 MB. Then, after a couple of hours, suddenly I have only 26 MB?! I tried df, du via mount --bind, /forcefsck with reboot - nothing could should what the culprit is - finally I searched big files, realized /var/log/syslog is 100MB+ and /var/log/kern.log is 200MB+ - blanked them with sudo bash -c 'echo &gt; ...' and rebooted, and now I have some spare MB.  But now, I realize I have another problem with df:  $ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda5             9,7G  8,8G  385M  96% / none                  963M  696K  962M   1% /dev none                  969M   12K  969M   1% /dev/shm none                  969M  252K  969M   1% /var/run none                  969M     0  969M   0% /var/lock /dev/sda6             9,7G  8,1G  1,1G  89% /media/disk  $ df -h --block-size M Filesystem           1M-blocks      Used Available Use% Mounted on /dev/sda5                9845M     8960M      385M  96% / none                      963M        1M      962M   1% /dev none                      969M        1M      969M   1% /dev/shm none                      969M        1M      969M   1% /var/run none                      969M        0M      969M   0% /var/lock /dev/sda6                9845M     8235M     1110M  89% /media/disk   Note so for /, it says there are 9845M total; and Used 8960M - then remaining would be 9845-8960 = 885 M, however, here I have only 385M Available.  Also, for /media/disk, it says total 9845M, Used 8235M - then remaining would be 9845-8235 = 1610, however, here I have only 1110M Available.  In both cases, there is exactly 500 MB difference.  Where did this difference come from - and can I reclaim it?  Here is also lsof | grep 'deleted' - can't see nothing suspicious here:  $ lsof | grep 'deleted' nautilus  1911 user   21u      REG        8,5   142760     260562 /home/user/.local/share/gvfs-metadata/home (deleted) nautilus  1911 user   22w      REG        8,5    32768     268807 /home/user/.local/share/gvfs-metadata/home-fe882154.log (deleted) python    1919 user    8u      REG        8,5     4096     392258 /tmp/ffiqRK968 (deleted) python    2165 user    5w      REG        8,5        0     132261 /home/user/.[SNIP].lock (deleted) python    2166 user    5w      REG        8,5        0     132261 /home/user/.[SNIP].lock (deleted) python    2185 user   21r      REG        8,5   142760     260562 /home/user/.local/share/gvfs-metadata/home (deleted) python    2185 user   22r      REG        8,5    32768     268807 /home/user/.local/share/gvfs-metadata/home-fe882154.log (deleted) gnome-ter 2279 user   27u      REG        8,5      640     392575 /tmp/vte5KDX2X (deleted) gnome-ter 2279 user   28u      REG        8,5     4936     392605 /tmp/vteKRDX2X (deleted) gnome-ter 2279 user   29u      REG        8,5      648     392947 /tmp/vteMZDX2X (deleted) ubuntuone 2544 user   17u      REG        8,5     4096     392335 /tmp/ffiMErq0V (deleted) bamfdaemo 3235 user   12r      REG        8,5   143868     269077 /home/user/.local/share/gvfs-metadata/root (deleted) bamfdaemo 3235 user   13r      REG        8,5    32768     272310 /home/user/.local/share/gvfs-metadata/root-18092a02.log (deleted) firefox   5291 user   59u      REG        8,5    33288     132262 /var/tmp/etilqs_YdeZiWSd5iQwJ4U (deleted) firefox   5291 user   60w      REG        8,5    32768     132271 /var/tmp/etilqs_MNLXhEaEqoXMm9b (deleted) firefox   5291 user   70u      REG        8,5    34952     132297 /var/tmp/etilqs_yXDdwVeMxmmdpNz (deleted)
10146
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 files. Only noticed these in /home partition. Don't know whether these two are related, but appreciate if anyone can put some insight into this.  $ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda8             100G   92G  2.7G  98% /home
91096
Today I ran across a problem and I'm not sure if it's a wrong configuration of my hosting provider, because I haven't changed anything about the file system.  df -h says:  df -h Filesystem Size Used Avail Use%  Mounted on /dev/simfs 50G  2.4G  0    100%  /   It says it's 100% used, but only 2.4G of 50 are really in use. I've also tried to delete some logfiles which were big, but it didn't help.  I've also checked with "du -sh *" if there's anything big, but couldn't find anything large.  Anyone has an idea?  //edit: There are enough INodes free.  df -hi Filesystem     Inodes IUsed IFree IUse% Mounted on /dev/simfs        25M  137K   25M    1% /   //edit: Complete output:  df -T Filesystem     Type     1K-blocks    Used Available Use% Mounted on /dev/simfs     simfs     52428800 2127284         0 100% / none           devtmpfs    262144       4    262140   1% /dev none           tmpfs        52432      56     52376   1% /run none           tmpfs         5120       0      5120   0% /run/lock overflow       tmpfs         1024       0      1024   0% /tmp none           tmpfs       209700       0    209700   0% /run/shm none           tmpfs       102400       0    102400   0% /run/user   //edit: Permissions:  ls -la /dev/simfs brw------- 1 root root 144, 149 Aug 14 00:01 /dev/simfs
31198
I just noticed that the root partition of my not-so-long-ago configured server is only 5gb  thats not much seeing as i allready use 4gb and still need to install a lot of things...  i was foolish enough to use the default config from OVH assuming they know their stuff :P  since i have some data on the data partition it would be a pain in the ... to backup and reconfigure it all  is it possible to repartition the drive to use a new part of the drive say 15-20gb without data loss ? by simply copying the root partition to a new place (from sda2) ? i can live with loosing the 5gb of the start of the drive :P    heres df -h  Filesystem            Size  Used Avail Use% Mounted on /dev/sda1             5.0G  3.9G  897M  82% / tmpfs                 998M     0  998M   0% /lib/init/rw udev                   10M  144K  9.9M   2% /dev tmpfs                 998M     0  998M   0% /dev/shm /dev/sda2             226G  7.2G  208G   4% /home   and fdisk -l  Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0000db26     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1         653     5242880+  83  Linux Partition 1 does not end on cylinder boundary.    &lt;== now this is bad.. thx OVH :F /dev/sda2             653       30336   238426112   83  Linux /dev/sda3           30336       30401      526016   82  Linux swap / Solaris
52152
I recently wiped my computer to have 14.10 as my only OS. It has 160 GB of storage. That was a month ago. Now, I keep getting prompts that the storage is almost full. And when I look it says I only have 543 MB free. How is this possible? I haven't torrented any large files. I do have Variety to autodownload wallpapers and not erase though.  Filesystem Size Used Avail Use% Mounted on  /dev/sda1  146G  138G  554M  100%  /  none 4.0K 0 4.0K 0% /sys/fs/cgroup  udev 742M 4.0K 742M 1% /dev  tmpfs 151M 1.1M 150M 1% /run  none 5.0M 4.0K 5.0M 1% /run/lock  none 752M 540K 751M 1% /run/shm  none 100M 80K 100M 1% /run/user –  er –
83173
I'm trying to identify why, suddenly, 100% of our disk space is in use. I have already rebooted but the issue persists.  Here are the outputs of some commands that are showing some strange (for me) results:  danny@hydrogen:~$ df -h  Filesystem            Size  Used Avail Use% Mounted on /dev/cciss/c0d0p1     130G  122G  949M 100% / none                  1.9G  196K  1.9G   1% /dev none                  2.0G     0  2.0G   0% /dev/shm none                  2.0G   40K  2.0G   1% /var/run none                  2.0G     0  2.0G   0% /var/lock none                  2.0G     0  2.0G   0% /lib/init/rw   danny@hydrogen:/$ sudo du -chs /  du: cannot access `/proc/1662/task/1662/fd/4': No such file or directory du: cannot access `/proc/1662/task/1662/fdinfo/4': No such file or directory du: cannot access `/proc/1662/fd/4': No such file or directory du: cannot access `/proc/1662/fdinfo/4': No such file or directory   danny@hydrogen:/$ df  Filesystem           1K-blocks      Used Available Use% Mounted on /dev/cciss/c0d0p1    135342296 128144108    323104 100% / none                   1991336       196   1991140   1% /dev none                   1995788         0   1995788   0% /dev/shm none                   1995788        40   1995748   1% /var/run none                   1995788         0   1995788   0% /var/lock none                   1995788         0   1995788   0% /lib/init/rw   danny@hydrogen:/$ mount  /dev/cciss/c0d0p1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) none on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) none on /dev type devtmpfs (rw,mode=0755) none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) none on /dev/shm type tmpfs (rw,nosuid,nodev) none on /var/run type tmpfs (rw,nosuid,mode=0755) none on /var/lock type tmpfs (rw,noexec,nosuid,nodev) none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)   danny@hydrogen:/$ sudo du -h --max-depth=1  634M    ./premvet_sync 5.6M    ./etc 4.0K    ./opt 16K ./lost+found 7.4M    ./bin 623M    ./lib 196K    ./dev 0   ./sys 4.0K    ./srv 4.0K    ./cdrom 8.0K    ./media 52K ./tmp ... it hangs for ages here.....   The server is running Ubuntu 10.04.4 LTS.  System load:  2.85                Temperature:         8 C Usage of /:   94.7% of 129.07GB   Processes:           132 Memory usage: 39%                 Users logged in:     0 Swap usage:   0%                  IP address for eth0: 192.168.1.124  =&gt; / is using 94.7% of 129.07GB   I'm struggling to comprehend why this is happening! Any pointers would be appreciated.
83891
I installed 11.10 ~two weeks ago and run into some strange troubles recently.  Installation was on brand new laptop with clear 160GB SSD. I opted for encrypting home directory. Apart from that I accepted defaults during the installation. There is no other OS on my laptop.  I had circa 40GB in use when (for the third time) I got to see this very unpleasant window:    Twice situation was pretty bad and whole system slowed down considerably. After reboot I could not login to graphical interface (with an error message informing about insufficient space) and had to remove some files from command line first.  Third time I still managed to quickly delete some files and it helped.  My laptop is mainly work environment: so no torrents, games, just two movies. Only media filling space are ~20GB of pictures, and bunch of pdfs. Working mostly on PostgreSQL &amp; PostGIS, GeoServer and QGIS recently.  Although I had lots of opportunities to test and practice my backups I would be extremely grateful if somebody could point me to any potential solutions to this problem.  My laptop has been bought just before I installed Ubuntu, and it came without OS. Could that be hardware issue?  Or is the encrypted home causing me headaches?  Thanks for help!    Update 1: As suggested by , here is current output of fdisk -l:  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000     Device Boot      Start         End      Blocks   Id  System /dev/sda1               1   312581807   156290903+  ee  GPT     Update 2: As suggested by , output of df:  Filesystem           1K-blocks      Used Available Use% Mounted on /dev/sda2            149802648  31411456 110781576  23% / udev                   1959764         4   1959760   1% /dev tmpfs                   788276       992    787284   1% /run none                      5120         0      5120   0% /run/lock none                   1970684      2716   1967968   1% /run/shm /dev/sda1                19363       129     19234   1% /boot/efi /home/rdk/.Private   149802648  31411456 110781576  23% /home/rdk   And sudo parted -l:  Model: ATA INTEL SSDSA2BW16 (scsi) Disk /dev/sda: 160GB Sector size (logical/physical): 512B/512B Partition Table: gpt  Number  Start   End     Size    File system  Name  Flags  1      17.4kB  20.0MB  20.0MB  fat16              boot  2      20.0MB  156GB   156GB   ext4  3      156GB   160GB   4177MB     Update 3:  Yet another window with low memory message :/  Working recently mostly on VirtualBox and using Remmina.  Following this information I deleted virtually everything from my home directory. Rebooted. There was ~20GB in use after that [~10GB for VirtualBox disk image which I wanted to keep if possible]. Following  comment I was trying to recover more space and running Bleachbit application when I got another error of low space on HD. Then the system froze. How on earth can my Ubuntu fill up HD with over 100GB within minutes?
102907
df -h reports the '/' partition to be 100% full. While running du -hs * on each directory of this partition shows there is still lot of space.  tune2efs which reports just one block to be free. Ran fsck as well, which also shows all blocks being used.  ionode use is  14% on the '/' partition.  Please note that /var, /usr, /dev, /tmp, /home are mounted on different partitions and have space available in them.  Can you please let me know the possible causes for all blocks to be occupied and disk reporting to be full even tough there is a lot of space.
48995
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                                                                                                                                                  --- / ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------     5.5GiB [##########] /root                                                                                                                                                                                    2.3GiB [####      ] /var   628.6MiB [#         ] /usr   209.9MiB [          ] /lib    28.2MiB [          ] /boot     8.6MiB [          ] /bin     7.7MiB [          ] /sbin     6.6MiB [          ] /etc   208.0KiB [          ] /run   112.0KiB [          ] /tmp    48.0KiB [          ] /opt e  16.0KiB [          ] /lost+found     8.0KiB [          ] /dev     8.0KiB [          ] /media     4.0KiB [          ] /lib64 e   4.0KiB [          ] /srv e   4.0KiB [          ] /selinux e   4.0KiB [          ] /mnt e   4.0KiB [          ] /home     0.0  B [          ] /proc     0.0  B [          ] /sys @   0.0  B [          ]  initrd.img @   0.0  B [          ]  vmlinuz   According to ncdu I use about 10 GiB of 128 GiB - it is about 10 %. Contradiction.  How to clean my ubutntu server without rebooting?  I thought that ncdu lies and used another apps to find big files and folders. All of them shows the same result as ncdu.  And df -h command shows that disk is full.  # df -h Filesystem      Size  Used Avail Use% Mounted on /dev/xvda       119G  113G     0 100% / udev            2.0G  8.0K  2.0G   1% /dev tmpfs           788M  212K  788M   1% /run none            5.0M     0  5.0M   0% /run/lock none            2.0G     0  2.0G   0% /run/shm   Update  sudo du -sch /* result:  /# sudo du -sch /* 8.7M    /bin 29M /boot 8.0K    /dev 6.6M    /etc 4.0K    /home 0   /initrd.img 210M    /lib 4.0K    /lib64 16K /lost+found 8.0K    /media 4.0K    /mnt 48K /opt du: cannot access `/proc/4470/task/4470/fd/4': No such file or directory du: cannot access `/proc/4470/task/4470/fdinfo/4': No such file or directory du: cannot access `/proc/4470/fd/4': No such file or directory du: cannot access `/proc/4470/fdinfo/4': No such file or directory 0   /proc 5.0G    /root 212K    /run 7.8M    /sbin 4.0K    /selinux 4.0K    /srv 0   /sys 112K    /tmp 629M    /usr 2.3G    /var 0   /vmlinuz 8.1G    total   8.1G  total as usual. But I see cannot access rows, maybe problem because of them.  Then I checked the biggest folder in /. It is /root :  /# sudo du -sch /root/* 96K /root/Downloads 2.5G    /root/Dropbox 36K /root/nohup.out 4.0K    /root/npm-debug.log 4.0K    /root/readonly 980K    /root/redis-2.6.16.tar.gz 228M    /root/tmp 2.7G    total
64238
I only have access to the server via a terminal and I can't use graphical tools such as GParted! I want to create a new partition from a part of the root (about 768mb) for swap.  # df -h Filesystem      Size  Used Avail Use% Mounted on /dev/vda         20G  1.3G   18G   7% / udev             10M     0   10M   0% /dev tmpfs           199M  4.9M  194M   3% /run tmpfs           100M   12K  100M   1% /run/user tmpfs           5.0M  4.0K  5.0M   1% /run/lock
62921
I have exceeded my disk quota on a system which I do not have root access. I tried removing old files but am still over. I tried runing du to find where I am using up all my space but it reports I am using very little.  Results from quota     /home/1234$ quota -s    Disk quotas for user 1234 (uid 1234):          Filesystem   space   quota   limit   grace   files   quota   limit   grace        cslab:/home   4519M*  4096M   5120M   09:47    6155       0       0    From du     /home/1234$ du -mad 1    ...    936     total   I don't understand why quota says I am using 4.5GB while du only counts .9GB. I also checked for files I own in /tmp and there was 50MB worth of files there. Where could the other 3.5GB of files be? Is it possible the quota system is wrong and needs reset?
75662
This is a RHEL server, I'm running a MySQL server on it, the database and log files (however, logging is disabled) are located on the /srv directory where plenty of space is available.  Recently I had a crashed table, so I tried fixing it but on the next day I found that MySQL can't respond to many of queries with an error indicating that there is no disk space:  ERROR 1030 (HY000): Got error 28 from storage engine   So I ran the following command to see what's taking space  [root@tms /]# df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/server-slash                       9.9G  9.5G     0 100% / tmpfs                 7.8G     0  7.8G   0% /dev/shm /dev/sda1             485M   58M  402M  13% /boot /dev/mapper/server-var                       739G  252G  450G  36% /srv   Surprisingly it's the / directory. But more surprisingly is that the directories under / do not indicate used space more than 2 GB, while df shows total space 9.9 GB for /.  [root@tms /]# du -sh /* 7.5M    /bin 48M     /boot 200K    /dev 24M     /etc 4.0K    /home 223M    /lib 21M     /lib64 16K     /lost+found 4.0K    /media 4.0K    /mnt 183M    /opt ...deleted some file-not-found errors for files under /proc 0       /proc 144K    /root 14M     /sbin 4.0K    /selinux 252G    /srv 0       /sys 44K     /tmp 917M    /usr 259M    /var   So why does df show wrong values ? And how can I findout what's actually taking space ?
35349
How is the /tmp directory cleaned up? Is it automatic? If so, how frequently is it cleaned up?
56916
I would like you to help me understand the output of df -h below:  udev            7,8G     0  7,8G   0% /dev tmpfs           1,6G  1,7M  1,6G   1% /run /dev/sda3       229G   68G  150G  32% / tmpfs           7,9G  211M  7,6G   3% /dev/shm tmpfs           5,0M  4,0K  5,0M   1% /run/lock tmpfs           7,9G     0  7,9G   0% /sys/fs/cgroup /dev/loop1       84M   84M     0 100% /snap/core/3748 /dev/loop0      160M  160M     0 100% /snap/spotify/5 cgmfs           100K     0  100K   0% /run/cgmanager/fs tmpfs           1,6G   68K  1,6G   1% /run/user/1000   I would like to understand what exactly are the udev, tmpfs and /dev/loop partitions.   I am wondering if they are some sort of 'leftoveres' after my Virtual Machines in Virtual Box.   I had a few virtual machines with 8GB in size but I have removed them and I still see there are some partitions that are taking quite a lot of space.    Are they related to Virtual Box?  Is it safe to remove those partitions?
114873
The root filesystem ran out of space, so I'm deleting all the extraneous junk. I already deleted everything in /var/log and /var/cache/apt/archives and did sudo apt autoremove.  This /var/tmp is using 18.5 GiB. What is it used for? Is it safe to delete the contents?  UPDATE  I found these 2 swap files:  474M    10112015.tgz.swp 19G     10022015.tgz.swp   Those swap files were generated by opening tar files in vi.   Is there a way to limit the amount of storage space used by /var/tmp?