Had this same error this morning when I upgraded from Debian Lenny to Squeeze. Probably should do a full tutorial but too lazy/pressed for time.
Anyway, if you follow either of these tutorials and get errors, read on:
http://www.howtoforge.com/how-to-set...n-debian-lenny
http://www.howtoforge.com/perfect-se...ispconfig-3-p4
Basically, I was getting the same errors as outlined above - everything was fine with my /etc/fstab file, made the correct edits, created the two aquota files, but was getting the same errors judgey was getting:
Code:
WARNING - Quotafile //aquota.group was probably truncated. Cannot save quota settings...
And
Code:
quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.
quotaon: Cannot find quota file on / [/dev/root] to turn quotas on/off.
So I followed these steps:
Code:
/# lsmod | grep quota
quota_v2 2133 0
quota_tree 5423 1 quota_v2
So it was running. Then:
Code:
/# echo 'quota_v2' >> /etc/modules
Then deleted the 2 files I had set up in the tutorials:
Code:
/# rm -f /aquota.group
/# rm -f /aquota.user
Then ran the two statements - here is the output:
Code:
/# quotacheck -avugm
quotacheck: Scanning /dev/disk/by-uuid/ffffffff-4444-5555-8888-999999999aaa [/] done
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Cannot stat old user quota file: No such file or directory
quotacheck: Cannot stat old group quota file: No such file or directory
quotacheck: Checked 9068 directories and 81028 files
quotacheck: Old file not found.
quotacheck: Old file not found.
/# quotaon -avug
/dev/disk/by-uuid/ffffffff-4444-5555-8888-999999999aaa [/]: group quotas turned on
/dev/disk/by-uuid/ffffffff-4444-5555-8888-999999999aaa [/]: user quotas turned on
It seems to be working now. I'll report back if I run into any errors but it looks like this is the fix.
Recent comments
1 day 2 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 23 hours ago
2 days 8 hours ago
2 days 9 hours ago
2 days 13 hours ago
2 days 17 hours ago
2 days 17 hours ago