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.

Disk Quota problem

Discussion in 'General Discussion' started by Hack, Aug 6, 2005.

  1. Hack

    Hack Member

    Joined:
    May 18, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I recently set up this server using centos 4 and the latest cpanel. I am now getting emails every day showing that a reseller on the server is almost out of disk space.

    The account with the username 'xxxxx', is running out of disk space.
    Please remove some files from this account, or ask the administrator to
    increase your disk quota.
    You have currently used 87.18% of your disk space.

    But when I go into the WHM it only shows the user is using 173+ megs and their account is setup for 20000megs. Also the df output is also showing very little use.

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/md1 33973664 2190916 30056972 7% /
    /dev/hda1 57685532 86092 54669188 1% /backup-disk
    /dev/sda1 54416 15976 35631 31% /boot
    /dev/sdb1 54416 5011 46596 10% /boot-copy
    none 517368 0 517368 0% /dev/shm


    I tried /scripts/initquota that changed it from critical to warning, but can't get any better than that.. is there a problem with setting the packages up with serveral gigs of space. Thanks for any ideas.

    Wayne
     
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
  3. Kerstin

    Kerstin Well-Known Member

    Joined:
    Apr 9, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Berlin
    Thank for the link, some problems with entrys by the quota-config
    or user configuration with double entrys or acces rights.

    Delete user acount and directorys and crate user new. :D
     
  4. Hack

    Hack Member

    Joined:
    May 18, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Still quota problem

    Its not a bandwidth issue as the link you posted in about, its seems to indicate the disk space they are allowed to use is being incorrectly counted, or something. I'm not going to delete this reseller and reload it all, thats crazy, he's got a ton of stuff on this server.
     
  5. Kerstin

    Kerstin Well-Known Member

    Joined:
    Apr 9, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Berlin
    You have right, the space is still incorrectly counted by Wayne.
    1 kB is 1024 Byte
    1 MB is 1024 kB
    also
    1 MB is not 1 million ;) byte.
     
  6. elix

    elix Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Try editing the amount of space that the account has again, even if it's to the same thing.

    Also try this command in SSH:

    Code:
    cd /home/$usr
    (replace $usr)

    Then do:
    Code:
    du -h
    The final output will tell you exactly how much space this particular directory is using.

    Also, does the entire reseller have 20GB or does just this account have 20GB assigned to it. The reseller may not be running out of space, but this account may be.

    Regards,
     
  7. Kerstin

    Kerstin Well-Known Member

    Joined:
    Apr 9, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Berlin
    elix,

    what the du command do exactly, it`s not known by me ?
     
  8. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    du is disk usage command and the command du -h will show you the size in Bytes.
     
  9. Kerstin

    Kerstin Well-Known Member

    Joined:
    Apr 9, 2005
    Messages:
    136
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Berlin
    Thanks for the info, the command is not described in the linux documentation.
    It would show the easy disk space.
     
  10. katz_global

    katz_global Well-Known Member
    PartnerNOC

    Joined:
    Oct 18, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hosting from: Panama, Hong Kong, Singapore, Malays
    du -sh *

    gets a cleaner list for digging in.
     
Loading...

Share This Page