failed to setups device_weight for bio device (/dev/mdxxx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does anobody can helps me?
Hello. I'm newbie with cgroups (try to use blkio cgroups).
I need to shape disk activity on xen vps.
Each xen domU have block device that is software raid 1.
This raid have two devices that is lvm volume lies on srp (infiniband)
attached disk.

How can i limit disk usage in this configuration with cgroups?

P.S. Some log:

:~ # ls -alo /dev/md116
brw-rw---- 1 root 9, 116 Dec 17 15:44 /dev/md116
:~ # /bin/echo 9:116 0 > /cgroups/blkio.weight_device
/bin/echo: write error: Invalid argument

/dev/md116 consist:
/dev/dm-30 and /dev/dm-31

:~ # /bin/echo 253:30 14 > /cgroups/blkio.weight_device
/bin/echo: write error: Invalid argument
:~ # /bin/echo 253:31 14 > /cgroups/blkio.weight_device
/bin/echo: write error: Invalid argument

--
Vasiliy Tolstov,
Clodo.ru
e-mail: v.tolstov@xxxxxxxxx
jabber: vase@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux