You are not logged in.

#1 2009-11-05 18:35:51

djseomun
Member
From: Durham, NC
Registered: 2008-10-19
Posts: 35
Website

[SOLVED] Free Space Suddenly Gone?

Just now, I realized that my root partition is almost completely full. Normally, I have about 2.8G free. Now, that number dwindled down to 66M.

The output of df -h is below.

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             4.8G  4.8G   66M  99% /
none                  1.9G  184K  1.9G   1% /dev
none                  1.9G     0  1.9G   0% /dev/shm

Doing pacmac -Scc didn't do anything this time.

How do I find out what is eating up the space?

Edit

ncdu did the trick. I used the feh script from the Wiki to automatically change my background. I don't know why, but it had created a crapton of .FEHBG*.png files that collectively added up to almost 3.0G. Everything is back to normal.

Last edited by djseomun (2009-11-06 13:25:21)

Offline

#2 2009-11-05 18:43:17

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED] Free Space Suddenly Gone?

Try gdmap (graphical disk map).


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2009-11-05 18:52:32

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Free Space Suddenly Gone?

Check and see if your kernel.log and message.log are huge! mine started pulling that because of 10-20 messages per second about the CPU temp being normal.


Matt

"It is very difficult to educate the educated."

Offline

#4 2009-11-05 18:54:25

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: [SOLVED] Free Space Suddenly Gone?

or run ncdu (available in AUR, highly recommended), which is a command line tool.
Run it on the root folder and it will list your filesystem from the most space consuming to the lease.
This way I found out that my /var/log was 4GB...

Offline

#5 2009-11-05 18:56:16

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 859
Website

Re: [SOLVED] Free Space Suddenly Gone?

du -sc /* | sort -nr

Offline

#6 2009-11-05 19:28:52

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] Free Space Suddenly Gone?

/var/log is the usual cupilt, so start there.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-11-05 20:29:27

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED] Free Space Suddenly Gone?

also check /var/cache/pacman.
With as little as 4-odd gigs for the root filesystem, you just _may_ want to clear the cache completely (pacman -Scc)

Offline

#8 2009-11-05 21:04:24

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

Re: [SOLVED] Free Space Suddenly Gone?

SoleSoul wrote:

or run ncdu (available in AUR, highly recommended), which is a command line tool.
Run it on the root folder and it will list your filesystem from the most space consuming to the lease.
This way I found out that my /var/log was 4GB...

Moving into [community] a while ago!

$ pacman -Ss ncdu
community/ncdu 1.6-1
    An NCurses version of the famous old 'du' unix command

FYI, adding the -x switch will keep it in the filesystem of interest, i.e. it won't skip to other partitions.

Last edited by graysky (2009-11-05 21:05:37)

Offline

#9 2009-11-06 01:19:45

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: [SOLVED] Free Space Suddenly Gone?

If you use gnome its possible you may have been deleting files as root which puts them in a hidden root trash folder

Offline

#10 2009-11-06 11:50:51

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: [SOLVED] Free Space Suddenly Gone?

graysky wrote:

Moving into [community] a while ago!

Good to know! thanks.

Offline

#11 2009-11-06 13:25:40

djseomun
Member
From: Durham, NC
Registered: 2008-10-19
Posts: 35
Website

Re: [SOLVED] Free Space Suddenly Gone?

Thanks to all. ncdu was immensely helpful, and I'm glad it was less than 66M smile

Offline

Board footer

Powered by FluxBB