The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by rpmws, Apr 25, 2002.

  1. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    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.
     
  2. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    found solution..

    made symlink using ln

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

    sbrad Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Symlink will be ln -s.

    That should work fine.
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  5. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    thanks guys!! yep ln -s that was :) tailing in my backup drive tels me they are writing just fine.
     
  6. JapAniManga.ch

    JapAniManga.ch Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    so it wil be the best to make a resize of the partition instead to make some simlink's ?
     
  7. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    I was told that was nearly impossible.
     
  8. dzevad

    dzevad Well-Known Member

    Joined:
    Oct 7, 2001
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    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
     
Loading...

Share This Page