: [Users] Inode Limits not setting correctly

Kir Kolyshkin kir at openvz.org
Mon May 28 16:15:49 EDT 2012


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

I am kinda lost here... Can you please give us the exact sequence of
commands that you use, tothether with their output?
_______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20120529/45454207/attachment.html


More information about the Users mailing list