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.

WHM DIsk quotas issue - cpanels appears Unlimited

Discussion in 'General Discussion' started by postcd, Nov 13, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    an OpenVZ VPS, WHM on it. I transfered VPS to another server, but this server was unable to run "ploop", but only "simfs" (its older kernel maybe)

    I see now all cpanel accounts has unlimited disk Quota.

    I tried /scripts/fixquotas

    the result:
    Code:
    Installing Default Quota Databases......Done
    journaled quota support: not available with vzaquota (disabled)
    Warning virtual file systems are mounted. Quotas may be counted as double
    for users who are currently logged in. Please have jailshell users logout
    before running quotacheck in the future!
    
    All jailed users will be logged out in 60 seconds!
    
    jailshell: no process killed
    checking out /backup
    checking out /backup
    Quotas have been enabled, however they may not be up to date as quotacheck has been skipped.
    Reading package prefix_myhosting.com_mypackagename
    Resetting quota for aazbiwmm to 100 M
    [B]edquota: Quota write failed (id 708): Invalid argument[/B]
    ...and so on for all accounts.....
    quota aazbiwmm
    Code:
    Disk quotas for user aazbiwmm (uid 708): none
    /sbin/quotacheck -vguma
    Code:
    quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
    quotacheck: Scanning /dev/simfs [/] done
    quotacheck: Checked 350839 directories and 3124862 files
    quotacheck: Quota file //aquota.user has IMMUTABLE flag set. Clearing.
    quotacheck: Failed to remove IMMUTABLE flag from quota file //aquota.user: Inappropriate ioctl for device
    quotacheck: Quota file //aquota.group has IMMUTABLE flag set. Clearing.
    quotacheck: Failed to remove IMMUTABLE flag from quota file //aquota.group: Inappropriate ioctl for device
    From OpenVZ configuration file:
    QUOTAUGIDLIMIT="10000"
    there someone advicing command from node (i have access to it): "vzctl set 101 --quotaugidlimit 80 --save"
    THe VPS hdd is using slightly more than 100gb disk space..
    DISKSPACE="204800000:204800000"
    DISKINODES="102400000:102400000"
    QUOTATIME="0"

    Please how can i fix this?
     
    #1 postcd, Nov 13, 2014
    Last edited: Nov 13, 2014
  2. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Here is an OpenVZ comment: Cpanel quotas - OpenVZ Linux Containers Wiki
    i did commands they mention, and then vzctl set 860 --quotaugidlimit 200000 --save
    then modiffication of cpanel disk quota limits started working
    Then even cpanel/whm fixquotas script fixed all unlimited cpanel quotas to their proper values, this script command: /scripts/fixquotas

    Question to cpanel is if You can anyhow prevent this issue to happen on OpenVZ, see the link above in this post. Thank You
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    This is an issue that OpenVZ would need to address. The "quotaugidlimit" limit is configured from the VPS node and it's not something that's overwritten by cPanel.

    Thank you.
     
Loading...

Share This Page