[solved] Dynamic Resource Allocation Not Working
Hello, I have a problem with the VPS I've just created with OpenVZ. I set the hard disk of the VPS to 100 GB and then when i entered the VPS and typed df -h command it's supposed to show 100 gb but instead it shows the ENTIRE hard disk size of the host system. Host Server's Kernel : Linux server.domain.com 2.6.18-92.1.1.el5.028stab057.2 #1 SMP Mon Jul 21 17:08:31 MSD 2008 x86_64 x86_64 x86_64 GNU/Linux Host Server's OS : CentOS 5.2 Stable (64-Bit Version) Can you help please?
Re: Dynamic Resource Allocation Not Working
Problem Solved -> http://www.howtoforge.com/forums/showthread.php?p=143999 (My Thread) I really do wish the guides/wifi make it crystal clear about what a "linux quota" is and the fact that it must be turned off on the host server in order for OpenVZ to do it's dynamic resource allocation properly.
Quote: It is recommended to use a separate partition for container's private directories (by default /vz/private/<veid>). The reason why you should do so is that if you wish to use OpenVZ per-container disk quota, you won't be able to use usual Linux disk quotas on the same partition. Bear in mind, that per-container quota in this context includes not only pure per-container quota, but also usual Linux disk quota used in containers, not on HN. http://wiki.openvz.org/Quick_installation