<p><br>
29.05.2012 0:12 пользователь "Mark Johanson" <<a href="mailto:mjohanson@a2hosting.com">mjohanson@a2hosting.com</a>> написал:<br>
><br>
> I have been trying to get diskinode limits to set at specific levels.<br>
> Namely a 600k:700k with a 1 day grace period. If I manually run the<br>
> commands:<br>
><br>
> vzctl set 127 --diskinodes 600000:700000 --save<br>
> vzctl set 127 --quotatime 86400 --save<br>
><br>
> I get the desired results for a already running VPS. However newly<br>
> created VPS's are not keeping the settings and I am not sure what is<br>
> assigning the arbitrary numbers it gets. I edited the vz.conf file (as<br>
> well as the .sample file) to add the limits as:<br>
><br>
> > ## Disk quota parameters<br>
> > DISKSPACE="50G:50G"<br>
> > DISKINODES="600000:700000"<br>
> > QUOTATIME="86400"<br>
> > DISK_QUOTA=yes<br>
><br>
> When the VPS builds initially it has the limits set:<br>
><br>
> # Disk quota parameters (in form of softlimit:hardlimit)<br>
> DISKSPACE="50G:50G" (even tried switching this number to the full number instead)<br>
> DISKINODES="600000:700000"<br>
> QUOTATIME="86400"<br>
><br>
> 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>
><br>
> # Disk quota parameters (in form of softlimit:hardlimit)<br>
> DISKSPACE="5242880:5242880"<br>
> DISKINODES="2621440:2621440"<br>
> QUOTATIME="86400"<br>
><br>
> 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>
> Users mailing list<br>
> <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> <a href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users</a><br>
</p>