Re: diskspace and diskinodes tag for openvz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Bolte wrote on 07/03/11 21:18:
2011/3/7<knawnd@xxxxxxxxx>:
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@xxxxxxxxxx/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


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux