Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: egerards on October 09, 2006, 03:31:31 PM

Title: quota files corrupt [SOLVED]
Post by: egerards 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?
Title: quota files corrupt [SOLVED]
Post by: egerards 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
Title: Re: quota files corrupt [SOLVED]
Post by: CharlieBrady 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.