Welcome to the most active Linux Forum on the web.
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:30 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
command failed:Invalid argument

hi all;
I want to use dm-crypt to encrypt, but I run this command:
cryptsetup -y create maildir /dev/sdb1
I get this message:
Command failed: device-mapper: reload ioctl failed: Invalid argument

Last edited by azza; 07-01-2009 at 07:20 AM. Reason: subject
Old 07-01-2009, 11:11 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
does /dev/sdb1 exist ?
it must also not be mounted !
Old 07-26-2009, 08:12 AM   #3
Registered: Apr 2009
Location: Sydney, Australia
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46

Rep: Reputation: 16
Hi did you resolve this?

Please reply to


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

All times are GMT -5. The time now is 12:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration