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:40] – [smartctl] adminbadblocks [2015/09/07 15:00] – [smartctl] admin
Line 19: Line 19:
   * Show health (after test):<code># smartctl -H /dev/sdb   * Show health (after test):<code># smartctl -H /dev/sdb
  
-# smartctl -l selftest /dev/sdb+ smartctl -l selftest /dev/sdb 
 +smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-229.11.1.el7.x86_64] (local build) 
 +Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org 
 + 
 +=== START OF READ SMART DATA SECTION === 
 +SMART Self-test log structure revision number 1 
 +Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error 
 +# 1  Extended offline    Completed without error       00%     28460         - 
 +# 2  Short offline       Completed without error       00%     25709         - 
 +# 3  Short offline       Completed without error       00%     25541         - 
 +# 4  Short offline       Completed without error       00%     25218         - 
 +# 5  Short offline       Completed without error       00%     25113         - 
 +# 6  Short offline       Completed without error       00%     24960         - 
 +# 7  Short offline       Completed without error       00%     24813         - 
 +# 8  Short offline       Completed without error       00%     24656         - 
 +# 9  Short offline       Completed without error       00%     24488         - 
 +#10  Short offline       Completed without error       00%     24320         - 
 +#11  Short offline       Completed without error       00%     24152         - 
 +#12  Short offline       Completed without error       00%     23984         - 
 + 
 # smartctl -a /dev/sdb</code> # 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