Hi,
I faced a problem with Quota on cPanel, There is only 500Gb SSD harddrive on a server but for some accounts Quota is more than 2Tb !
I remove /quotas.users and also disable "
in Tweaksetting and run Initial Quota Setup many times but it's not fixed!
Removed /home/user/.cpanel/ducache
in disk usages, all of these are mention in Other Usage, so I search the whole server with this command but there isn't any files in it.
Also, disable virtfs but no luck
I faced a problem with Quota on cPanel, There is only 500Gb SSD harddrive on a server but for some accounts Quota is more than 2Tb !
I remove /quotas.users and also disable "
Cache disk quota information |
Removed /home/user/.cpanel/ducache
in disk usages, all of these are mention in Other Usage, so I search the whole server with this command but there isn't any files in it.
Code:
find / -path /home/virtfs -prune -o -path /home/${cpaneluser} -prune -o -user "${cpaneluser}" -type f -ls > files_outside_homedir.txt 2>/dev/null
Code:
journaled quota support: kernel supports, user space tools supports (available)
UUID=0a2ccfd4-3fd4-4d6c-a445-8f24a50f9f49 (already configured quotas = 1).
UUID=8303cfe1-e7c6-4d54-99d3-df0edffa0530 (already configured quotas = 0).
UUID=6f89d3a7-98f5-4035-9e6d-208de6cdb6ee (already configured quotas = 1).
Updating Quota Files......
Running Task: “/sbin/quotacheck --create-files --user --group --verbose --force --use-first-dquot --no-remount --format=vfsv0 /dev/sda3”.
quotacheck: Scanning /dev/sda3 [/] /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-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 1230157 directories and 9011276 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/sda3” in 16.753 second(s).
Running Task: “/sbin/quotacheck --create-files --user --group --verbose --force --use-first-dquot --no-remount --format=vfsv1 /dev/sdb1”.
quotacheck: Scanning /dev/sdb1 [/sd] ||/-\quotacheck: Cannot stat old user quota file /sd/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 267 directories and 6303 files
quotacheck: Old file not found.
done
Completed Task: “/sbin/quotacheck --create-files --user --group --verbose --force --use-first-dquot --no-remount --format=vfsv1 /dev/sdb1” in 1.860 second(s).
....Done
Quotas have been enabled and updated.
Reading package modiranh_MHLC-500
Resetting quota for a4040eh to 50
Code:
#
# /etc/fstab
# Created by anaconda on Sat Jan 26 18:19:08 2019
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=0a2ccfd4-3fd4-4d6c-a445-8f24a50f9f49 / ext4 usrjquota=quota.user,jqfmt=vfsv0 1 1
UUID=8303cfe1-e7c6-4d54-99d3-df0edffa0530 /boot xfs defaults 0 0
UUID=64680542-b45c-473d-9e38-f8ef2b98dfbd swap swap defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0
UUID=6f89d3a7-98f5-4035-9e6d-208de6cdb6ee /sd ext4 usrjquota=quota.user,jqfmt=vfsv1 0 0
Last edited by a moderator: