Hello, I have been trying to add ovz quotas into libvirt/bossonvz lately and have struck some difficulties. I would like to ask some questions regarding the quotas, if it's OK.
What we would like to achieve is to have support for 2nd level quotas inside the container but without the 1st level quota. Since we do not use shared private areas (we have separate LVMs for each container), there's no need to limit the space from the POV of the host. Also, setting some fixed placeholder values for 1st level quotas might complicate things during FS resize on-the- fly. Is it possible to skip the initialization of the 1st level quota and just set the number of slots for the 2nd level quota? In the documentation, it is said that when the quota file has been marked dirty (during crash), the quota is recalculated. I could not find the recalculation code. Is it done in the kernel during the VZ_DQ_ON ioctl? Is it possible to explicitly invoke quota recalculation from the user-space on the host? What program creates symlinks to /proc/vz/vzaquota/... in the container? Is it possible to have 2nd level quotas for multiple mount points? I think it would be possible, if multiple quota IDs were used, each for one mount destination. I wonder if you do not have any documentation of the structures used in the vzquota source as the nesting of the structures and their fields are quite unclear to me. Thanks a lot. -- David Fabian Cluster Design, s.r.o. _______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users