Test a USB-drive/SSD for bad sectors/blocks?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
2












A pretty expensive (Samsung) USB-drive I have causes weird errors. The problem might be a computer I have connected it to (this computer's SSD broke down in a similar way) but to rule out that it is this USB stick that is broken I would like to perform a hardware test on it. How can I do that on a Mac?










share|improve this question





















  • did you try using the Disk Utility in your utility folder
    – Buscar웃
    4 hours ago






  • 1




    Sorry, I should have mentioned that. Yes I have "Erased" it using DU but as far as I know that doesn't include a "quality check", it just writes a new partition table.
    – hensti
    4 hours ago










  • it is called First Aid in DU
    – Buscar웃
    3 hours ago











  • But that just tests the file system, not the hardware, doesn't it?
    – hensti
    3 hours ago










  • how do you test hardware ? in testing the disk consistency
    – Buscar웃
    3 hours ago














up vote
2
down vote

favorite
2












A pretty expensive (Samsung) USB-drive I have causes weird errors. The problem might be a computer I have connected it to (this computer's SSD broke down in a similar way) but to rule out that it is this USB stick that is broken I would like to perform a hardware test on it. How can I do that on a Mac?










share|improve this question





















  • did you try using the Disk Utility in your utility folder
    – Buscar웃
    4 hours ago






  • 1




    Sorry, I should have mentioned that. Yes I have "Erased" it using DU but as far as I know that doesn't include a "quality check", it just writes a new partition table.
    – hensti
    4 hours ago










  • it is called First Aid in DU
    – Buscar웃
    3 hours ago











  • But that just tests the file system, not the hardware, doesn't it?
    – hensti
    3 hours ago










  • how do you test hardware ? in testing the disk consistency
    – Buscar웃
    3 hours ago












up vote
2
down vote

favorite
2









up vote
2
down vote

favorite
2






2





A pretty expensive (Samsung) USB-drive I have causes weird errors. The problem might be a computer I have connected it to (this computer's SSD broke down in a similar way) but to rule out that it is this USB stick that is broken I would like to perform a hardware test on it. How can I do that on a Mac?










share|improve this question













A pretty expensive (Samsung) USB-drive I have causes weird errors. The problem might be a computer I have connected it to (this computer's SSD broke down in a similar way) but to rule out that it is this USB stick that is broken I would like to perform a hardware test on it. How can I do that on a Mac?







usb hardware ssd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 4 hours ago









hensti

211




211











  • did you try using the Disk Utility in your utility folder
    – Buscar웃
    4 hours ago






  • 1




    Sorry, I should have mentioned that. Yes I have "Erased" it using DU but as far as I know that doesn't include a "quality check", it just writes a new partition table.
    – hensti
    4 hours ago










  • it is called First Aid in DU
    – Buscar웃
    3 hours ago











  • But that just tests the file system, not the hardware, doesn't it?
    – hensti
    3 hours ago










  • how do you test hardware ? in testing the disk consistency
    – Buscar웃
    3 hours ago
















  • did you try using the Disk Utility in your utility folder
    – Buscar웃
    4 hours ago






  • 1




    Sorry, I should have mentioned that. Yes I have "Erased" it using DU but as far as I know that doesn't include a "quality check", it just writes a new partition table.
    – hensti
    4 hours ago










  • it is called First Aid in DU
    – Buscar웃
    3 hours ago











  • But that just tests the file system, not the hardware, doesn't it?
    – hensti
    3 hours ago










  • how do you test hardware ? in testing the disk consistency
    – Buscar웃
    3 hours ago















did you try using the Disk Utility in your utility folder
– Buscar웃
4 hours ago




did you try using the Disk Utility in your utility folder
– Buscar웃
4 hours ago




1




1




Sorry, I should have mentioned that. Yes I have "Erased" it using DU but as far as I know that doesn't include a "quality check", it just writes a new partition table.
– hensti
4 hours ago




Sorry, I should have mentioned that. Yes I have "Erased" it using DU but as far as I know that doesn't include a "quality check", it just writes a new partition table.
– hensti
4 hours ago












it is called First Aid in DU
– Buscar웃
3 hours ago





it is called First Aid in DU
– Buscar웃
3 hours ago













But that just tests the file system, not the hardware, doesn't it?
– hensti
3 hours ago




But that just tests the file system, not the hardware, doesn't it?
– hensti
3 hours ago












how do you test hardware ? in testing the disk consistency
– Buscar웃
3 hours ago




how do you test hardware ? in testing the disk consistency
– Buscar웃
3 hours ago










1 Answer
1






active

oldest

votes

















up vote
2
down vote













Open the Terminal.app in Applications/Utilities.



Cut and paste this inside to install Brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"



Install e2fsprogs with brew:
brew install e2fsprogs



Type diskutil list to find your device (/dev/diskX)



Run badblocks on your device: (replace the X with your device number)



/usr/local/Cellar/e2fsprogs/1.44.3/sbin/badblocks -v /dev/diskX






share|improve this answer








New contributor




brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "118"
    ;
    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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f339505%2ftest-a-usb-drive-ssd-for-bad-sectors-blocks%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    Open the Terminal.app in Applications/Utilities.



    Cut and paste this inside to install Brew:
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"



    Install e2fsprogs with brew:
    brew install e2fsprogs



    Type diskutil list to find your device (/dev/diskX)



    Run badblocks on your device: (replace the X with your device number)



    /usr/local/Cellar/e2fsprogs/1.44.3/sbin/badblocks -v /dev/diskX






    share|improve this answer








    New contributor




    brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      2
      down vote













      Open the Terminal.app in Applications/Utilities.



      Cut and paste this inside to install Brew:
      /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"



      Install e2fsprogs with brew:
      brew install e2fsprogs



      Type diskutil list to find your device (/dev/diskX)



      Run badblocks on your device: (replace the X with your device number)



      /usr/local/Cellar/e2fsprogs/1.44.3/sbin/badblocks -v /dev/diskX






      share|improve this answer








      New contributor




      brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



















        up vote
        2
        down vote










        up vote
        2
        down vote









        Open the Terminal.app in Applications/Utilities.



        Cut and paste this inside to install Brew:
        /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"



        Install e2fsprogs with brew:
        brew install e2fsprogs



        Type diskutil list to find your device (/dev/diskX)



        Run badblocks on your device: (replace the X with your device number)



        /usr/local/Cellar/e2fsprogs/1.44.3/sbin/badblocks -v /dev/diskX






        share|improve this answer








        New contributor




        brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        Open the Terminal.app in Applications/Utilities.



        Cut and paste this inside to install Brew:
        /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"



        Install e2fsprogs with brew:
        brew install e2fsprogs



        Type diskutil list to find your device (/dev/diskX)



        Run badblocks on your device: (replace the X with your device number)



        /usr/local/Cellar/e2fsprogs/1.44.3/sbin/badblocks -v /dev/diskX







        share|improve this answer








        New contributor




        brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 44 mins ago









        brunobhr

        213




        213




        New contributor




        brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        brunobhr is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f339505%2ftest-a-usb-drive-ssd-for-bad-sectors-blocks%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            Installing NextGIS Connect into QGIS 3?

            One-line joke