Koozali.org: home of the SME Server

quota files corrupt [SOLVED]

egerards

quota files corrupt [SOLVED]
« on: October 09, 2006, 03:31:31 PM »
On the SME server of a friend it seems that the quota files are corrupt ('quota: Quota file not found or has wrong format.').

I tried to fix them the following way:

Quote
[root@linux01 ~]# quotaoff /dev/mapper/main-root
[root@linux01 ~]# quotacheck -cguvm /
quotacheck: Scanning /dev/mapper/main-root [/] done
quotacheck: Checked 15888 directories and 117109 files
[root@linux01 ~]# quotaon /dev/mapper/main-root
[root@linux01 ~]# quota -u rene
quota: Quota file not found or has wrong format.
Disk quotas for user rene (uid 5012): none


When I check /aquota.group and /aquota.user I can see that the quota files were actually regenerated, nevertheless quota still doesn't work correctly.

Does anyone have an idea how to fix this?

egerards

quota files corrupt [SOLVED]
« Reply #1 on: October 10, 2006, 12:05:03 PM »
I found a post at linuxquestions.org which helped me solve this problem: http://www.linuxquestions.org/questions/showthread.php?t=460817

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: quota files corrupt [SOLVED]
« Reply #2 on: October 10, 2006, 04:11:30 PM »
Quote from: "egerards"

Does anyone have an idea how to fix this?


I think that removing the quota files and rebooting should be sufficient.