Saurabh, please make sure blkio controller has
been mounted on your host firstly then need to
restart libvirtd service after manually mounting
it.
# lssubsys
cpuset
cpu
cpuacct
memory
devices
freezer
net_cls
blkio
or
# grep blkio /proc/mounts
cgroup /cgroup/blkio cgroup rw,relatime,blkio 0 0
--
Regards,
Alex
----- Original Message -----
From: "Saurabh Deochake" <saurabh.d04(a)gmail.com>
To: libvirt-users(a)redhat.com
Sent: Tuesday, March 19, 2013 3:00:53 PM
Subject: [libvirt-users] Errors while using blkiotune command
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?
Thanks in advance.
Regards,
Saurabh Deochake
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users