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.tols...@selfip.ru jabber: v...@selfip.ru -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/