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.

/dev/sda1 diskfull

Discussion in 'General Discussion' started by charliesxia, May 12, 2009.

  1. charliesxia

    charliesxia Member

    Joined:
    Aug 3, 2006
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    0
    :confused:
    this is the new remote server after i have installed the cpanle .I found that
    Code:
    df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1             5.0G  4.1G  661M  87% /
    /dev/sda2             224G  7.9G  205G   4% /home
    /dev/shm              1.5G     0  1.5G   0% /dev/shm
    /usr/tmpDSK           485M   13M  447M   3% /tmp
    
    Code:
    cd /
    du * -sh 
    
    7.5M    bin
    11M     boot
    68K     dev
    66M     etc
    7.9G    home
    23M     lib
    18M     lib64
    16K     lost+found
    4.0K    media
    4.0K    mnt
    27M     opt
    0       proc
    4.0M    root
    26M     sbin
    7.5M    scripts
    16K     selinux
    4.0K    srv
    0       sys
    2.2M    tmp
    3.2G    usr
    483M    var
    
    please help how to fix the problem,thank you
    I have remove the files under /usr/local/apache/domlogs
     
  2. Lyttek

    Lyttek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    770
    Likes Received:
    3
    Trophy Points:
    18
    Only 5 gigs for / ?? That seems really small...

    I'd make that partition bigger myself...
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    As Lyttek says, 5GB for the root partition that contains /usr and /var us much too small for a cPanel server environment. You're better off securing a cPanel backup off-server and having it repartitioned more sensibly (there are recommendations in the cPanel documentation). In the meantime, you could move /var/lib/mysql /var/log/ /usr/local/apache/logs/ and /usr/local/apache/domlogs/ to /home and use symlinks, but great care has to be taken when doing this.
     
  4. charliesxia

    charliesxia Member

    Joined:
    Aug 3, 2006
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    0
    thank you for your help chirpy
     
Loading...

Share This Page