
Hi Alex, I checked it again and found that blkio controller is already mounted. Output of above commands are also same. So the problem still persists. On Wed, Mar 20, 2013 at 8:23 AM, Alex Jia <ajia@redhat.com> wrote:
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@gmail.com> To: libvirt-users@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@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users