Skip to main content

how check QUOTA of USERX from CONCOLE? (quota -vs)

Comments

7 comments

  • cPanelLauren
    Hello, What's the output when you run the following: /scripts/clear_orphaned_virtfs_mounts --user=$user /scripts/fixquotas
    0
  • 000
    What's the output when you run the following: /scripts/clear_orphaned_virtfs_mounts --user=$user /scripts/fixquotas

    Thanks. Output is[root@pepsi ~]# /scripts/clear_orphaned_virtfs_mounts --user=$user -- Begin user 'userz' -- No action needed -- End user 'userz' -- [root@pepsi ~]#
    and second command:[root@pepsi~]# /scripts/fixquotas journaled quota support: kernel supports, user space tools supports (available) checking out /backup Warning : Your system does not have a separate filesystem for backups. This may cause performance degradation during the backup process. /dev/mapper/centos-root (already configured quotas = 1). UUID=xxx-xxx-xxx-xxx-xxx (already configured quotas = 0). Updating Quota Files...... Running Task: "/sbin/quotacheck --create-files --user --group --verbose --force --use-first-dquot --no-remount --format=vfsv0 /dev/mapper/centos-root" quotacheck: Scanning /dev/mapper/centos-root [/] quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be subtracted. quotacheck: Old group file name could not been determined. Usage will not be subtracted. quotacheck: Checked 65169 directories and 567296 files quotacheck: Old file not found. done Completed Task: "/sbin/quotacheck --create-files --user --group --verbose --force --use-first-dquot --no-remount --format=vfsv0 /dev/mapper/centos-root" ....Done Quotas have been enabled and updated. Resetting quota for user 1... . . . Resetting quota for user 666 [root@pepsi~]#
    0
  • cPanelLauren
    And after that do you still get the same error? I ask because I can do this as the user without issue: [lauren@server home]$ quota -sv Disk quotas for user lauren (uid 1000): Filesystem space quota limit grace files quota limit grace /dev/vda1 3626M 0K 0K 79995 0 0
    0
  • 000
    And after that do you still get the same error?

    Thanks by your feedback, just NOW we get this: [user_normal_ONE@pepsi ~]$ quota -vs quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/opt: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/tmp: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/sbin: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/data: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/logs: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/spam: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/lists: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/locks: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/qfiles: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/usr/local/cpanel/3rdparty/mailman/archives: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/var: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/var/log: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/var/tmp: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/var/spool: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/var/cpanel/php/sessions: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/var/cpanel/email_send_limits: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/etc/scl: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/etc/mail: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/etc/apache2: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/etc/pki/tls: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/etc/alternatives: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/etc/pki/ca-trust: No such file or directory quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2/home/user_normal_2: No such file or directory Disk quotas for user user_normal_ONE (uid 1062): Filesystem space quota limit grace files quota limit grace /dev/mapper/centos-root 1455M 2048M 2048M 53851 0 0 [user_normal_ONE@pepsi ~]$
    for me is very estrangle: I connect to PUTTY as user_normal_ONE but the result of command show:quota: Cannot resolve mountpoint path /home/virtfs/user_normal_2
    ??? some idea about this strangle thing . . . "?
    0
  • cPanelLauren
    I don't know it seems that there is an issue with virtfs I'd suggest you open a ticket so our analysts can look at this further.
    0
  • 000
    I don't know it seems that there is an issue with virtfs I'd suggest you open a ticket so our analysts can look at this further.

    today we discovery: if shell is JAILSHELL, then all this errors, if shell is NORMAL, then ouput clean. one Q: jailshell is develop by cPanel ?
    0
  • cPanelLauren
    jailshell is develop by cPanel ?

    The short answer is no, a more descriptive explanation of jailed shell can be found here:
    0

Please sign in to leave a comment.