‘quotacheck’ bug on Ubuntu 8.04 running in a XEN VPS
Well I am not sure if this bug is general accross the Ubuntu 8.04 family, but I have a Xen based VPS running Virtualmin and recently stumbled accross an issue with the quota calculations. You can follow the thread posted in the Virtualmin bug tracker but the basic problem was that I got the following errors:-
root@ycits01:/# quotacheck -u -g -f -m /
quotacheck: Cannot create new quotafile //aquota.user.new: File exists
quotacheck: Cannot initialise IO on new quotafile: File exists
quotacheck: Cannot create new quotafile //aquota.group.new: File exists
quotacheck: Cannot initialise IO on new quotafile: File exists
The solution was to run the following:-
mv /aquota.user.new /aquota.user.broken
mv /aquota.group.new /aquota.group.broken
quotacheck -u -g -f -m /
So I hope this is of use to somebody, now all I need to do is find out where I should report the bug!