[libvirt-users] Errors while using blkiotune command

Saurabh Deochake saurabh.d04 at gmail.com
Wed Mar 20 04:57:21 UTC 2013


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 at 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 at gmail.com>
> To: libvirt-users at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130320/9922c24a/attachment.htm>


More information about the libvirt-users mailing list