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.

df shows 83% diskspace on /home/ but there are no users over quota?!

Discussion in 'General Discussion' started by arcane, Jan 24, 2005.

  1. arcane

    arcane Member

    Joined:
    Oct 25, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    For some reason, df is showing the following:

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda1 1510032 744692 688632 52% /
    /dev/sda7 85080348 66651380 14107084 83% /home
    none 516912 0 516912 0% /dev/shm
    /dev/sda6 505605 11833 467668 3% /tmp
    /dev/sda3 10080520 3019144 6549308 32% /usr
    /dev/sda2 16128668 2221564 13087792 15% /var

    My /home/ directory is 83% utlilized...., how is this possible if the users hosted on the server (at the maximum,) can only use 30 GB of space?

    I find this surprising, but I can't find the problem. All files in ls -la /home/ is either a user, or cpanel folders. I have checked the cpbackup folder to find nothing in the sub directories.

    In WHM, most users are using 500 MB of space, and there are only about 40 hosted accounts on this server. Can anyone help me troubleshoot this problem? I've tried to manually checking the contents of non-user files, and I've checked WHM for accounts over quota (none by the way!).

    Any suggestions will be appreciated
     
  2. cPanelKyle

    cPanelKyle Technicial Analyst III/Migrations Specialist
    Staff Member

    Joined:
    Feb 10, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Twitter:
    Run du -sh /home to see what directory is taking up so much space. You should be able to figure out from there what directory is possibly causing the problem.
     
  3. arcane

    arcane Member

    Joined:
    Oct 25, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the help, but I believe it didn't solve my problem.

    It output this:
    64G /home

    So the above should mean that there is a huge file in the /home/ directory right?

    ls -la outputs the following files that aren't users' folders:

    -rwxr--r-- 1 root root 1024512 Oct 24 10:58 quota.user*
    -rw-r--r-- 1 root root 20480 Oct 30 11:15 mailgviimpor.tar
    -rw-r--r-- 1 root root 2191475 Sep 29 20:22 management.tgz
    -rw-r--r-- 1 root root 614400 Oct 30 11:15 gviimpor.tar
    -rw------- 1 root root 1208090 Oct 24 10:53 cpmove-justgood.tar.gz
    -rwxr--r-- 1 root root 16384 Jan 25 00:16 aquota.user*


    Any other suggestions?
     
  4. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    Not all files will be counted for quota, users such as root and nobody won't be counted against users quotas (if you have mod_php installed, it's possible that you could have Gb's of files owned by 'nobody' in one of the clients accounts.

    You just need to find the large account. (/home/$user) and look further from there.
     
  5. arcane

    arcane Member

    Joined:
    Oct 25, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Is there a useful command that displays all files of a user? There are about 50+ folders (users) in /home/ and digging through every directory sounds like a daunting task.
     
  6. arcane

    arcane Member

    Joined:
    Oct 25, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I found the user, by du -sh some folders .

    Thanks for the help!
     
  7. sadique

    sadique Member

    Joined:
    Jan 25, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    use wild cards

    Please try to use du -sch /home/a* /home/b* etc by making good sense of appropriate wild cards
     
  8. simpint

    simpint Member

    Joined:
    May 4, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    du -sh /home/* is much less work!
     
Loading...

Share This Page