LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Full /usr partition...need to free up some room (https://www.linuxquestions.org/questions/linux-newbie-8/full-usr-partition-need-to-free-up-some-room-44249/)

tarballed 02-05-2003 07:35 PM

Full /usr partition...need to free up some room
 
Oof. My /usr partition is full. It was a smaller hard drive I was using and I setup the partition with a little over a gig of space.

Now it is full.

I need to figure out what would be the best way to free up some room. I setup the box to do some testing for a backup system we are going to implement in the future.

Does anyone have any suggestions on what I can do to free some room?

At this moment, the box is running RH 8.0. I need Samba and Gnome installed as well as the other basics. Other than that, that is it.

Any thoughts or help would be great.

T.

bulliver 02-05-2003 09:34 PM

You say it's a backup machine for testing? So do you need the documentation? Removing man pages, and even moreso, the info pages might clear quite a bit of space.

Also the kernel source. You probably want to keep it, but deleting just the "Documentation" directory will clear up quite a bit of space.

Darin 02-05-2003 10:06 PM

In kernel source you *could* delete the other architecture folders such as m68k or ia64 but I'm not sure about the ramifications of doing that.

You can also go into any source directories for programs you have built and installed and run "make clean" or "make mrproper" or sometimes similar commands to delete all the temporary files the source programs use when compiling. Better yet, you could just delete the source folders if you already have the programs installed since the binaries should have been placed into other folders when you did the install.

Another idea is to get a new partition and make it as a sub folder of /usr, such as /usr/local but that assumes you have free hard drive space somewhere else.

tarballed 02-06-2003 01:32 PM

Another idea is to get a new partition and make it as a sub folder of /usr, such as /usr/local but that assumes you have free hard drive space somewhere else.

It is funny that you mention this, because I have considered resizing a few partitions. However, I am not sure how to do that.

If I remember correctly, the program, partd(?) will do this, correct?

Know of a good place/link that has a how-to of some sort? Or do you use this for trial and error sort a speak.

Thanks guys.

Tarballed

PTBmilo 02-06-2003 07:09 PM

If all you need is gnome, samba, and a couple more progs, It REALLY shouldn't be taking up over a gig of space (especially in just /usr). Did you install everything? Check out what you've got in {/usr/bin, /usr/local/bin, /usr/sbin/,/usr/local/sbin} and think about un-installing some stuff. I think that the man/info/(add locales to that) should probably save you +-30MB, but then you don't have any documentation. It really sucks to not have manpages.


All times are GMT -5. The time now is 11:03 PM.