GNU/Linux: “device mapper: create ioctl failed” “device or resource busy”











up vote
6
down vote

favorite
1












I can't mount my encrypted devices anymore.



The error is:



device mapper: create ioctl failed 
device or resource busy


This error arises both with two different programs to access TrueCrypt encrypted devices: TrueCrypt and Tc-play.



In this case, the recommendation is to remove /dev/mapper/truecrypt* directories, or look for processes that are blocking the device. However, there is no /dev/mapper/truecrypt* directory, and lsof returns nothing.



One TrueCrypt device takes a whole HDD. According to fdisk, this partition is formatted with HPFS/NTFS.



Another TrueCrypt device is on a partition on /dev/sda. According to fdisk, this partition is "Linux" (ext3 or ext4, if I remember correctly).



What could be causing the error?



Software:




  • Debian GNU/Linux 6










share|improve this question




























    up vote
    6
    down vote

    favorite
    1












    I can't mount my encrypted devices anymore.



    The error is:



    device mapper: create ioctl failed 
    device or resource busy


    This error arises both with two different programs to access TrueCrypt encrypted devices: TrueCrypt and Tc-play.



    In this case, the recommendation is to remove /dev/mapper/truecrypt* directories, or look for processes that are blocking the device. However, there is no /dev/mapper/truecrypt* directory, and lsof returns nothing.



    One TrueCrypt device takes a whole HDD. According to fdisk, this partition is formatted with HPFS/NTFS.



    Another TrueCrypt device is on a partition on /dev/sda. According to fdisk, this partition is "Linux" (ext3 or ext4, if I remember correctly).



    What could be causing the error?



    Software:




    • Debian GNU/Linux 6










    share|improve this question


























      up vote
      6
      down vote

      favorite
      1









      up vote
      6
      down vote

      favorite
      1






      1





      I can't mount my encrypted devices anymore.



      The error is:



      device mapper: create ioctl failed 
      device or resource busy


      This error arises both with two different programs to access TrueCrypt encrypted devices: TrueCrypt and Tc-play.



      In this case, the recommendation is to remove /dev/mapper/truecrypt* directories, or look for processes that are blocking the device. However, there is no /dev/mapper/truecrypt* directory, and lsof returns nothing.



      One TrueCrypt device takes a whole HDD. According to fdisk, this partition is formatted with HPFS/NTFS.



      Another TrueCrypt device is on a partition on /dev/sda. According to fdisk, this partition is "Linux" (ext3 or ext4, if I remember correctly).



      What could be causing the error?



      Software:




      • Debian GNU/Linux 6










      share|improve this question















      I can't mount my encrypted devices anymore.



      The error is:



      device mapper: create ioctl failed 
      device or resource busy


      This error arises both with two different programs to access TrueCrypt encrypted devices: TrueCrypt and Tc-play.



      In this case, the recommendation is to remove /dev/mapper/truecrypt* directories, or look for processes that are blocking the device. However, there is no /dev/mapper/truecrypt* directory, and lsof returns nothing.



      One TrueCrypt device takes a whole HDD. According to fdisk, this partition is formatted with HPFS/NTFS.



      Another TrueCrypt device is on a partition on /dev/sda. According to fdisk, this partition is "Linux" (ext3 or ext4, if I remember correctly).



      What could be causing the error?



      Software:




      • Debian GNU/Linux 6







      linux device-mapper ioctl






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 4 '16 at 7:39









      G-Man

      12.4k93062




      12.4k93062










      asked Jun 19 '14 at 14:02









      Elena

      8491627




      8491627






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          First install 7.1a (if you can find it anymore) was the latest totally working version of truecrypt. You might try to install that and see if it fixes your problem.



          However, this product is now basically obsolete as the developers have apparently stopped development of truecrypt for reasons not yet really fully understood. The current release 7.2 contains only a DECRYPT and not any of the encrypt functionality.



          I'd be thinking seriously of shifting away from this project to something else. Although, I don't have a good feel on what that will be.






          share|improve this answer























          • Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
            – Elena
            Jun 19 '14 at 18:24










          • Perhaps somebody on the web still has v7.1a kicking around.
            – mdpc
            Jun 19 '14 at 18:41











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f138045%2fgnu-linux-device-mapper-create-ioctl-failed-device-or-resource-busy%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          First install 7.1a (if you can find it anymore) was the latest totally working version of truecrypt. You might try to install that and see if it fixes your problem.



          However, this product is now basically obsolete as the developers have apparently stopped development of truecrypt for reasons not yet really fully understood. The current release 7.2 contains only a DECRYPT and not any of the encrypt functionality.



          I'd be thinking seriously of shifting away from this project to something else. Although, I don't have a good feel on what that will be.






          share|improve this answer























          • Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
            – Elena
            Jun 19 '14 at 18:24










          • Perhaps somebody on the web still has v7.1a kicking around.
            – mdpc
            Jun 19 '14 at 18:41















          up vote
          0
          down vote













          First install 7.1a (if you can find it anymore) was the latest totally working version of truecrypt. You might try to install that and see if it fixes your problem.



          However, this product is now basically obsolete as the developers have apparently stopped development of truecrypt for reasons not yet really fully understood. The current release 7.2 contains only a DECRYPT and not any of the encrypt functionality.



          I'd be thinking seriously of shifting away from this project to something else. Although, I don't have a good feel on what that will be.






          share|improve this answer























          • Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
            – Elena
            Jun 19 '14 at 18:24










          • Perhaps somebody on the web still has v7.1a kicking around.
            – mdpc
            Jun 19 '14 at 18:41













          up vote
          0
          down vote










          up vote
          0
          down vote









          First install 7.1a (if you can find it anymore) was the latest totally working version of truecrypt. You might try to install that and see if it fixes your problem.



          However, this product is now basically obsolete as the developers have apparently stopped development of truecrypt for reasons not yet really fully understood. The current release 7.2 contains only a DECRYPT and not any of the encrypt functionality.



          I'd be thinking seriously of shifting away from this project to something else. Although, I don't have a good feel on what that will be.






          share|improve this answer














          First install 7.1a (if you can find it anymore) was the latest totally working version of truecrypt. You might try to install that and see if it fixes your problem.



          However, this product is now basically obsolete as the developers have apparently stopped development of truecrypt for reasons not yet really fully understood. The current release 7.2 contains only a DECRYPT and not any of the encrypt functionality.



          I'd be thinking seriously of shifting away from this project to something else. Although, I don't have a good feel on what that will be.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 19 '14 at 18:41

























          answered Jun 19 '14 at 16:56









          mdpc

          4,91521836




          4,91521836












          • Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
            – Elena
            Jun 19 '14 at 18:24










          • Perhaps somebody on the web still has v7.1a kicking around.
            – mdpc
            Jun 19 '14 at 18:41


















          • Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
            – Elena
            Jun 19 '14 at 18:24










          • Perhaps somebody on the web still has v7.1a kicking around.
            – mdpc
            Jun 19 '14 at 18:41
















          Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
          – Elena
          Jun 19 '14 at 18:24




          Yes, I knew that TrueCrypt had been discontinued. The version 7.1a is not available anymore. The 7.2 could work because I would only need to read the files to migrate them elsewhere. But I can't determine whether the 7.2 can be trusted.
          – Elena
          Jun 19 '14 at 18:24












          Perhaps somebody on the web still has v7.1a kicking around.
          – mdpc
          Jun 19 '14 at 18:41




          Perhaps somebody on the web still has v7.1a kicking around.
          – mdpc
          Jun 19 '14 at 18:41


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f138045%2fgnu-linux-device-mapper-create-ioctl-failed-device-or-resource-busy%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux