Help ! : device-mapper: reload ioctl failed: Invalid argument
On Thu, Sep 16 2010 at 7:08pm -0400,
Sethuraman Subbiah <firstname.lastname@example.org> wrote:
> Hi ,
> This is Sethuraman Subbiah , a student at NCState. I installed DM-IOBAND. I
> needed that for a project.
> I downloaded a kernel module binary and used insmod to insert the module. It
> worked and i did modprobe.
> When I gave dmsetup targets | grep ioband
> I got ioband v1.14.0
> It was fine till that step.
> When I try to associate /dev/sda3 with ioband1 :
> echo "0 $(blockdev --getsize /dev/sda3) ioband /dev/sda3 1 0 0 none weight 0
> :40" | dmsetup create ioband1
> I keep getting this error :
> device-mapper: reload ioctl failed: Invalid argument
> Command failed
> Can someone help me out ? Thanks !
dm-ioband isn't upstream. Best to ping original authors from valinux if
you're still interested in it.
If you have a need for bandwidth control Vivek Goyal has developed
throttling support in the block layer. Vivek's work has been merged for
upstream inclusion in Linux 2.6.37.
See the following for documentation on throttling support:
If you'd like to try it, it is available with the following:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-2.6-block.git
git checkout -b my_for-next origin/for-next
dm-devel mailing list