Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] My root partition is full... How to clean it out?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Tue Sep 19, 2006 10:30 pm    Post subject: [Solved] My root partition is full... How to clean it out? Reply with quote

Hi, all...

I have been using my gentoo system for over a year, now, and my root partition has filled up! :(
Code:
 df -a
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3             19542436  19542432         4 100% /
proc                         0         0         0   -  /proc
sysfs                        0         0         0   -  /sys
udev                    256744       236    256508   1% /dev
devpts                       0         0         0   -  /dev/pts
cachedir              19542436  19542432         4 100% /lib/splash/cache
/dev/hda1                38856     30548      6302  83% /boot
/dev/hda4            224099844  66001076 158098768  30% /home
none                    256744         0    256744   0% /dev/shm
usbfs                        0         0         0   -  /proc/bus/usb


I know there are many things I might find to unload, and I guess there are probably some really big areas I could safely clean up. I just don't know how best to find them.

Does anyone have some pointers in this regard? Directories that might be bloated with unnecessary files? Individual files (e.g. log files) that have been permitted to grow too large?

Are there useful tricks to finding and cleaning this stuff out?

Thanks... Any advice would be greatly appreciated!
_________________
"Primum non nocere" ---Galen


Last edited by cgmd on Wed Sep 20, 2006 12:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Tue Sep 19, 2006 10:39 pm    Post subject: Reply with quote

You can remove the files from /tmp and /usr/portage/distfiles. These are two likely places for there to be a lot of space used. If that isn't enough, you might also look at clearing /var/tmp/portage. Sometimes stuff gets left in there when an ebuild fails.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Tue Sep 19, 2006 10:41 pm    Post subject: Reply with quote

You can delete /usr/portage/distfiles ,/usr/portage/packages, /var/tmp/portage/ content, also unused kernel sources. You can try use graphic portage frontend to find packages you don't use or need :)
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Wed Sep 20, 2006 12:05 pm    Post subject: Reply with quote

Great information...
Code:
 # df -a
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda3             19542436  10366864   9175572  54% /
proc                         0         0         0   -  /proc
sysfs                        0         0         0   -  /sys
udev                    256744       236    256508   1% /dev
devpts                       0         0         0   -  /dev/pts
cachedir              19542436  10366864   9175572  54% /lib/splash/cache
/dev/hda1                38856     30548      6302  83% /boot
/dev/hda4            224099844  66001136 158098708  30% /home
none                    256744         0    256744   0% /dev/shm
usbfs                        0         0         0   -  /proc/bus/usb
//dataserver/data    186408960  19013632 167395328  11% /home/share-data
//dataserver/media   281649152 165994496 115654656  59% /home/share-music


Thanks!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Wed Sep 20, 2006 2:48 pm    Post subject: Reply with quote

kfiaciarka wrote:
You can try use graphic portage frontend to find packages you don't use or need :)

Which one?!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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