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/cpanel partition - how to solve the growing size?

Discussion in 'General Discussion' started by sharmaine001, Nov 16, 2009.

  1. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    166
    I have followed your tutorial to symlink /var/cpanel/bandwidth to a directory in /home/bwtmp but when I checked just now files are still saved to /var/bandwidth and /home/bwtmp does not have any file inside it. How come?
     
  2. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Are you sure that you setup the sym-link correctly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,051
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Earth
    Follow these steps:

    mkdir /home/bwtmp
    mv /var/cpanel/bandwidth /home/bwtmp/
    ln -s /home/bwtmp/bandwidth /var/cpanel/bandwidth

    That will move the "bandwidth" director under /home/bwtmp/ directory and will create a symlink for it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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