[libvirt-users] diskspace and diskinodes tag for openvz

knawnd at gmail.com knawnd at gmail.com
Wed Mar 9 15:55:33 UTC 2011


Matthias Bolte wrote on 07/03/11 21:18:
> 2011/3/7<knawnd at gmail.com>:
>> Hi!
>>
>> as far as I understood from "xml format for openvz driver" thread available
>> at [1] it should be possible to specify via libvirt disk size and disk
>> inodes for openvz VM.But the following device section in VM xml description
>> doesn't set disksize and diskinodes properly (it looks like those parameters
>> are taken from default OpenVZ config and not as they are specified in
>> libvirt tags):
>>   <devices>
>>     <filesystem type='template'>
>>       <source name='centos-5-x86'/>
>>       <target dir='/'/>
>>       <quota type="size" max="100000"/>
>>       <quota type="inodes" max="200000"/>
>>     </filesystem>
>>   </devices>
>>
>> Could anyone manage to set mentioned OpenVZ parameters properly? I am using
>> libvirt-0.8.8, CentOS 5.5, vzctl version is 3.0.26-1.
>>
>> Thanks!
>> Nikolay.
>>
>> [1] http://www.mail-archive.com/libvir-list@redhat.com/msg07329.html
>>
> You are misunderstanding the referenced thread. It isn't about
> available features in libvirt. In this thread Evgeniy suggests several
> additions to libvirt domain XML format related to OpenVZ.
>
> The additions of quota control to the filesystem element have never
> been implemented, so they are not available and you're just seeing
> expected behavior.
Thanks for reply, Matthias!

I've just submitted a feature request: 
https://bugzilla.redhat.com/show_bug.cgi?id=683512

Nikolay.
> Matthias




More information about the libvirt-users mailing list