Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/var at 97% - Symbolic links the answer?

Discussion in 'General Discussion' started by dherb73, Nov 14, 2003.

  1. dherb73

    dherb73 Member

    Joined:
    Nov 10, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Due to poor partitioning, my /var is only 251MB large. Currently, /var is at 97%. The main space hogs are as follows:

    22MB --- /var/spool/exim/input
    26MB --- /var/spool/up2date
    135MB --- /var/lib/mysql

    Can I create links for these directories? Or will there be problems associated with that. I've heard that problems may arise for mysql having to go through a link.
    Any help will be much appreciated, especially if it comes before WHM shuts down to prevent "something bad from happening" :eek: :)

    Thanks in advance.
     
  2. dherb73

    dherb73 Member

    Joined:
    Nov 10, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    Update: If anyone is interested

    I tried creating a link for mysql. it didn't work. mysql won't create the socket file -- therefore it wouldn't start.

    Since I couldn't get mysql's datadir to change, I moved some of the larger databases to /usr/local/mysql/ and then created links to them in /var/lib/mysql and it works perfectly. /var is down to about 71% now from 97%.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice