[libvirt-users] Errors while using blkiotune command

Saurabh Deochake saurabh.d04 at gmail.com
Wed Mar 20 04:52:59 UTC 2013


Hi Eric,

Yes, I restarted libvirtd after mounting the blkio controller.

I have libvirt 0.9.10 running on my machine. I'm using CentOS 6.3 (64 bit)

virsh # version
Compiled against library: libvir 0.9.10
Using library: libvir 0.9.10
Using API: LXC 0.9.10
Running hypervisor: LXC 2.6.32




On Wed, Mar 20, 2013 at 3:27 AM, Eric Blake <eblake at redhat.com> wrote:

> On 03/19/2013 01:00 AM, Saurabh Deochake wrote:
> > Hi all,
> >
> > I want to limit the I/O bandwidth inside the container, so I used virsh
> > command blkiotune. But when I enter a command:
> >
> > virsh # blkiotune lxcguest --weight 250
> >
> > I get following errors:
> >
> > error: Unable to change blkio parameters
> > error: Requested operation is not valid: blkio cgroup isn't mounted
> >
> > I also have blkio cgroup mounted. What can be the problem?
>
> Have you restarted libvirtd since you mounted the blkio cgroup?  Which
> version of libvirt are you running, on what platform?
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130320/b40489fa/attachment.htm>


More information about the libvirt-users mailing list