Wrong Disk usage just in one partition
Hello.
The disk usage reporting tool in whm and cpanel is not showing the real disk usage, this only happens for the second partition/disk, is just showing and updating the space occupied by MySQL.
The attached photos shows the incorrect data and the real size of the account.
cpanel_and_whm: 11.88.0.11
operating_system_name: centos
operating_system_version: '7.8'
Thanks
-
Have you enabled quotas on the other disk? If not I'd suggest running the following: /scripts/initquotas
If you have already enabled quotas run the following:/scripts/fixquotas0 -
Have you enabled quotas on the other disk? If not I'd suggest running the following:
I just runned the first command and this is the response:[root@serv ~]# /scripts/initquotas journaled quota support: kernel supports, user space tools supports (available) /dev/sda1 (already configured quotas = 1). /dev/sdb (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/sda1". quotacheck: Scanning /dev/sda1 [/] 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 117115 directories and 594690 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/sda1" in6.409 second(s). ....Done Quotas have been enabled and updated.
Is it normal to use dev/sdb disk instead of sdb1 partition? Is not even checking dev/sdb0 -
Is it normal to use dev/sdb disk instead of sdb1 partition? Is not even checking dev/sdb
Depending on the configuration it is. What is in/etc/fstab0 -
Depending on the configuration it is. What is in
/etc/fstab
This is the response:# # /etc/fstab # Created by anaconda on Sun Sep 15 03:11:27 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 # /dev/sda1 / ext4 errors=remount-ro,discard,usrjquota=quota.user,jqfmt=vfsv0 1 1 /usr/tmpDSK /tmp ext3 defaults,noauto 0 0 /dev/sdb /copias ext4 defaults,errors=remount-ro,usrquota 0 0 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/fstab" 11L, 444C
Thanks0 -
Is that secondary drive where you'll be storing backups? 0
Please sign in to leave a comment.
Comments
5 comments