LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Command failed: device-mapper: reload ioctl failed: Invalid argument (http://www.linuxquestions.org/questions/programming-9/command-failed-device-mapper-reload-ioctl-failed-invalid-argument-736917/)

azza 07-01-2009 06:27 AM

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

mikepeters76 07-26-2009 07:07 AM

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 2.6.27.12 I assume I don't need to patch it.

LinuxAdmire 01-10-2011 03:16 AM

Try this
 
Try putting -m=nokernelcrypto at the mounting command options


All times are GMT -5. The time now is 02:08 AM.