dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Sethuraman Subbiah <ssubbia2@ncsu.edu>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: Help ! : device-mapper: reload ioctl failed: Invalid argument
Date: Tue, 21 Sep 2010 16:15:37 -0400	[thread overview]
Message-ID: <20100921201537.GA5298@redhat.com> (raw)
In-Reply-To: <AANLkTi=jPyz77ZSC64w6K_vHYU1JxsNjooY1PECNO_F8@mail.gmail.com>

On Thu, Sep 16 2010 at  7:08pm -0400,
Sethuraman Subbiah <ssubbia2@ncsu.edu> 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:
http://git.kernel.org/?p=linux/kernel/git/axboe/linux-2.6-block.git;a=commit;h=2786c4e5e54802c3

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
cd linux-2.6-block
git checkout -b my_for-next origin/for-next

Mike

      reply	other threads:[~2010-09-21 20:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 23:08 Help ! : device-mapper: reload ioctl failed: Invalid argument Sethuraman Subbiah
2010-09-21 20:15 ` Mike Snitzer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100921201537.GA5298@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=ssubbia2@ncsu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).