<div dir="ltr"><div><div>Hi Eric, <br><br></div>Yes, I restarted libvirtd after mounting the blkio controller. <br><br></div>I have libvirt 0.9.10 running on my machine. I'm using CentOS 6.3 (64 bit)<br><br>virsh # version <br>
Compiled against library: libvir 0.9.10<br>Using library: libvir 0.9.10<br>Using API: LXC 0.9.10<br>Running hypervisor: LXC 2.6.32<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 3:27 AM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 03/19/2013 01:00 AM, Saurabh Deochake wrote:<br>
> Hi all,<br>
><br>
> I want to limit the I/O bandwidth inside the container, so I used virsh<br>
> command blkiotune. But when I enter a command:<br>
><br>
> virsh # blkiotune lxcguest --weight 250<br>
><br>
> I get following errors:<br>
><br>
> error: Unable to change blkio parameters<br>
> error: Requested operation is not valid: blkio cgroup isn't mounted<br>
><br>
> I also have blkio cgroup mounted. What can be the problem?<br>
<br>
</div>Have you restarted libvirtd since you mounted the blkio cgroup?  Which<br>
version of libvirt are you running, on what platform?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br></div>