OpenVZ Forum


Home » General » Support » vzquota on, disable recalculating disk usage after force quota off (-f)
Re: vzquota on, disable recalculating disk usage after force quota off (-f) [message #53123 is a reply to message #53121] Fri, 12 January 2018 16:07 Go to previous messageGo to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
andreyb wrote on Fri, 12 January 2018 13:50
For example:
vzquota : (error) Quota off syscall for id 100001: Device or resource busy
vzquota : (error)       Possible reasons:
vzquota : (error)       - your current working directory is inside a container directory
vzquota : (error)         root/private area
vzquota : (error)       Currently used file(s):
/var/data/test/test

How can I disable the recalculating for enable qouta after force disable quota?


Dear Andrey,
vzquota accounts all file operation for CT private area, specified in <ctid>.conf file.
Provided messages shows that /var/data/test/test directory is accounted by quota for CT 10001.
For example this can happen if you have specified incorrect private area in <ctid>.conf file,
or because specified directory is used somehow inside container (linked or bindmounted or something else).

By design we have used /vz/private/10001/ directory as private area mounted it into /vz/root/10001/ directory.
Container itself had activity inside /vz/root/10001 only.
Described scenario was expected if some host users have called "cd /vz/root/10001" and then tried to stop CT 10001 quota.

We expect here that files inside CT private area does not have any links outside its top directory /vz/private/10001,
otherwise it will affect quota calculation and lead to similar messages.

Thank you,
Vasily Averin
 
Read Message
Read Message
Read Message
Previous Topic: VZ7 DCACHESIZE parameter is deprecated
Next Topic: OpenVZ on Ubuntu 16.04
Goto Forum:
  


Current Time: Sun Aug 11 22:38:14 GMT 2024

Total time taken to generate the page: 0.02904 seconds