Gnome Disks utility locked HDD





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I've been using Lubuntu testbench to format many HDD prior to sale.
I have been using the Gnome Disks utility to make sure the disks leave my company clean and all of my data is erased.



I chose to use the SATA SECURE ERASE method of cleaning the drives, as it clears the whole disk surface, not only the blocks the OS is able to see, and is considered as the most secure one.



My system supports SATA HOT PLUG, and during quite a few of disks swaps the power connectors to some drives have moved and the erase was interrupted.
I know the secure erase command needs to lock the drive with an ATA password prior to erasing.



I've tried using MHDD to unlock my drives which are now inaccessible, but my SUDO password doesn't seem to unlock them. I've been looking around for a detailed manual for the DISKS utility, but I cannot find anything more than a brief page that states what does the utility do. I am not a programmer and cannot read source code of the tool to find info about where the password comes from by myself.



Does anybody know if this tool randomises the password for every drive it erases, and I'm stuck with like 10 ATA PASSWORD locked drives that are basically junk, or does it use some standard password for each erase?



Could please anybody provide me some info, or some contact to the DEVS of the tool so I could analyse the tool to the point of knowing if it's worth my time even trying to guess a password.



If the password is randomised it should totally warn the user about of the possibility of making the drive locked in case of a power surge or an interrupt of any kind.



Kind regards,
Ł. Wolny










share|improve this question




















  • 1





    Which version of Lubuntu?

    – user68186
    Feb 24 at 23:05











  • I belive it was 18.10.

    – Jestem Łukasz
    Feb 24 at 23:09


















1















I've been using Lubuntu testbench to format many HDD prior to sale.
I have been using the Gnome Disks utility to make sure the disks leave my company clean and all of my data is erased.



I chose to use the SATA SECURE ERASE method of cleaning the drives, as it clears the whole disk surface, not only the blocks the OS is able to see, and is considered as the most secure one.



My system supports SATA HOT PLUG, and during quite a few of disks swaps the power connectors to some drives have moved and the erase was interrupted.
I know the secure erase command needs to lock the drive with an ATA password prior to erasing.



I've tried using MHDD to unlock my drives which are now inaccessible, but my SUDO password doesn't seem to unlock them. I've been looking around for a detailed manual for the DISKS utility, but I cannot find anything more than a brief page that states what does the utility do. I am not a programmer and cannot read source code of the tool to find info about where the password comes from by myself.



Does anybody know if this tool randomises the password for every drive it erases, and I'm stuck with like 10 ATA PASSWORD locked drives that are basically junk, or does it use some standard password for each erase?



Could please anybody provide me some info, or some contact to the DEVS of the tool so I could analyse the tool to the point of knowing if it's worth my time even trying to guess a password.



If the password is randomised it should totally warn the user about of the possibility of making the drive locked in case of a power surge or an interrupt of any kind.



Kind regards,
Ł. Wolny










share|improve this question




















  • 1





    Which version of Lubuntu?

    – user68186
    Feb 24 at 23:05











  • I belive it was 18.10.

    – Jestem Łukasz
    Feb 24 at 23:09














1












1








1


1






I've been using Lubuntu testbench to format many HDD prior to sale.
I have been using the Gnome Disks utility to make sure the disks leave my company clean and all of my data is erased.



I chose to use the SATA SECURE ERASE method of cleaning the drives, as it clears the whole disk surface, not only the blocks the OS is able to see, and is considered as the most secure one.



My system supports SATA HOT PLUG, and during quite a few of disks swaps the power connectors to some drives have moved and the erase was interrupted.
I know the secure erase command needs to lock the drive with an ATA password prior to erasing.



I've tried using MHDD to unlock my drives which are now inaccessible, but my SUDO password doesn't seem to unlock them. I've been looking around for a detailed manual for the DISKS utility, but I cannot find anything more than a brief page that states what does the utility do. I am not a programmer and cannot read source code of the tool to find info about where the password comes from by myself.



Does anybody know if this tool randomises the password for every drive it erases, and I'm stuck with like 10 ATA PASSWORD locked drives that are basically junk, or does it use some standard password for each erase?



Could please anybody provide me some info, or some contact to the DEVS of the tool so I could analyse the tool to the point of knowing if it's worth my time even trying to guess a password.



If the password is randomised it should totally warn the user about of the possibility of making the drive locked in case of a power surge or an interrupt of any kind.



Kind regards,
Ł. Wolny










share|improve this question
















I've been using Lubuntu testbench to format many HDD prior to sale.
I have been using the Gnome Disks utility to make sure the disks leave my company clean and all of my data is erased.



I chose to use the SATA SECURE ERASE method of cleaning the drives, as it clears the whole disk surface, not only the blocks the OS is able to see, and is considered as the most secure one.



