LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-16-2010, 07:03 PM   #1
sethusubbiah
Member
 
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 !

Regards,
Sethu
 
Old 11-13-2010, 01:18 PM   #2
kslen
Member
 
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.
 
  


Reply


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 04:16 AM
ioctl: LOOP_SET_STATUS: Invalid argument azza Programming 1 06-30-2009 02:27 PM
FBIOPUT_VSCREENINFO, fbset(ioctl):invalid argument sureshgani1984 Linux - Embedded & Single-board computer 0 10-05-2007 03:01 AM
ioctl FBIOPAN_DISPLAY: Invalid Argument Andry Linux - Hardware 2 12-27-2004 11:55 PM
ioctl FBIOPUT_VSCREENINFO: Invalid argument. vaworx Linux - General 4 12-20-2004 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:54 AM.

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