Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-16-2010, 06:03 PM   #1
Registered: Jul 2010
Posts: 36

Rep: Reputation: 2
device-mapper: reload ioctl failed: Invalid argument

Hi ,

I installed a new tool called DM-IOBAND, which can monitor the number of read and write calls made to a partition in the disk and also allows setting a bandwidth cap on the read and write made to the disk.

I downloaded a kernel module 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 !

Old 11-13-2010, 12:18 PM   #2
Registered: Nov 2008
Distribution: Slackware & LMDE.
Posts: 74

Rep: Reputation: 19
This is a complete shot in the dark on my behalf as I have no experience with dm-ioband. But I have encountered strange results going away simply by using ' instead of " when issuing commands.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command failed: device-mapper: reload ioctl failed: Invalid argument azza Programming 2 01-10-2011 03:16 AM
ioctl: LOOP_SET_STATUS: Invalid argument azza Programming 1 06-30-2009 01:27 PM
FBIOPUT_VSCREENINFO, fbset(ioctl):invalid argument sureshgani1984 Linux - Embedded & Single-board computer 0 10-05-2007 02:01 AM
ioctl FBIOPAN_DISPLAY: Invalid Argument Andry Linux - Hardware 2 12-27-2004 10:55 PM
ioctl FBIOPUT_VSCREENINFO: Invalid argument. vaworx Linux - General 4 12-20-2004 03:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration