dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* Help ! : device-mapper: reload ioctl failed: Invalid argument
@ 2010-09-16 23:08 Sethuraman Subbiah
  2010-09-21 20:15 ` Mike Snitzer
  0 siblings, 1 reply; 2+ messages in thread
From: Sethuraman Subbiah @ 2010-09-16 23:08 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 694 bytes --]

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 !

-
Regards,
Sethuraman Subbiah

Graduate Student - NC state University
M.S in Computer Science

[-- Attachment #1.2: Type: text/html, Size: 820 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help ! : device-mapper: reload ioctl failed: Invalid argument
  2010-09-16 23:08 Help ! : device-mapper: reload ioctl failed: Invalid argument Sethuraman Subbiah
@ 2010-09-21 20:15 ` Mike Snitzer
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Snitzer @ 2010-09-21 20:15 UTC (permalink / raw)
  To: Sethuraman Subbiah; +Cc: device-mapper development

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-21 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-16 23:08 Help ! : device-mapper: reload ioctl failed: Invalid argument Sethuraman Subbiah
2010-09-21 20:15 ` Mike Snitzer

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).