Every now and then i get some mails from my hosters monitoring that something at my server is not running. As always i have a look and this time stumbled across this problem.
The VM could not be started, which resulted in this log output.
1 2 3 4 5 |
Starting container ...
vzquota : (warning) Incorrect quota shutdown for id 101, recalculating disk usage
vzquota : (error) quota check : lstat `sess_ehnttr7nr4kp2tcri7982fr0h2': Input/output error
vzquota on failed [1]
TASK ERROR: command 'vzctl start 101' failed: exit code 60 |
Searching for ‘exit code 60′ brought me on the right tracks. The solution was to use this commands:
1 2 3 4 |
root@server ~ # vzquota off 101
vzquota : (error) Quota is not running for id 101
vzquota : (warning) Repairing quota: it was incorrectly marked as running for id 101
root@server ~ # vzquota on 101 |
The problem seems to be a “corrupted” quota file, because the VM has not been shut down correctly and the quota file still assumed the VM was running.