How to un freeze drive in Linux?












0















I run




sudo hdparm -I /dev/sda




results:




Security:



Master password revision code = [redacted just in case it's sensitive data]



supported



not enabled



not locked



frozen



not expired: security count



supported: enhanced erase




My objective is to perform an enhanced secure erase (how? I'll find that out after I know how to unfreeze my drive) and also to detect and remove a Device Configuration Overlay. Relevant thread: Error when running 'hdparm --dco-identify' in Linux



I am trying to figure out why --dco-identify is failing and I suspect it may be as a result of the drive being "frozen". I recall this being a problem a year back when I was trying to securely erase an SSD. I gave up but suspected that connecting it via USB or hotswapping it might fix it.



Why? Refer to:
https://ubuntuforums.org/showthread.php?t=1982585



So in the context of this post, I am trying to unfreeze my drive. How can I do this while it's connected via SATA?





Update:
I tried this with an external HDD and ran




sudo hdparm -I /dev/sda




The drive is not frozen. Fascinating.



I ran:




sudo hdparm --dco-identify /dev/sdc




The command executed successfully!!



So that's confirmed but still does not answer my question about whether this can be achieved with an internal drive










share|improve this question




















  • 1





    65534 is not in any way sensitive data.

    – Michael Hampton
    Nov 29 '17 at 17:35


















0















I run




sudo hdparm -I /dev/sda




results:




Security:



Master password revision code = [redacted just in case it's sensitive data]



supported



not enabled



not locked



frozen



not expired: security count



supported: enhanced erase




My objective is to perform an enhanced secure erase (how? I'll find that out after I know how to unfreeze my drive) and also to detect and remove a Device Configuration Overlay. Relevant thread: Error when running 'hdparm --dco-identify' in Linux



I am trying to figure out why --dco-identify is failing and I suspect it may be as a result of the drive being "frozen". I recall this being a problem a year back when I was trying to securely erase an SSD. I gave up but suspected that connecting it via USB or hotswapping it might fix it.



Why? Refer to:
https://ubuntuforums.org/showthread.php?t=1982585



So in the context of this post, I am trying to unfreeze my drive. How can I do this while it's connected via SATA?





Update:
I tried this with an external HDD and ran




sudo hdparm -I /dev/sda




The drive is not frozen. Fascinating.



I ran:




sudo hdparm --dco-identify /dev/sdc




The command executed successfully!!



So that's confirmed but still does not answer my question about whether this can be achieved with an internal drive










share|improve this question




















  • 1





    65534 is not in any way sensitive data.

    – Michael Hampton
    Nov 29 '17 at 17:35
















0












0








0








I run




sudo hdparm -I /dev/sda




results:




Security:



Master password revision code = [redacted just in case it's sensitive data]



supported



not enabled



not locked



frozen



not expired: security count



supported: enhanced erase




My objective is to perform an enhanced secure erase (how? I'll find that out after I know how to unfreeze my drive) and also to detect and remove a Device Configuration Overlay. Relevant thread: Error when running 'hdparm --dco-identify' in Linux



I am trying to figure out why --dco-identify is failing and I suspect it may be as a result of the drive being "frozen". I recall this being a problem a year back when I was trying to securely erase an SSD. I gave up but suspected that connecting it via USB or hotswapping it might fix it.



Why? Refer to:
https://ubuntuforums.org/showthread.php?t=1982585



So in the context of this post, I am trying to unfreeze my drive. How can I do this while it's connected via SATA?





Update:
I tried this with an external HDD and ran




sudo hdparm -I /dev/sda




The drive is not frozen. Fascinating.



I ran:




sudo hdparm --dco-identify /dev/sdc




The command executed successfully!!



So that's confirmed but still does not answer my question about whether this can be achieved with an internal drive










share|improve this question
















I run




sudo hdparm -I /dev/sda




results:




Security:



Master password revision code = [redacted just in case it's sensitive data]



supported



not enabled



not locked



frozen



not expired: security count



supported: enhanced erase




My objective is to perform an enhanced secure erase (how? I'll find that out after I know how to unfreeze my drive) and also to detect and remove a Device Configuration Overlay. Relevant thread: Error when running 'hdparm --dco-identify' in Linux



I am trying to figure out why --dco-identify is failing and I suspect it may be as a result of the drive being "frozen". I recall this being a problem a year back when I was trying to securely erase an SSD. I gave up but suspected that connecting it via USB or hotswapping it might fix it.



Why? Refer to:
https://ubuntuforums.org/showthread.php?t=1982585



So in the context of this post, I am trying to unfreeze my drive. How can I do this while it's connected via SATA?





Update:
I tried this with an external HDD and ran




sudo hdparm -I /dev/sda




The drive is not frozen. Fascinating.



I ran:




sudo hdparm --dco-identify /dev/sdc




The command executed successfully!!



So that's confirmed but still does not answer my question about whether this can be achieved with an internal drive







linux hard-drive ssd freeze hdparm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 29 '16 at 22:32







user138072

















asked Dec 29 '16 at 22:15









user138072user138072

3617




3617








  • 1





    65534 is not in any way sensitive data.

    – Michael Hampton
    Nov 29 '17 at 17:35
















  • 1





    65534 is not in any way sensitive data.

    – Michael Hampton
    Nov 29 '17 at 17:35










1




1





65534 is not in any way sensitive data.

– Michael Hampton
Nov 29 '17 at 17:35







65534 is not in any way sensitive data.

– Michael Hampton
Nov 29 '17 at 17:35












2 Answers
2






active

oldest

votes


















0














Success!! I managed to unfreeze my drive by making the SATA port it is connected to hot-swappable. This involved me going into my BIOS. How you can achieve this will vary depending on your BIOS manufacturer.



Once the SATA port was hot-swappable, I did the following:
1) turned pc off
2) disconnected the SATA data cable from my motherboard. Left power cable connected.
3) turned PC on and booted into Linux
4) Connected HDD and Viola! It was unfrozen and "sudo hdparm --dco-identify /dev/sdb" was working!
5) I checked to confirm it was unfrozen by running "sudo hdparm -I /dev/sdb"



Note: device is at sdb now and not sda (as you will find in my other thread - linked above) because the HDD was connected after Linux was booted into!



Credit:
https://linustechtips.com/main/topic/714345-connecting-hdd-after-computer-has-been-turned-on/#comment-9107915



If you cannot make your drive hot-swappable, you will have to buy a SATA-USB cable and connect your drive via USB.






share|improve this answer































    0














    Suspend & resume unfroze my drive.1



    I just suspended my Laptop and then resumed it and then my drive was unfrozen. (You may need to hot-plug your drive before suspending - I did not need to.)



    This is much easier than your approach.



    1https://serverfault.com/a/558556/453474






    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2fsuperuser.com%2fquestions%2f1161531%2fhow-to-un-freeze-drive-in-linux%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Success!! I managed to unfreeze my drive by making the SATA port it is connected to hot-swappable. This involved me going into my BIOS. How you can achieve this will vary depending on your BIOS manufacturer.



      Once the SATA port was hot-swappable, I did the following:
      1) turned pc off
      2) disconnected the SATA data cable from my motherboard. Left power cable connected.
      3) turned PC on and booted into Linux
      4) Connected HDD and Viola! It was unfrozen and "sudo hdparm --dco-identify /dev/sdb" was working!
      5) I checked to confirm it was unfrozen by running "sudo hdparm -I /dev/sdb"



      Note: device is at sdb now and not sda (as you will find in my other thread - linked above) because the HDD was connected after Linux was booted into!



      Credit:
      https://linustechtips.com/main/topic/714345-connecting-hdd-after-computer-has-been-turned-on/#comment-9107915



      If you cannot make your drive hot-swappable, you will have to buy a SATA-USB cable and connect your drive via USB.






      share|improve this answer




























        0














        Success!! I managed to unfreeze my drive by making the SATA port it is connected to hot-swappable. This involved me going into my BIOS. How you can achieve this will vary depending on your BIOS manufacturer.



        Once the SATA port was hot-swappable, I did the following:
        1) turned pc off
        2) disconnected the SATA data cable from my motherboard. Left power cable connected.
        3) turned PC on and booted into Linux
        4) Connected HDD and Viola! It was unfrozen and "sudo hdparm --dco-identify /dev/sdb" was working!
        5) I checked to confirm it was unfrozen by running "sudo hdparm -I /dev/sdb"



        Note: device is at sdb now and not sda (as you will find in my other thread - linked above) because the HDD was connected after Linux was booted into!



        Credit:
        https://linustechtips.com/main/topic/714345-connecting-hdd-after-computer-has-been-turned-on/#comment-9107915



        If you cannot make your drive hot-swappable, you will have to buy a SATA-USB cable and connect your drive via USB.






        share|improve this answer


























          0












          0








          0







          Success!! I managed to unfreeze my drive by making the SATA port it is connected to hot-swappable. This involved me going into my BIOS. How you can achieve this will vary depending on your BIOS manufacturer.



          Once the SATA port was hot-swappable, I did the following:
          1) turned pc off
          2) disconnected the SATA data cable from my motherboard. Left power cable connected.
          3) turned PC on and booted into Linux
          4) Connected HDD and Viola! It was unfrozen and "sudo hdparm --dco-identify /dev/sdb" was working!
          5) I checked to confirm it was unfrozen by running "sudo hdparm -I /dev/sdb"



          Note: device is at sdb now and not sda (as you will find in my other thread - linked above) because the HDD was connected after Linux was booted into!



          Credit:
          https://linustechtips.com/main/topic/714345-connecting-hdd-after-computer-has-been-turned-on/#comment-9107915



          If you cannot make your drive hot-swappable, you will have to buy a SATA-USB cable and connect your drive via USB.






          share|improve this answer













          Success!! I managed to unfreeze my drive by making the SATA port it is connected to hot-swappable. This involved me going into my BIOS. How you can achieve this will vary depending on your BIOS manufacturer.



          Once the SATA port was hot-swappable, I did the following:
          1) turned pc off
          2) disconnected the SATA data cable from my motherboard. Left power cable connected.
          3) turned PC on and booted into Linux
          4) Connected HDD and Viola! It was unfrozen and "sudo hdparm --dco-identify /dev/sdb" was working!
          5) I checked to confirm it was unfrozen by running "sudo hdparm -I /dev/sdb"



          Note: device is at sdb now and not sda (as you will find in my other thread - linked above) because the HDD was connected after Linux was booted into!



          Credit:
          https://linustechtips.com/main/topic/714345-connecting-hdd-after-computer-has-been-turned-on/#comment-9107915



          If you cannot make your drive hot-swappable, you will have to buy a SATA-USB cable and connect your drive via USB.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 29 '16 at 23:55









          user138072user138072

          3617




          3617

























              0














              Suspend & resume unfroze my drive.1



              I just suspended my Laptop and then resumed it and then my drive was unfrozen. (You may need to hot-plug your drive before suspending - I did not need to.)



              This is much easier than your approach.



              1https://serverfault.com/a/558556/453474






              share|improve this answer




























                0














                Suspend & resume unfroze my drive.1



                I just suspended my Laptop and then resumed it and then my drive was unfrozen. (You may need to hot-plug your drive before suspending - I did not need to.)



                This is much easier than your approach.



                1https://serverfault.com/a/558556/453474






                share|improve this answer


























                  0












                  0








                  0







                  Suspend & resume unfroze my drive.1



                  I just suspended my Laptop and then resumed it and then my drive was unfrozen. (You may need to hot-plug your drive before suspending - I did not need to.)



                  This is much easier than your approach.



                  1https://serverfault.com/a/558556/453474






                  share|improve this answer













                  Suspend & resume unfroze my drive.1



                  I just suspended my Laptop and then resumed it and then my drive was unfrozen. (You may need to hot-plug your drive before suspending - I did not need to.)



                  This is much easier than your approach.



                  1https://serverfault.com/a/558556/453474







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 23 '18 at 11:35









                  Arch Linux TuxArch Linux Tux

                  19315




                  19315






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • 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%2fsuperuser.com%2fquestions%2f1161531%2fhow-to-un-freeze-drive-in-linux%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

                      Сан-Квентин

                      8-я гвардейская общевойсковая армия

                      Алькесар