You are not logged in.

#1 2010-12-14 20:13:11

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

There's no enough space left

Hello,

Today I installed some programs that I needed and since that, I keep having a popup that I have no enough space left.

Then I rebooted my computed and I couldn't even start with GNOME, the only I could use was the terminal because it kept saying that there was not enough space left even for creating some temp files. So I uninstalled some packages like Openoffice. After that I rebooted again and worked.

The problem is that I still have that popup that I have no space enough left. It says that only have 10MB free.

Thanks in advance and sorry my bad english!

Hope you can help me.

Offline

#2 2010-12-14 20:20:35

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: There's no enough space left

Well... Check what df tells you about your actual free space, and then check which subdirectories on your root partition take most of the space. Maybe some logs are filling up your partition, but maybe it's just too small a root partition you set up?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-12-14 20:31:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: There's no enough space left

If you need to rearrange your partitions you can use e.g. http://redobackup.org/
Be sure to backup your data first.

Offline

#4 2010-12-14 20:32:35

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

Re: There's no enough space left

How do I clean the logs? I have 2 logs of 700MB :l

The partition has 151GB and more than 100GB free. It's mounted in /home and that's the folder that says that it's almost full hmm

Offline

#5 2010-12-14 20:35:06

whateverworks
Member
From: Amsterdam
Registered: 2010-12-14
Posts: 5

Re: There's no enough space left

Hi,

Easiest way to find you larger folders is to use something like:

du -hs * | sort -nr | head

Regards,

Whateverworks ^^


Regards,

Whateverworks

Offline

#6 2010-12-14 20:39:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: There's no enough space left

@ Nocta
Can you post the output of 'df -h'? If you have 100 GB free and still "there's not enough space on the device" then something''s wrong.

Offline

#7 2010-12-14 20:50:00

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

Re: There's no enough space left

173M    Desktop
8.0K    Txt

=/

Before all this, I had a folder full of music that I had to delete to make space.

Offline

#8 2010-12-14 20:51:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: There's no enough space left

Nocta wrote:

173M    Desktop
8.0K    Txt

=/

Before all this, I had a folder full of music that I had to delete to make space.

What are those numbers? Is it the output of 'du -hs * | sort -nr | head'? Do you have enough space or not?

Last edited by karol (2010-12-14 20:52:44)

Offline

#9 2010-12-14 20:51:26

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: There's no enough space left

Is the Trash empty?

Offline

#10 2010-12-15 12:37:49

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

Re: There's no enough space left

karol wrote:
Nocta wrote:

173M    Desktop
8.0K    Txt

=/

Before all this, I had a folder full of music that I had to delete to make space.

What are those numbers? Is it the output of 'du -hs * | sort -nr | head'? Do you have enough space or not?

Yep.

skunktrader wrote:

Is the Trash empty?

Yes.

Offline

#11 2010-12-17 12:19:14

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

Re: There's no enough space left

It stills says that I have only 9.7MB left sad

Offline

#12 2010-12-17 12:30:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: There's no enough space left

[karol@black ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  144K  9,9M   2% /dev
/dev/disk/by-uuid/bf1d191b-0f0d-4961-bd67-4d023a2e5873
                      7,3G  3,5G  3,4G  51% /
none                  499M     0  499M   0% /dev/shm
/dev/sda1              99M   15M   79M  16% /boot
/dev/sda4              30G   22G  5,8G  80% /home

I've showed you mine, can you post the output of 'df -h' so we can see your situation?

Offline

#13 2010-12-17 12:31:55

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: There's no enough space left

@op - get ncdu and run it on / posting the output here

# pacman -S ncdu
# ncdu /

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#14 2010-12-17 13:56:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: There's no enough space left

graysky wrote:

@op - get ncdu and run it on / posting the output here

# pacman -S ncdu
# ncdu /
cd / && du -s * 2>/dev/null | sort -nr

will be much faster than ncdu.

Offline

#15 2010-12-17 20:45:44

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

Re: There's no enough space left

df -h

[mariano@myhost ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  192K  9.9M   2% /dev
/dev/disk/by-uuid/b769014a-eab8-4abe-9994-b37963613dfb
                      7.3G  6.9G  3.2M 100% /
shm                   991M  140K  991M   1% /dev/shm
/dev/sda4             139G  1.5G  130G   2% /home
/dev/sda1              99M   15M   80M  16% /boot
/dev/sdb1              75G   68G  7.5G  91% /media/MB-80GB ---> This is an external hdd

ncdu

   67.0GiB [##########] /media                                                                                                                                                                           
.   3.4GiB [          ] /var
    3.2GiB [          ] /usr
.   1.3GiB [          ] /home
  112.4MiB [          ] /lib
.  12.6MiB [          ] /boot
.  10.2MiB [          ] /etc
    8.2MiB [          ] /sbin
    3.9MiB [          ] /bin
  192.0kiB [          ] /dev
.  48.0kiB [          ] /tmp
!  16.0kiB [          ] /lost+found
   12.0kiB [          ] /srv
   12.0kiB [          ] /mnt
   12.0kiB [          ] /recovery
!   4.0kiB [          ] /root
e   4.0kiB [          ] /opt
.   0.0  B [          ] /proc
    0.0  B [          ] /sys

cd / && du -s * 2>/dev/null | sort -nr --------> Got no answer from terminal!

--------------

Today I reinstalled OpenOffice and after a reboot I had the same problem so I uninstalled it sad

Offline

#16 2010-12-17 21:05:07

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: There's no enough space left

Your /home looks fine. Its your root thats full. Try clearing Pacman's cache (pacman -Sc).

Offline

#17 2010-12-21 13:03:33

Nocta
Member
From: Argentina
Registered: 2010-11-26
Posts: 9

Re: There's no enough space left

anonymous_user wrote:

Your /home looks fine. Its your root thats full. Try clearing Pacman's cache (pacman -Sc).

Thanks a lot! It worked!

How did you know btw?

Offline

#18 2010-12-21 13:06:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: There's no enough space left

Nocta wrote:

How did you know btw?

Filesystem            Size  Used Avail Use% Mounted on
/dev/disk/by-uuid/b769014a-eab8-4abe-9994-b37963613dfb
                      7.3G  6.9G  3.2M 100% /

That's your root, it is used in 100%.
The first line - /dev/disk/by-uuid/b769014a-eab8-4abe-9994-b37963613dfb - is the name of your root partition.

Offline

Board footer

Powered by FluxBB