[Users] forcibly purging quota?

Kirill Korotaev dev at sw.ru
Tue Sep 18 05:17:30 EDT 2007


Can you please explain a bit how your quotas get wrong?
Do you have some test case to reproduce the problem and demonstrate it?
Or you have started VEs w/o quotas from time to time?
Or you have some private custom VE private directories?
What filesystem do you use for /vz?

Thanks,
Kirill


Gregor Mosheh wrote:
> Hey, guys.
> Thanks again for OpenVZ, and for the expert assistance. :)
> 
> I have 15 VEs,and the quota is totally wrong on all of them. I have used 
> the trick of "vzctl stop;vzquota drop;vzctl start" in order to restart a 
> VE and have the quota properly updated.
> 
> But... I would like to avoid shutting down our customers' VPSs.
> 
> Question: How safe is "vzquota drop -f"? Could I use it to forcibly and 
> safely have the quota refreshed, without shutting down each VE? What 
> risks (if any) are involved?
>     vzquota drop 1 -f
>     vzquota on 1 -f
> 



More information about the Users mailing list