Wrong Disk usage just in one partition

Siul293

Registered
Jul 1, 2020
3
0
1
Spain
cPanel Access Level
Root Administrator
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
 

Attachments

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Have you enabled quotas on the other disk? If not I'd suggest running the following:

Code:
/scripts/initquotas
If you have already enabled quotas run the following:

Code:
/scripts/fixquotas
 

Siul293

Registered
Jul 1, 2020
3
0
1
Spain
cPanel Access Level
Root Administrator
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:

Code:
[[email protected] ~]# /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/sdb
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
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/fstab
 

Siul293

Registered
Jul 1, 2020
3
0
1
Spain
cPanel Access Level
Root Administrator
Depending on the configuration it is.

What is in /etc/fstab
This is the response:
Code:
#
# /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
Thanks