<div dir="ltr"><div><div><div><div>hi Kir, <br><br></div>thanks a lot for the hint. however, in our cases, we didn&#39;t put anything in the user&#39;s container. is it possible for a user to bypass vzquota through writing files in /vz/private directly? on the other hand, once we restart the container, the disk utilization gets down. is it possible that an unclosed but removed file eats out the storage, at large off the quota control? we doubt it is possible but we cannot replay it: when we dd a file, suspending the process, rm the file and fg the process again, the quota for the test container soon plays the role. <br>
<br></div>any further idea?<br><br></div>thanks and regards,<br></div>maoke<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/8 Kir Kolyshkin <span dir="ltr">&lt;<a href="mailto:kir@openvz.org" target="_blank">kir@openvz.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><p dir="ltr"><br>
On Jul 7, 2013 11:57 PM, &quot;Maoke&quot; &lt;<a href="mailto:fibrib@gmail.com" target="_blank">fibrib@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; hi all, <br>
&gt;<br>
&gt; we recently discovered twice that actual disk usage of a certain container exceeds the quota setting but the vzquota doesn&#39;t show the exact usage and doesn&#39;t work to stop the usage. df in the host shows continuously increasing growth though. <br>


&gt;<br>
&gt; do anyone have the similar experience? kernel is 2.6.18-based. thanks!</p>
</div></div><p dir="ltr">This is usually the case when you write to container filesystem from the host bypassing vzquota — to /vz/private rather than /vz/root.</p>
<p dir="ltr">To fix, you need to reinitialize the quota. Stop container, do vzquota drop $CTID and start it again. vzquota drop removes quota file, so they have to be re-created on container start.<br></p>
<p dir="ltr">&gt;<br>
&gt; maoke <br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;<br>
</p>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>