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
badblocks [2015/09/07 15:00] – [smartctl] adminbadblocks [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{tag>[linux mdadm raid raid1 failed badblocks]}} {{tag>[linux mdadm raid raid1 failed badblocks]}}
-~~TOC~~ 
 =====Test hard drive for defects, find bad blocks===== =====Test hard drive for defects, find bad blocks=====
  
Line 17: Line 16:
 Use smartctl -X to abort test. Use smartctl -X to abort test.
 </code> </code>
-  * Show health (after test):<code>smartctl -H /dev/sdb+  * Show health (after test):<code>smartctl -H /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 overall-health self-assessment test result: PASSED 
 + 
 + 
  
 #  smartctl -l selftest /dev/sdb #  smartctl -l selftest /dev/sdb
badblocks.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1