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 not working?

Discussion in 'General Discussion' started by Forcerdj, Sep 14, 2016.

  1. Forcerdj

    Forcerdj Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    8
    HI,

    I have just randomly noticed disk quota is not working properly on one of my servers.

    Looking at a client account Disk Usage is at 10.8 MB / 2.5 GB ( 0% )

    However, when i click in to see where space is used:

    Mail: 1,388.46 MB
    Public: 2,038.15 MB
    3,452.75 MB total disk space used.
    2,560.00 MB quota limit (0.08 MB used).

    Clearly this is not right? it's essentially giving the user as much space as needed.

    How is it possible to fix this?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. Forcerdj

    Forcerdj Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    8
    Thank you, I have ran through the initial quote setup, while it said quotes have been enabled and it also updated each account it said it had been disabled on /home to prevent performance degradation... I'm assuming it's referring to the /home directory only and not the accounts under it?

    The disk space usage is still reading 0mb or low for most accounts - I presume this would be until quotes are updated by the system? Is there a way I can force it manually? I'm not sure if fixquotas is the right task for this?
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    Is this VPS ?

    Can you please update here the fixquotas commmand output here so that we can assist you on this issues.
     
  5. Forcerdj

    Forcerdj Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    8
    Hi, no it is a dedicated server.

    Here is output..

    Code:
    $ /scripts/fixquotas
    Installing Default Quota Databases......Done
    journaled quota support: kernel supports, user space tools supports (available)
    checking out /backup
    checking out /home/backupsy
    checking out /backup
    Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process.
    UUID=ae757575-394e-42cd-8f41-55d551b7c44e (already configured quotas = 1).
    Quotas will not be enabled on /home to prevent performance degradation.
    UUID=29036bb1-f7fd-4fe8-9576-44334cf86ee3 (already configured quotas = 0).
    UUID=4b93305c-0e37-48db-9f90-d02c2a1ab89f (already configured quotas = 0).
    UUID=db195d38-890c-4dd1-a6cb-f87ff89b370a (already configured quotas = 1).
    UUID=3101b23a-48b4-4a2a-8f99-e747817eea6f (already configured quotas = 1).
    Updating Quota Files......
        quotacheck: Scanning /dev/md126p2 [/] load sym
        quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be substracted.
        quotacheck: Old group file name could not been determined. Usage will not be substracted.
        quotacheck: Checked 6615 directories and 52461 files
        quotacheck: Old file not found.
        quotacheck: Scanning /dev/md126p3 [/usr] done
        quotacheck: Cannot stat old user quota file /usr/quota.user: No such file or directory. Usage will not be substracted.
        quotacheck: Old group file name could not been determined. Usage will not be substracted.
        quotacheck: Checked 43876 directories and 231567 files
        quotacheck: Old file not found.
        quotacheck: Scanning /dev/md126p1 [/var] done
        quotacheck: Cannot stat old user quota file /var/quota.user: No such file or directory. Usage will not be substracted.
        quotacheck: Old group file name could not been determined. Usage will not be substracted.
        quotacheck: Checked 11881 directories and 66311 files
        quotacheck: Old file not found.
        done
    
    ....Done
    Quotas have been enabled and updated.
    Reading package Default
    Resetting quota for username to 5120 M
    ....
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Are backups enabled on that server? Are you backing up to the same drive you want to backup?
     
  7. Forcerdj

    Forcerdj Well-Known Member

    Joined:
    Nov 30, 2009
    Messages:
    60
    Likes Received:
    1
    Trophy Points:
    8
    All backups are stored in an offsite location, they are removed from /backup after backup has been transferred.
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Feel free to open a ticket directly to cPanel Technical Support.
     
Loading...

Share This Page