Skip to main content

Yet another quota thread (VPS)

Comments

11 comments

  • cPanelMichael

    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
  • vs-fam
    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
  • cPanelMichael
    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
  • vs-fam
    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
  • cPanelMichael
    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
  • vs-fam
    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. Thanks
    0
  • cPanelMichael
    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
  • vs-fam
    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
  • vs-fam
    Well, finally went back to an old openvz kernel and everything is working.
    0
  • cPanelMichael
    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
  • vs-fam
    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.