My system supports SATA HOT PLUG, and during quite a few of disks swaps the power connectors to some drives have moved and the erase was interrupted.
I know the secure erase command needs to lock the drive with an ATA password prior to erasing.



I've tried using MHDD to unlock my drives which are now inaccessible, but my SUDO password doesn't seem to unlock them. I've been looking around for a detailed manual for the DISKS utility, but I cannot find anything more than a brief page that states what does the utility do. I am not a programmer and cannot read source code of the tool to find info about where the password comes from by myself.



Does anybody know if this tool randomises the password for every drive it erases, and I'm stuck with like 10 ATA PASSWORD locked drives that are basically junk, or does it use some standard password for each erase?



Could please anybody provide me some info, or some contact to the DEVS of the tool so I could analyse the tool to the point of knowing if it's worth my time even trying to guess a password.



If the password is randomised it should totally warn the user about of the possibility of making the drive locked in case of a power surge or an interrupt of any kind.



Kind regards,
Ł. Wolny







gnome disk sata smart hotplug






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 24 at 23:25







Jestem Łukasz

















asked Feb 24 at 23:03









Jestem ŁukaszJestem Łukasz

64




64








  • 1





    Which version of Lubuntu?

    – user68186
    Feb 24 at 23:05











  • I belive it was 18.10.

    – Jestem Łukasz
    Feb 24 at 23:09














  • 1





    Which version of Lubuntu?

    – user68186
    Feb 24 at 23:05











  • I belive it was 18.10.

    – Jestem Łukasz
    Feb 24 at 23:09








1




1





Which version of Lubuntu?

– user68186
Feb 24 at 23:05





Which version of Lubuntu?

– user68186
Feb 24 at 23:05













I belive it was 18.10.

– Jestem Łukasz
Feb 24 at 23:09





I belive it was 18.10.

– Jestem Łukasz
Feb 24 at 23:09










1 Answer
1






active

oldest

votes


















0














Finally after some more searching found the answer for my question on the disks gitlab page, provided by user advantes.



"Found it! I didn't pay attention before to the fact the Gnome Disk Utility is a graphical front-end for udisks. Searching the udisks source code I found the password at storaged-project/udisks:src/udiskslinuxdriveata.c#L1895. After some months with the HDD locked, everything good now.
Password used in ATA Enhanced Security Erase: xxxx"


Need to double check that info, will update this post after checking if it still works.



Kind regards,
Ł. Wolny






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f1120971%2fgnome-disks-utility-locked-hdd%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









    0














    Finally after some more searching found the answer for my question on the disks gitlab page, provided by user advantes.



    "Found it! I didn't pay attention before to the fact the Gnome Disk Utility is a graphical front-end for udisks. Searching the udisks source code I found the password at storaged-project/udisks:src/udiskslinuxdriveata.c#L1895. After some months with the HDD locked, everything good now.
    Password used in ATA Enhanced Security Erase: xxxx"


    Need to double check that info, will update this post after checking if it still works.



    Kind regards,
    Ł. Wolny






    share|improve this answer




























      0














      Finally after some more searching found the answer for my question on the disks gitlab page, provided by user advantes.



      "Found it! I didn't pay attention before to the fact the Gnome Disk Utility is a graphical front-end for udisks. Searching the udisks source code I found the password at storaged-project/udisks:src/udiskslinuxdriveata.c#L1895. After some months with the HDD locked, everything good now.
      Password used in ATA Enhanced Security Erase: xxxx"


      Need to double check that info, will update this post after checking if it still works.



      Kind regards,
      Ł. Wolny






      share|improve this answer


























        0












        0








        0







        Finally after some more searching found the answer for my question on the disks gitlab page, provided by user advantes.



        "Found it! I didn't pay attention before to the fact the Gnome Disk Utility is a graphical front-end for udisks. Searching the udisks source code I found the password at storaged-project/udisks:src/udiskslinuxdriveata.c#L1895. After some months with the HDD locked, everything good now.
        Password used in ATA Enhanced Security Erase: xxxx"


        Need to double check that info, will update this post after checking if it still works.



        Kind regards,
        Ł. Wolny






        share|improve this answer













        Finally after some more searching found the answer for my question on the disks gitlab page, provided by user advantes.



        "Found it! I didn't pay attention before to the fact the Gnome Disk Utility is a graphical front-end for udisks. Searching the udisks source code I found the password at storaged-project/udisks:src/udiskslinuxdriveata.c#L1895. After some months with the HDD locked, everything good now.
        Password used in ATA Enhanced Security Erase: xxxx"


        Need to double check that info, will update this post after checking if it still works.



        Kind regards,
        Ł. Wolny







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 26 at 20:48









        Jestem ŁukaszJestem Łukasz

        64




        64






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1120971%2fgnome-disks-utility-locked-hdd%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?