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.

free disk space on /usr & /var

Discussion in 'General Discussion' started by wgalafassijr, Mar 1, 2012.

  1. wgalafassijr

    wgalafassijr Active Member

    Joined:
    Jun 23, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I need some tips to freeup some disk space on /usr & /var. Can i move some directory to /home (where i have alot of free space)?

    Thanks,
    Wilson
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  3. wgalafassijr

    wgalafassijr Active Member

    Joined:
    Jun 23, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for your fast help.

    Can i do the same steps:
    cd /usr/local/apache
    mv domlogs /home/domlogs
    cd /home
    ln -s domlogs /usr/local/apache/domlogs

    to /usr/local/apache/logs too?

    Thanks,
    Wilson
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Wilson,

    Those logs don't normally fill up much space and I wouldn't recommend moving them. It's up to you if you want to do so, but there's little point when they aren't typically large files.

    Thanks!
     
  5. wgalafassijr

    wgalafassijr Active Member

    Joined:
    Jun 23, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    My access have about 700MB...
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    700MB isn't a large amount of data when many drives are in the TB nowadays. How large is your /var and /usr if you consider 700MB to be a large amount of data?
     
  7. wgalafassijr

    wgalafassijr Active Member

    Joined:
    Jun 23, 2005
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    7.8G 7.1G 315M 96% /usr
    9.7G 6.7G 2.6G 73% /var

    I don't know why my datacenter have particioned with too low space that partitions....
     
Loading...

Share This Page