my /usr part is growing so big!!!!

rpmws

Well-Known Member
Aug 14, 2001
1,822
9
318
back woods of NC, USA
can you resize a partition? my /usr is at 90% and I have less traffic and the same # of domsin on that box. Where should I look to delete stuff besides the domlogs dir? also is there a easy way to get rid of the 200 domains in there that have been deleted?

by the way /usr is 4GB now.
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
9
318
back woods of NC, USA
found solution..

made symlink using ln

..seems to work ..anyone know of drawbacks?
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
symlinking things is a good idea for this *IF* you know what you are doing. If you start symlinking critical directory structure (thinks in /usr/src, or /usr/local/cpanel , for instance), you will run into huge problems with your OS or with cpanel itself.

been there / done that / nick bitched me out, etc.

Just be careful.
domlogs are a very safe dir to symlink, however, they have no ties to anything else, very straightforward.
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
9
318
back woods of NC, USA
thanks guys!! yep ln -s that was :) tailing in my backup drive tels me they are writing just fine.
 

JapAniManga.ch

Well-Known Member
Aug 11, 2001
88
0
306
Switzerland
so it wil be the best to make a resize of the partition instead to make some simlink's ?
 

rpmws

Well-Known Member
Aug 14, 2001
1,822
9
318
back woods of NC, USA
I was told that was nearly impossible.
 

dzevad

Well-Known Member
Oct 7, 2001
95
0
306
Is it safe to symlink /usr/share ? I already did it, a month ago, seems like there are no problems...but if anyone knows more I would appreciate info :)

Dzevad