
If the last bad sector was reallocated one year ago the disk is in no immediate danger, as the problem has appeared, been fixed and has not come back. The severity of the disk damage depends on when the drive got the reallocated sectors and how long ago. values you should look out for:Īnything else than ‘0’ is bad.
#Linux disk health manual#
To find out more about the capabilities of smartmontools, please refer to the smartctl manual page by typing: All important values have been highlighted in orange in this example for your convenience. In this example the disk is currently healthy and has no recorded errors. If Selective self-test is pending on power-up, resume after 0 minute delay. SMART Selective self-test log data structure revision number 1Īfter scanning selected spans, do NOT read-scan remainder of disk. Powered_Up_Time is measured from power on, and printed asĭDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, Vendor Specific SMART Attributes with Thresholds: SMART Attributes Data Structure revision number: 10 Recommended polling time: ( 111) minutes. SMART capabilities: (0x0003) Saves SMART data before enteringĮrror logging capability: (0x01) Error logging supported.
#Linux disk health Offline#
Self-test execution status: ( 0) The previous self-test routine completedĬapabilities: (0x5b) SMART execute Offline immediate.Īuto Offline data collection on/off support. Offline data collection status: (0x82) Offline data collection activity SMART overall-health self-assessment test result: PASSED = START OF ENABLE/DISABLE COMMANDS SECTION = The output will be a detailed report of your disks current status and health, that would look similar to this: Use option -s with argument ‘on’ to enable it. SMART support is: Available – device has SMART capability. Smartctl version 5.36 Copyright (C) 2002-6 Bruce Allenĭevice is: Not in smartctl database The output will look something like this: With the information of the disks label, we can start smartctl as follows: It does not make sense to use smartmontools to test a RAID array (/dev/md0, for example). Apart from “hdX”, you will often encounter “sdX”. In this case the disk has the label ‘ /dev/hda‘. To do so please type the following:ĭisk /dev/hda: 160.0 GB, 160041885696 bytesĢ55 heads, 63 sectors/track, 19457 cylinders


#Linux disk health install#
The above commands will install smartmontools on your system.Īt first, you have to determine the label of your disks.

To install smartmontools please type the following: This command will grant you the rights of a power user, so you don’t have to write the command sudo at the beginning of every command line. If you’re not sure about your admin rights, always enter the command sudo -i at the beginning of every session:
