Fork me on GitHub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
developer:hardware_storage_error_detection [2016/09/06 00:31]
henri [Notes specific to using badblocks on a mac OS X system.]
developer:hardware_storage_error_detection [2016/09/06 00:32]
henri
Line 15: Line 15:
   - Download and install [[http://​brew.sh|brew]] for Mac OS X.   - Download and install [[http://​brew.sh|brew]] for Mac OS X.
   - Install e2fsprogs and the dependencies with brew which will include the badblocks program.   - Install e2fsprogs and the dependencies with brew which will include the badblocks program.
-    $ brew install e2fsprogs+    ​- ''​$ brew install e2fsprogs''​
  
 Example of usage :  Example of usage : 
   - Ensure any disk and/or partition(s) on which you are going to check for bad blocks are unmounted   - Ensure any disk and/or partition(s) on which you are going to check for bad blocks are unmounted
-  - Set the PWD to the the newley installed sbin directory. You may need to select the correct version for your install. +  - Set the PWD to the the newley installed sbin directory. You may need to select the correct version for  
-    $ cd /​usr/​local/​Cellar/​e2fsprogs/​1.42.13/​sbin+    ​your install. 
 +    ​- ''​$ cd /​usr/​local/​Cellar/​e2fsprogs/​1.42.13/​sbin''​
   - Run bad blocks on your disk device. The -s flag will show progress. Further usage information is available from the man page.   - Run bad blocks on your disk device. The -s flag will show progress. Further usage information is available from the man page.
     - ''​$ sudo ./badblocks -sv /​dev/​rdisk5'' ​     - ''​$ sudo ./badblocks -sv /​dev/​rdisk5'' ​