Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-01-2009, 06:27 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
Command failed: device-mapper: reload ioctl failed: Invalid argument

hi all
I want to use dm-crypt to encrypt removable disk but when I run this command :
cryptsetup -y create maildir /dev/sdb1
and error appear :
Command failed: device-mapper: reload ioctl failed: Invalid argument
Old 07-26-2009, 07:07 AM   #2
Registered: Apr 2009
Location: Sydney, Australia
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46

Rep: Reputation: 16
Hi I get exactly the same error trying to decrypt a truecrypt volume on Vector lite 6.0
Running truecrypt 6.2a which I installed from source, and followed the Readme.

All I can see from the Readme is that I need to have device-mapper to run it from the command line. Since I have kernel I assume I don't need to patch it.
Old 01-10-2011, 03:16 AM   #3
LQ Newbie
Registered: Feb 2010
Posts: 8

Rep: Reputation: 0
Try this

Try putting -m=nokernelcrypto at the mounting command options


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:Invalid argument azza Programming 2 07-26-2009 07:12 AM
message sending failed : Error[22 ] invalid argument .....but each and every argument rakeshranjanjha Linux - Software 2 01-07-2008 11:22 PM
cryptsetup error (Command failed: Invalid argument) SlackN00b Slackware 5 02-07-2007 12:59 PM
cryptsetup - command failed: invalid argument Captain Harlock Debian 2 05-09-2006 12:18 AM
Mount Failed: Invalid Argument BoboBrazil Linux - Software 4 07-13-2003 12:57 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:44 AM.

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