Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/ 90% full
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
leonglass
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 278

PostPosted: Sun Feb 17, 2008 12:47 pm    Post subject: / 90% full Reply with quote

I have noticed that my system has slowed down a bit recently and I think it may be to do with my / being 90% full. My disks are laid out as follows

/dev/hda1 /boot ext2
/dev/hda2 / ext3
/dev/hda4 none swap
/dev/hda3 /home ext3
/dev/hdb2 /mnt/music ext3
/dev/hdb3 /var ext3

My large files such as music is kept in /mnt/music and home is also seperate. So my question is, is it system files such as code trees for portage that is taking up all this space and is there a way to clean it all out.
_________________
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Sun Feb 17, 2008 12:54 pm    Post subject: Reply with quote

distfiles in the portage tree. have a look at /usr/portage/distfiles.

the easiest way to do a clean up is removed nay files therein, but this might cause some redownloading. I use eclean-dist -df, which removes all deprecated files, which are no longer used, while it keeps those with a fetch restriction.

you say, that is is 90% full. 90% of how much?

hope it helps
V.
Back to top
View user's profile Send private message
leonglass
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 278

PostPosted: Sun Feb 17, 2008 1:34 pm    Post subject: Reply with quote

13.4GB of 15.5GB so quite a lrge amount of files. I have just checked and the /usr/portage directory is 5.4GB. Will try your suggestion and see how it goes.

[edit] running eclean-dist -df removed 3.3GB and put the percentage back to 67%. Is there anything else I can do.
_________________
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Sun Feb 17, 2008 2:39 pm    Post subject: Reply with quote

Have a look at /usr/src/ - there might be old kernel sources which you no longer need.

If you use gentoo-sources, run

Code:
equery l gentoo-sources


to get a list of all installed versions - remove all old versions that you do not need. Also clean /tmp/ and /var/tmp/.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Feb 17, 2008 3:47 pm    Post subject: Reply with quote

schachti wrote:
Have a look at /usr/src/ - there might be old kernel sources which you no longer need.

If you use gentoo-sources, run

Code:
equery l gentoo-sources


to get a list of all installed versions - remove all old versions that you do not need. Also clean /tmp/ and /var/tmp/.


And while you are at it, you can also look into /lib/modules/ and remove the trees for the kernels that you will not use anymore.
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Sun Feb 17, 2008 4:45 pm    Post subject: Reply with quote

Just to flesh out the last two posts:

If you emerge -C gentoo-sources-2.6.nn-rnn, it will NOT remove the /usr/src/linux-2.6.nn directory (because making the kernel left some files in there - eg the .o files, the config, etc) and it will NOT remove the /lib/modules/2.6.nn-gentoo-rnn directories (because you did not install that - you created it when you ran make modules_install). So besides unmerging the kernel(s), manually remove the directories too. I also delete them from /boot/ also - I keep 3 latest kernels installed only.
Back to top
View user's profile Send private message
leonglass
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 278

PostPosted: Sun Feb 17, 2008 4:51 pm    Post subject: Reply with quote

Thanks for advice everyone I currently have it down to 67% and I have seen that I have about 6 kernels installed so I will give that next bit a go.
_________________
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sun Feb 17, 2008 6:10 pm    Post subject: Reply with quote

if you have any unpartitioned space, you might want to consider moving /usr and /var off onto their own filesystems.

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
leonglass
Apprentice
Apprentice


Joined: 08 Aug 2006
Posts: 278

PostPosted: Sun Feb 17, 2008 7:19 pm    Post subject: Reply with quote

bunder wrote:
if you have any unpartitioned space, you might want to consider moving /usr and /var off onto their own filesystems.

cheers
Yes I was thinking of doing that as I do have half of one of my drives as unpartitioned space so I could do that quite easily.
_________________
Glasys, Glass Arcade, Tauntonions
Noli illegitimi carborundum
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Feb 17, 2008 8:16 pm    Post subject: Reply with quote

To prevent fragmentation issues, I always advise to make separate partitions for /var, /tmp, /var/tmp, /usr/src, $PORTDIR and home.
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