Proxmox Error: (warning) Incorrect quota shutdown for id xxx recalculating disk usage
Category : How-to
I came across this error today when trying to manually backup the container to create an OpenVZ container template.
It occurred, in my case, when trying to start the container VMID 600 after been playing around within it’s root folder from the host’s terminal. The following error was presented:
Starting container ... vzquota : (warning) Incorrect quota shutdown for id 600, recalculating disk usage vzquota : (error) quota check : lstat `EelIMf': Input/output error vzquota on failed  TASK ERROR: command 'vzctl start 600' failed: exit code 60
To fix the issue, we need to turn off the quota for the VMID and then back on again.
vzquota off 600
The output should look like below:
vzquota : (error) Quota is not running for id 600 vzquota : (warning) Repairing quota: it was incorrectly marked as running for id 600
You then need to turn the quota back on, to ensure your container’s disks are restricted to the size you have set for it.
vzquota on 600
You should now be able to successfully start the container, error free!