![hard drive smart tool hard drive smart tool](https://www.hddheadtools.com/wp-content/uploads/2017/04/Hard-Drive-Platter-exchanger.jpg)
Test will complete after Sun Nov 16 12:51:45 2014 Please wait 1 minutes for test to complete.
![hard drive smart tool hard drive smart tool](https://ae01.alicdn.com/kf/H3d3d7f86223841df97609bb2d5d7086fP.jpg)
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".ĭrive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Short Test :~# smartctl -test=short /dev/sdb OR We can redirect test output to a log file, as shown below :~# smartctl -test=long /dev/sdb > /var/log/long.text Test will complete after Sun Nov 16 14:29:43 2014 Please wait 102 minutes for test to complete. Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".ĭrive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
#Hard drive smart tool Offline#
Long Test :~# smartctl -test=long /dev/sdbĬopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION = ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUEġ90 Airflow_Temperature_Cel 0x0022 067 045 045 Old_age Always In_the_past 33 (Min/Max 25/33) Example:6 Test Hard drive using long & short option. Please note the following marginal Attributes: Warning: This result is based on an Attribute check. SMART overall-health self-assessment test result: PASSED :~# smartctl -a -d ata /dev/sdb // For SATA drive Example:5 Display Overall health of the Disk :~# smartctl -H /dev/sdbĬopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF READ SMART DATA SECTION = Example:4 Display Detailed Smart info for the disk :~# smartctl -a /dev/sdb // For IDE drive Use option -s with argument 'on' to enable it. Example:3 Disable Smart Capability for the disk :~# smartctl -s off /dev/sdb Last Two lines in above output shows that SMART capability is enable for the device.Įxample:2 Enable Smart Capability for the disk :~# smartctl -s on /dev/sdbĬopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF ENABLE/DISABLE COMMANDS SECTION = SMART support is: Available - device has SMART capability. User Capacity: 320,072,933,376 bytes ĭevice is: In smartctl database ĪTA Version is: ATA8-ACS T13/1699-D revision 4 Smartctl 6.2 r3841 (local build)Ĭopyright (C) 2002-13, Bruce Allen, Christian Franke, = START OF INFORMATION SECTION =
#Hard drive smart tool install#
Installation of Smartcl in Ubuntu $ sudo apt-get install smartmontools Installation of Smartcl in Redhat / CentOS # yum install smartmontoolsįor Ubuntu $ sudo /etc/init.d/smartmontools startįor CentOS & RHEL # service smartd start chkconfig smartd on Example:1 Check Whether Smart Capability is enabled or not for the disk :~# smartctl -i /dev/sdb