disk used for client not correct

24x7server

Well-Known Member
Apr 17, 2013
1,911
97
78
India
cPanel Access Level
Root Administrator
Twitter
Hello :),

You have root login details so you can check this through command line. Please try with following command

Code:
cd /home/cPuser/
du -sch *
And after that try to update user quota with /scripts/fixquotas command
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Hello :)

Please run the "/scripts/fixquotas" command and let us know if you notice any error messages. Also, files owned by another user on the system do not count towards disk space utilization even when they are stored in another account's home directory. Have you reviewed the files under the account to ensure they are owned by the account username?

Thank you.
 

Takumi80

Member
Nov 7, 2015
17
0
1
Milan
cPanel Access Level
Root Administrator
Hello :)

Please run the "/scripts/fixquotas" command and let us know if you notice any error messages. Also, files owned by another user on the system do not count towards disk space utilization even when they are stored in another account's home directory. Have you reviewed the files under the account to ensure they are owned by the account username?

Thank you.
thanks
this is the screen after run the script

i'm confused for the screen "quota is not be enabled for directory /home
if the problem is this how to enable?????

thanks

test.jpg
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
You mentioned this is a dedicated server. Please post the output from the following commands:

Code:
uname -a
cat /etc/fstab
Thank you.
 

Takumi80

Member
Nov 7, 2015
17
0
1
Milan
cPanel Access Level
Root Administrator
You mentioned this is a dedicated server. Please post the output from the following commands:

Code:
uname -a
cat /etc/fstab
Thank you.

thanks for reply
i attach the result of two commands schermata.jpg two command



Sorry i have been update system

now the version of kernel is 3.10.0-329.7.2.lve1.4.2.el7.X86_64
thanks for support
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Do you have backups enabled, and if so, are they stored on the same partition as your /home directory? Also, this third-party URL should help:

How to enable User and Group Disk Quota on CentOS 7 & RHEL 7

Your /etc/fstab file does not have to match, but it shows you what entries to add for the /home partition.

Thank you.
 

Takumi80

Member
Nov 7, 2015
17
0
1
Milan
cPanel Access Level
Root Administrator
Ok
thanks i resolved

i edit /etc/fstab

add after defaults ----> ,usrquota
the result is " defaults,usrquota"

after this i run /scripts/fixquotas

now the disk usage for user are ok
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
 

Takumi80

Member
Nov 7, 2015
17
0
1
Milan
cPanel Access Level
Root Administrator
sorry
i have the same error

after upgrade the last version i reboot the server and the fstab return at initial
now when change value in 'defaults,usrquota' and run /scripts/fixquotas, the fstab return as the standard and quota not enable

the my user space is 0kb or very very little then is in real

please how to fix this forever

thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,903
2,237
463
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.