On Tue, 2002-12-31 at 08:34, Craig White wrote: > my /usr partition is almost completely filled up and it's bothering me. > > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/hda9 4569824 1032864 3304824 24% / > /dev/hda1 132207 25532 99849 21% /boot > /dev/hda6 10325748 8586104 1215124 88% /home > /dev/hda7 3099260 3090492 0 100% /usr > /dev/hda5 10325748 900456 8900772 10% /var > none 192624 0 192624 0% /dev/shm > > This machine was originally set up with 7.1, updated to 7.2, then 7.3 > and now 8.0 /usr on my 7.3 box is 4.7gb so you likely need some serious reorganizing to work this out. Some things you can remove (if they are installed) to reclaim some room to work are (and you can always add them back when you have more room) - emacs - 31mb emacs-el - 28mb kernel-source - 121mb php-manual - 108mb tetex* - 75mb These sizes[1] are based on 7.3 so they could be much bigger for 8.0. You can also remove anything that -devel to free up some space. You have a lot of room on /var so you could move some things there, like /usr/X11R6, and symlink it back under /usr. Just do enough to get the system running them get a bigger HD to replace the current one. You can move the stuff from the old to the new and then have the old one for extra space. Joe [1] I have a little script that I use to get the sizes of all the rpms installed on my system that I got back in the RH 2.x days than has come in handy for situations like this. It's attached for those who might like to see it. It's quite small. -- "Khaaaaamaaayyyy, Haaaaamaaaayyyy, HAAAAAAAAA!!!!!" -- Goku, 'Dragon Ball'
#!/bin/sh # rpm --queryformat='%{SIZE}: %{NAME}\n' -a | sort -nr > sortedrpmlist # rpm --queryformat='%{SIZE}: %{NAME}\n' -a | sort -nr rpm -q --queryformat '%{SIZE} %{NAME}\n' `rpm -qa` | sort -nr \ | awk "{printf(\"%-25s : %s\n\", \$2, \$1)}" # rpm -qa --queryformat '%{SIZE} : %{NAME}\n' | sort -nr +1
Attachment:
signature.asc
Description: This is a digitally signed message part