lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectfailed to setups device_weight for bio device (/dev/mdxxx)
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@selfip.ru
jabber: vase@selfip.ru


\
 
 \ /
  Last update: 2012-12-18 14:41    [W:1.844 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site