Yet another quota thread (VPS)
Hi,
I searched for similar cases, however, either the suggestions are not working for me or the threads aren't resolved.
All VPS on a openvz node have the same problem. All account in them show unlimited quota and 0 or very low (MB) disk usage.
This problem started after a node upgrade (kernel involved) and restart.
I have restarted every container.
The one thing I haven't tried yet is to just restart the node.
Here are some outputs within a container:
Here some outputs from the node (regarding same container above):
# /scripts/fixquotas
Installing Default Quota Databases.../var/cpanel/sysinfo.config updated.
...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 and updated.
Reading package gem1_basico
Resetting quota for adin to 5120 M
Reading package geam1_Basic
Resetting quota for autream to 250 M
Resetting quota for cow to 250 M
Reading package diovi_empresarial
Resetting quota for diavi to 20000 M
Reading package dietm_DIAV
Resetting quota for dinom to 1000 M
Reading package ditm_DIM
Resetting quota for dintm to 20000 M
Resetting quota for geam1 to 0 M
Reading package geam1_Mini
Resetting quota for mevo to 1000 M
Reading package diai_standard
Resetting quota for punor to 7000 M
Reading package geam1_A3
Resetting quota for regional to 30720 M
Reading package geom1_Wordpress
Resetting quota for spleas to 2000 M
Reading package diovi_startup
Resetting quota for wwelvien to 4000 M
Resetting quota for wwani to 7000 M
# /scripts/resetquotas
Reading package geaom1_basico
Resetting quota for admin to 5120 M
Reading package geacom1_Basic
Resetting quota for autdream to 250 M
Resetting quota for co3w to 250 M
Reading package diai_empresarial
Resetting quota for diai to 20000 M
Reading package dinm_DINAV
Resetting quota for dietcom to 1000 M
Reading package dinm_DINAVM
Resetting quota for dinavm to 20000 M
Resetting quota for geom1 to 0 M
Reading package geom1_Mini
Resetting quota for meavo to 1000 M
Reading package diaovi_standard
Resetting quota for punor to 7000 M
Reading package gear1_A3
Resetting quota for regional to 30720 M
Reading package gea1_Wordpress
Resetting quota for splaeideas to 2000 M
Reading package diavi_startup
Resetting quota for wwwelvien to 4000 M
Resetting quota for wwni to 7000 M
# cat /etc/fstab
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /tmp tmpfs nodev,nosuid,noexec 0 0
# mount
simfs on / type simfs (rw,relatime,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type devtmpfs (rw,relatime,mode=755)
none on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
none on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
none on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
simfs on /home/virtfs/gem1/bin type simfs (ro,nosuid,relatime,usrquota,grpquota)
none on /home/virtfs/gom1/dev type devtmpfs (rw,nosuid,noexec,relatime,mode=755)
simfs on /home/virtfs/gm1/lib type simfs (ro,nosuid,relatime,usrquota,grpquota)
simfs on /home/virtfs/gm1/opt type simfs (ro,nosuid,relatime,usrquota,grpquota)
none on /home/virtfs/gem1/tmp type tmpfs (rw,nosuid,noexec,relatime)
simfs on /home/virtfs/gem1/var type simfs (ro,nosuid,relatime,usrquota,grpquota)
simfs on /home/virtfs/gm1/sbin type simfs (ro,nosuid,relatime,usrquota,grpquota)
simfs on /home/virtfs/gem1/lib64 type simfs (ro,nosuid,relatime,usrquota,grpquota)
simfs on /home/virtfs/gem1/var/log type simfs (rw,nosuid,noexec,relatime,usrquota,grpquota)
simfs on /home/virtfs/geom1/etc/mail type simfs (rw,nosuid,noexec,relatime,usrquota,grpquota)
simfs on /home/virtfs/gom1/usr/sbin type simfs (ro,relatime,usrquota,grpquota)
simfs on /home/virtfs/geom1/var/spool type simfs (rw,nosuid,noexec,relatime,usrquota,grpquota)
simfs on /home/virtfs/gem1/etc/pki/tls type simfs (ro,nosuid,relatime,usrquota,grpquota)
simfs on /home/virtfs/gem1/var/cpanel/email_send_limits type simfs (rw,nosuid,noexec,relatime,usrquota,grpquota)
simfs on /home/virtfs/ge1/usr/local/cpanel/3rdparty/mailman type simfs (ro,relatime,usrquota,grpquota)
simfs on /home/virtfs/geom1/usr/local/cpanel/3rdparty/mailman/logs type simfs (rw,relatime,usrquota,grpquota)
simfs on /home/virtfs/gem1/usr/local/cpanel/3rdparty/mailman/lists type simfs (rw,relatime,usrquota,grpquota)
simfs on /home/virtfs/geom1/usr/local/cpanel/3rdparty/mailman/locks type simfs (rw,relatime,usrquota,grpquota)
simfs on /home/virtfs/gcom1/usr/local/cpanel/3rdparty/mailman/qfiles type simfs (rw,relatime,usrquota,grpquota)
simfs on /home/virtfs/gem1/home/gearcom1 type simfs (rw,relatime,usrquota,grpquota)
# uname -a
Linux 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux
Here some outputs from the node (regarding same container above):
# vzquota show 108
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
resource usage softlimit hardlimit grace
1k-blocks 99033500 146800640 146800640
inodes 1725336 73400320 73400320
# vzquota on 108 -s 1
vzquota : (warning) Quota is running for id 108 already
# grep -i QUOTAUGIDLIMIT /etc/sysconfig/vz-scripts/108.conf
QUOTAUGIDLIMIT="1000"
-
Hello :) Please let us know if the following thread is helpful: How to fix Quotas unlimited under OpenVZ? Note the updated documentation URL is: https://docs.cpanel.net/whm/server-configuration/enable-quotas-on-a-virtuozzo-vps/
Thank you.
0 -
Hi cPanelMichael, unfortunately not. I'm not having the errors on the thread as you can see on my outputs. Also, quotas (1st and 2nd) are enabled. Thanks 0 -
The one thing I haven't tried yet is to just restart the node.
You could try this if all other solutions have failed. I'm not seeing any cPanel related error messages in the output you provided, so it looks more like an issue with the VPS hardware node itself. Thank you.0 -
I'm getting new leads: These errors are coming on cron jobs: Cannot guess /dev/root at /usr/local/cpanel/Cpanel/Filesys/Root.pm line 24.
Also, I rebooted the node and nothing, however tried the fixquota script again and got this: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 and updated. Reading package gom1_basico edquota: Cannot stat() mounted device simfs: No such file or directory No filesystems with quota detected. Resetting quota for admin to 5120 M Reading package gom1_Basic edquota: Cannot stat() mounted device simfs: No such file or directory No filesystems with quota detected. Resetting quota for auto4dream to 250 M edquota: Cannot stat() mounted device simfs: No such file or directory No filesystems with quota detected. Resetting quota for cod3w to 250 M ... ... ...0 -
edquota: Cannot stat() mounted device simfs: No such file or directory
Please let us know if this thread is helpful: Frustrating quota error on Centos 6.2 and Xen Thank you.0 -
Please let us know if this thread is helpful: Frustrating quota error on Centos 6.2 and Xen Thank you.
Well, this is an openvz node and, within a container, there's no /dev/root by default. Thanks0 -
You may need to consult with a qualified system administrator or with the OpenVZ support channels if quotas continue to fail, as quotas are handled by the OS as opposed to the cPanel software. Thank you. 0 -
Well, this is the latest steps I've taken. No errors now and still cPanel not reading quotas... rm -f /aquota.user 2>/dev/null rm -f /aquota.group 2>/dev/null for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done
Then...quotacheck -vagum
And finally...# /scripts/fixquotas 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 and updated. Reading package gcom1_basico Resetting quota for admin to 5120 M Reading package gcom1_Basic Resetting quota for dream to 250 M Resetting quota for cw to 250 M Reading package divi_empresarial Resetting quota for divi to 20000 M Reading package dinm_DINA Resetting quota for dinam to 1000 M Reading package din Resetting quota for dim to 20000 M Resetting quota for ge1 to 0 M Reading package ge1_Mini Resetting quota for mevo to 1000 M Reading package diai_standard Resetting quota for ppor to 7000 M Reading package gem1_A3 Resetting quota for regl to 30720 M Reading package gearcpress Resetting quota for splaeas to 2000 M Reading package diarrtup Resetting quota for wwadelvien to 4000 M Resetting quota for wwani to 7000 M
No errors, still no quotas...0 -
Well, finally went back to an old openvz kernel and everything is working. 0 -
Well, finally went back to an old openvz kernel and everything is working.
I am happy to see you were able to determine the cause of the problem. Note the the OpenVZ bug report for this issue is available at: [OVZ-6655] vzquota problems in containers - bugs.openvz.org Thank you.0 -
I am happy to see you were able to determine the cause of the problem. Note the the OpenVZ bug report for this issue is available at: [OVZ-6655] vzquota problems in containers - bugs.openvz.org Thank you.
Thanks for the reference, I see it was created yesterday.0
Please sign in to leave a comment.
Comments
11 comments