Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


badblocks

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
badblocks [2015/09/07 05:38] – [smartctl] adminbadblocks [2015/09/07 05:44] – [badblocks] admin
Line 17: Line 17:
 Use smartctl -X to abort test. Use smartctl -X to abort test.
 </code> </code>
 +  * Show health (after test):<code># smartctl -H /dev/sdb
  
 +# smartctl -l selftest /dev/sdb
 +# smartctl -a /dev/sdb</code>
 ====badblocks==== ====badblocks====
-  * Start screen, badblocks is a long running process. Using it on one of my 2TB disks took 6 days.+  * Start screen, badblocks is a long running process. Using it on one of my 2TB disks took 6 days. You can speed it up with the -b and -c option.
   * Non-destructive search for bad blocks:<code># badblocks -nsv /dev/sdb   * Non-destructive search for bad blocks:<code># badblocks -nsv /dev/sdb
 Checking for bad blocks in non-destructive read-write mode Checking for bad blocks in non-destructive read-write mode
badblocks.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1