Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Ubuntu 11.04. There's no space left on device. I have encrypted the disk that takes up space (maybe it's good to disable it, but I don't know how).

In shell, I get this message:

No space left on device

I run df -I:

Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1            3055616  602499 2453117   20% /
none                  210161     890  209271    1% /dev
none                  214789       8  214781    1% /dev/shm
none                  214789      53  214736    1% /var/run
none                  214789       3  214786    1% /var/lock
/home/myuser/.Private
                     3055616  602499 2453117   20% /home/myuser df -I

Edit:

When I run only df:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1             48060296  45618928         0 100% /
none                   1538340       684   1537656   1% /dev
none                   1547596       808   1546788   1% /dev/shm
none                   1547596       104   1547492   1% /var/run
none                   1547596         0   1547596   0% /var/lock
/home/myuser/.Private
                      48060296  45618928         0 100% /home/myuser

Edit:

I thinking about few solution but I don't know which better and how exactly to do them:

  1. to enlarge partition size (I cant install gparted - no more disk space)

  2. remove encryption of partition - I really not need that

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Check with the following which directory is taking up space:

du -hs /*

it will give a list of directories and their sizes in /. Find the directory taking up all the space and fix the issue. Inside the folders you can also use du -hs *

share|improve this answer
    
You can even do it recursively, with du -h | sort -h –  Peltier Oct 18 '11 at 14:26
    
sort -h will only work with newer versions of gnucoreutils. –  Kevin M Oct 18 '11 at 16:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.