View previous topic :: View next topic |
Author |
Message |
Duckman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Sep 2003 Posts: 6
|
Posted: Thu Jan 08, 2004 9:38 pm Post subject: Disappearing HD space |
|
|
I have been havin a bit of trouble lately with my laptop. I have 15 GB partitioned off for my gentoo install, and I know I shouldn't be using all of that, but my disk usage keeps jumping up to 100%. In the past few days I have seen ~5 GB mysteriously dissapear only to reappear again and dissapear a day later. I have a 500 MB swap partition which never even gets close to filling up, and i've checked my temp directories and they don't seem to be the problem.
Does anybody out there know what is going on and how I can fix it? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BiggJ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16030427223ffc5100327b7.jpg)
Joined: 07 Nov 2003 Posts: 384 Location: /usr/share/ \ zoneinfo/America/Los_Angeles
|
Posted: Thu Jan 08, 2004 9:47 pm Post subject: |
|
|
Check ...
/usr/portage/distfiles
/var/tmp/portage
There are a bunch of threads on what they are for and how to clean them.
--J |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duckman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Sep 2003 Posts: 6
|
Posted: Thu Jan 08, 2004 10:04 pm Post subject: |
|
|
yeah, i usually try and prune /usr/portage/distfiles whenever i need space. as for /var/tmp/portage, i can't seem to even find out the size of that folder, konqueror just seems to freeze for a while while it is calculating it's size. does that folder really fluctuate by several GB on a normal basis? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BiggJ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16030427223ffc5100327b7.jpg)
Joined: 07 Nov 2003 Posts: 384 Location: /usr/share/ \ zoneinfo/America/Los_Angeles
|
Posted: Thu Jan 08, 2004 10:17 pm Post subject: |
|
|
Duckman wrote: | yeah, i usually try and prune /usr/portage/distfiles whenever i need space. as for /var/tmp/portage, i can't seem to even find out the size of that folder, konqueror just seems to freeze for a while while it is calculating it's size. does that folder really fluctuate by several GB on a normal basis? |
I don't know if it's that much. I delete the contents of /var/tmp/portage on cron every night. It gets really big.
I use ...
Code: | rossi home # crontab -l | grep portage
0 1 * * * rm -rf /var/tmp/portage/*
|
--J |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Duckman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Sep 2003 Posts: 6
|
Posted: Fri Jan 09, 2004 5:21 am Post subject: |
|
|
well, just deleting /var/tmp/portage seems to have freed up nearly 2 GB of disk space. Thanks for that tip. I'm reading through the man pages to figure out how to make it automatically delete it like you do. I'm still trying to figure out where the rest of my HD space went to. Could it have something to do with those instances of updatedb and bzip2 that keep running in the background? I don't know what is up with those. Oh well, thanks for the tip ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BiggJ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16030427223ffc5100327b7.jpg)
Joined: 07 Nov 2003 Posts: 384 Location: /usr/share/ \ zoneinfo/America/Los_Angeles
|
Posted: Fri Jan 09, 2004 5:45 pm Post subject: |
|
|
Duckman wrote: | I'm reading through the man pages to figure out how to make it automatically delete it like you do. |
As "root" ...
... will open your crontab for editing... put the following in there and save it ...
Code: | 0 1 * * * rm -rf /var/tmp/portage/* |
... you can then use ...
... will print the contents of your crontab for verification.
That line will delete the contents of your /var/tmp/portage dir everything night at 1am.
--J |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|