<p><br>
29.05.2012 0:12 пользователь &quot;Mark Johanson&quot; &lt;<a href="mailto:mjohanson@a2hosting.com">mjohanson@a2hosting.com</a>&gt; написал:<br>
&gt;<br>
&gt; I have been trying to get diskinode limits to set at specific levels.<br>
&gt; Namely a 600k:700k with a 1 day grace period. If I manually run the<br>
&gt; commands:<br>
&gt;<br>
&gt; vzctl set 127 --diskinodes 600000:700000 --save<br>
&gt; vzctl set 127 --quotatime 86400 --save<br>
&gt;<br>
&gt; I get the desired results for a already running VPS. However newly<br>
&gt; created VPS&#39;s are not keeping the settings and I am not sure what is<br>
&gt; assigning the arbitrary numbers it gets. I edited the vz.conf file (as<br>
&gt; well as the .sample file) to add the limits as:<br>
&gt;<br>
&gt; &gt; ## Disk quota parameters<br>
&gt; &gt; DISKSPACE=&quot;50G:50G&quot;<br>
&gt; &gt; DISKINODES=&quot;600000:700000&quot;<br>
&gt; &gt; QUOTATIME=&quot;86400&quot;<br>
&gt; &gt; DISK_QUOTA=yes<br>
&gt;<br>
&gt; When the VPS builds initially it has the limits set:<br>
&gt;<br>
&gt; # Disk quota parameters (in form of softlimit:hardlimit)<br>
&gt; DISKSPACE=&quot;50G:50G&quot; (even tried switching this number to the full number instead)<br>
&gt; DISKINODES=&quot;600000:700000&quot;<br>
&gt; QUOTATIME=&quot;86400&quot;<br>
&gt;<br>
&gt; However after it completes the build process and restarts itself it has some arbitrary number in for the DISKINODES that I am uncertain where its being pulled from:<br>
&gt;<br>
&gt; # Disk quota parameters (in form of softlimit:hardlimit)<br>
&gt; DISKSPACE=&quot;5242880:5242880&quot;<br>
&gt; DISKINODES=&quot;2621440:2621440&quot;<br>
&gt; QUOTATIME=&quot;86400&quot;<br>
&gt;<br>
&gt; Any suggestions on where to look to make the inode limit work as it should?</p>
<p>I am kinda lost here... Can you please give us the exact sequence of commands that you use, tothether with their output? _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a><br>
</p>