WHM DIsk quotas issue - cpanels appears Unlimited

postcd

Well-Known Member
Oct 22, 2010
717
19
68
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?
 
Last edited:

postcd

Well-Known Member
Oct 22, 2010
717
19
68
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.