fixquotas runs quotacheck on all partitions TWICE?

jols

Well-Known Member
Mar 13, 2004
1,110
3
168
Is it typical for fixquotas to run quotacheck on all partitions twice?

I've been waiting all evening for this to complete, and now it seems to be looping back to the beginning. Here is the main part of the output in SSH I am looking at:

Updating Quota Files......
quotacheck: Scanning /dev/sda5 [/] quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 1232 directories and 15911 files
quotacheck: Scanning /dev/sda8 [/home] done
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 397516 directories and 4563666 files
quotacheck: Scanning /dev/sda3 [/usr] done
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 18547 directories and 163400 files
quotacheck: Scanning /dev/sda2 [/var] done
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 2669 directories and 91777 files
done


quotacheck: Scanning /dev/sda5 [/] quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 1232 directories and 15911 files
quotacheck: Scanning /dev/sda8 [/home] done
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please check that you are not using journaled quotas in /etc/fstab

Code:
grep quota /etc/fstab
If you see something similar to the following:

Code:
,usrjquota=aquota.user,jqfmt=vfsv0
This would indicate journaled quotas. You would need to remount the partition or partitions without using journaled quotas.
 

jols

Well-Known Member
Mar 13, 2004
1,110
3
168
Thanks for your reply. I don't think that's the issue, here's the readout I get:

[email protected] [~]# grep quota /etc/fstab
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/home /home ext3 defaults,usrquota 1 2
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2

The fixquota routine ran several hours, during which time it ran up the load quite a bit but still did not fix the issue, all the account quotas in WHM are still listed as unlimited.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Please submit a ticket at this point for us to investigate further so we can see why the quotas aren't properly updating. You can use either WHM > Support Center > Contact cPanel or use the link in my signature. Thanks!
 

jols

Well-Known Member
Mar 13, 2004
1,110
3
168
Thanks I did submit a ticket and here's what the cPanel.net tech did to fix the issue:

quotaoff -a
quotacheck -acfmv
/scripts/resetquotas
 

acko

Registered
PartnerNOC
Jan 7, 2012
4
0
51
cPanel Access Level
Root Administrator
Hello i have WHM 11.30.5 (build 3)
and have issue with quotas.
Here is my grep quota /etc/fstab:
LABEL=/ / ext3 usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 1
/tmp /var/tmp ext3 defaults,usrquota,bind,noauto 0 0

One of you staff told me that i can not use jurnaled quotas and i need to convert to normal.
I am not sure how to do it, any help ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello :)

Hello i have WHM 11.30.5 (build 3)
Since you are using cPanel 11.30.5, you would need to remount the partition without using journaled quotas. This involves editing your /etc/fstab file and using the "mount" command. If you are not comfortable doing this, I suggest contacting your data center or a qualified system administrator to assist you with this change.

Thank you.