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.

/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:
    16
    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:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Are you sure that you setup the sym-link correctly?
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    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.
     
Loading...

Share This Page