View previous topic :: View next topic |
Author |
Message |
cgmd Veteran
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Tue Sep 19, 2006 10:30 pm Post subject: [Solved] My root partition is full... How to clean it out? |
|
|
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 |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Tue Sep 19, 2006 10:39 pm Post subject: |
|
|
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 |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Tue Sep 19, 2006 10:41 pm Post subject: |
|
|
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 |
|
|
cgmd Veteran
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Wed Sep 20, 2006 12:05 pm Post subject: |
|
|
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 |
|
|
-Craig- Guru
Joined: 03 Jun 2004 Posts: 333
|
Posted: Wed Sep 20, 2006 2:48 pm Post subject: |
|
|
kfiaciarka wrote: | You can try use graphic portage frontend to find packages you don't use or need |
Which one?! |
|
Back to top |
|
|
|