Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
running of out space
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Thu Jul 24, 2008 6:09 pm    Post subject: running of out space Reply with quote

I have a 21 gb / for gentoo and I'm currently using 20 gb. I can't figure out what is taking up so much space. I've deleted all the extra kernels, tmp files, logs. I've run emerge --depclean. I'm running out of ideas. Any suggestions?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Thu Jul 24, 2008 6:18 pm    Post subject: Reply with quote

this is obvious, but have you looked in
/usr/portage/distfiles?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Thu Jul 24, 2008 6:21 pm    Post subject: Reply with quote

That is one of the first things I did. It's empty.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Jul 24, 2008 6:35 pm    Post subject: Reply with quote

You can try this disk usage program to see what is taking so much space easily:
Code:

kde-misc/filelight

Maybe a mysql database is eating your disk. Probably in your /var dir.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Thu Jul 24, 2008 7:03 pm    Post subject: Reply with quote

Thanks, that was it. It was an old database I no longer use.
Back to top
View user's profile Send private message
tgR10
Apprentice
Apprentice


Joined: 23 Oct 2007
Posts: 262
Location: caly ten ambaras

PostPosted: Thu Jul 24, 2008 7:38 pm    Post subject: Reply with quote

try du --max-depth=1 -h /
and then u gona know where start to look, linux sources eat a lot of space, mysql "binary logging" eat a lot ... etc
_________________
"bo kto ma racje ? ten kto z bliska zobaczy"
"moge nie wiedziec,wchlaniam niewiedze z malych torebek"
http://i12.tinypic.com/4pow0mu.png
http://userbar.tgr.debil.eu/userbar.jpg
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Fri Jul 25, 2008 5:43 pm    Post subject: Reply with quote

What is /var/db/package? It looks like a repeat of portage. This is the directory that's taking almost 10 gbs of disk space.
Back to top
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Fri Jul 25, 2008 6:12 pm    Post subject: Reply with quote

Cool. I'll give filelight a go.

Just for everyone else, I use ncdu for these things. It quickly tells me how much space each directory is using.
_________________
Beetle B.

Please update the table of equivalents.
A Firefox guide.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri Jul 25, 2008 7:04 pm    Post subject: Reply with quote

mystified wrote:
What is /var/db/package? It looks like a repeat of portage. This is the directory that's taking almost 10 gbs of disk space.
Although I have no /var/db/package on my systems, I suspect it might be the new location for the binpkg directory, which is /usr/portage/packages on my boxen. This is the binary packages archive.

If I'm right, you should see a boatload of tarballs in /var/db/package/All that probably account for most of your 10GB. My further guess would be that you have FEATURES="buildpkg" enabled in /etc/make.conf and have unknowingly been building binary packages for every package you install, for quite some time.

If this all checks out, you can safely delete everything under /var/db/package. Binary packages are useful for quick reinstallation (without recompiling), for installing Gentoo on multiple machines with similar architectures and hardware, and not much else. If these cases don't apply to you, turn off the buildpkg feature and clean out the tarballs.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Sat Jul 26, 2008 10:32 am    Post subject: Reply with quote

I don't have that enabled in /etc/make.conf. How do I turn off the build package feature?

Thanks
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Sat Jul 26, 2008 3:41 pm    Post subject: Reply with quote

Well whatever you do don't delete /var/lib/pkg. I had to download a stage3 tarball and copy the contents over. I am now having to compile 571 packages.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sat Jul 26, 2008 4:04 pm    Post subject: Reply with quote

mystified wrote:
Well whatever you do don't delete /var/lib/pkg. I had to download a stage3 tarball and copy the contents over. I am now having to compile 571 packages.

Do you mean " /var/db/pkg/" ?
It is 216M here.
I don't have "/var/lib/pkg"
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
mystified
l33t
l33t


Joined: 14 Feb 2004
Posts: 771

PostPosted: Sat Jul 26, 2008 4:08 pm    Post subject: Reply with quote

My mistake. You are correct.
Back to top
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Sat Jul 26, 2008 4:32 pm    Post subject: Reply with quote

I assume I can delete everything in /var/tmp/portage?
_________________
Beetle B.

Please update the table of equivalents.
A Firefox guide.
Back to top
View user's profile Send private message
Kaste
Guru
Guru


Joined: 21 Dec 2005
Posts: 546
Location: /home Sweet /home

PostPosted: Sat Jul 26, 2008 5:09 pm    Post subject: Reply with quote

yes just go ahead, that is why they are in tmp in the first place.
_________________
I'm a membar of Mesnar and me scull contains wakky secrets!
Back to top
View user's profile Send private message
Karlhungus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2005
Posts: 79
Location: Halifax, Nova Scotia

PostPosted: Wed Nov 05, 2008 12:36 am    Post subject: lots of disk usage Reply with quote

I had a similar problem, turned out it was mysql eating up space with transaction replication data in /var/lib/mysql things of the form mysql-bin.00000x two things removed them, in mysql ran the command RESET MASTER; then in /etc/mysql/my.cnf commented out log-bin and server-id
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum