Question

Ubuntu out of space

Posted January 7, 2014 4.1k views
I recently received a message that I am out of space in ubuntu. I checked and It says I have used all 20 gigs. I have not used but maybe 30 megs. Any ideas?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
7 answers
What's the output of
df -h
?
Filesystem Size Used Avail Use% Mounted on
/dev/vda 20G 20G 0 100% /


Here is an imagine of the same from a couple weeks ago. I have added very little code to it. My whole app is tiny.

Filesystem Size Used Avail Use% Mounted on
/dev/vda 20G 3.1G 16G 17% /
udev 243M 4.0K 243M 1% /dev
tmpfs 99M 224K 99M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 246M 0 246M 0% /run/shm
none 100M 0 100M 0% /run/user


Odd. You might be running out of inodes, what's the output of
df -hi
?
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vda 1.3M 144K 1.2M 12% /

Hmm.
I recently received a message that I am out of space in ubuntu.

Where did you see that message?
I saw it when I tried adding code to the server. Then i checked with the df -h and it said 100% was used.
Figured it out. unicorn.log was over 17.5 gigs. How in the world does that even happen?
Submit an Answer