Hi, all,<div><br></div><div>I am trying to use dm-ioband to control the per process IO bandwidth. I had some problems create the ioband device mapper on my disk. The following is the system info</div><div><br></div><div>OS: CentOS kernel 2.6.32.15</div>
<div>dm-ioand: v1.14.0</div><div><br></div><div><br></div><div>I followed the dm-ioand installation instructions to create ioband1:</div><div><br></div><div><div>echo "0 $(blockdev --getsize /dev/sdb) ioband /dev/sdb 1 0 0 none weight 0:100" | dmsetup create ioband1</div>
</div><div><br></div><div>There was an error: device-mapper: reload ioctl failed: Invalid argument</div><div>I umounted the partition first, still got the same error.</div><div><br></div><div>One thing I want to mention is that, /dev/sdb is a device from a iSCSI protocol from a storage server.</div>
<div>Does it matter?</div><div><br></div><div>I also tried to create ioband1 on local partitions, same error.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div><br></div>