Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
my fat gentoo
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
zbindere
Guru
Guru


Joined: 27 May 2004
Posts: 356
Location: Switzerland

PostPosted: Tue Jun 22, 2004 9:21 pm    Post subject: my fat gentoo Reply with quote

my gentoo partition grows and grows.
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda6             5.6G  3.4G  2.3G  61% /
none                  507M     0  507M   0% /dev/shm


I "only" installed gnome and some desktop applications. but I think I have never installled 3.4G of software.

does portage caching downloaded files?

can I delete the files

Code:
/usr/portage/disfiles


if yes this makes only 300MB. where else can I delete. does someone has maybe a nice houskeeping script?
Back to top
View user's profile Send private message
catzooka
Apprentice
Apprentice


Joined: 05 Nov 2002
Posts: 193

PostPosted: Tue Jun 22, 2004 9:57 pm    Post subject: Reply with quote

yeah, /usr/portage/distfiles is where all the downloaded files are kept, which you can feel free to delete. Also, you can remove the contents of /var/tmp/portage/; however, DO NOT do that when you're in the middle of emerging something (since thats the place where portage stores its temporary files during emerging). Also, you may want to check if you have multiple kernel sources installed. If so, those do claim a bunch of disk space. Those are definitly the three places I'd take a look to free up some disk space...
Back to top
View user's profile Send private message
farrioth
Apprentice
Apprentice


Joined: 23 Nov 2003
Posts: 282
Location: Auckland

PostPosted: Tue Jun 22, 2004 10:00 pm    Post subject: Reply with quote

Try Ecatmur'sfilesystem cruft script.

It is fine to remove distfiles, but if you do, you will have to re-download them if you want to emerge that package again.

There are probably some large files hidden somewhere that are taking up disk space.

Code:
du / | sort -rn
Back to top
View user's profile Send private message
g3n
Guru
Guru


Joined: 13 Dec 2003
Posts: 543
Location: México

PostPosted: Wed Jun 23, 2004 12:23 am    Post subject: Reply with quote

You should also give a look to /var/tmp/portage
_________________
--[G]--
Back to top
View user's profile Send private message
tawtao
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2003
Posts: 116
Location: Baltimore

PostPosted: Wed Jun 23, 2004 12:50 am    Post subject: Reply with quote

If you worry about running out the root partition space, you can move your portage directory from root partition to other partition that you have a lot of space.

I moved the portage directorty to /home and I created a link to /usr. It work just fine.
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Wed Jun 23, 2004 1:48 am    Post subject: Reply with quote

Code:

#cleanup
!#/bin/bash



RUN=`ps -e| grep emerge`


if [ "$RUN" = "" ] ; then
   echo "Cleaning up portage."
   rm -rf /usr/portage/distfiles/*
   rm -rf /var/tmp/portage/*
else
   echo "Emerge is running,cannot clean up."
fi



unset RUN

exit 0


I have that saved in /usr/bin/cleanup, and it's cron'd every night.
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
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