Skip to content
Snippets Groups Projects
Commit c786be3d authored by (no author)'s avatar (no author)
Browse files

This commit was manufactured by cvs2svn to create tag

'RELEASE_5_0_37'.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/tags/RELEASE_5_0_37@242 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 241749ca
No related branches found
No related tags found
No related merge requests found
<pre><tt>
smartctl version 5.0-24 Copyright (C) 2002 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: MAXTOR 4K080H4
Serial Number: 674119123435
Firmware Version: A08.1500
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Off-line data collection status: (0x04) Offline data collection activity was
suspended by an interrupting command from host.
Self-test execution status: ( 89) The previous self-test completed having
the electrical element of the test
failed.
Total time to complete off-line
data collection: (2536) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Automatic timer ON/OFF support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 50) minutes.
SMART Attributes Data Structure revision number: 11
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0029 100 253 020 Pre-fail - 0
3 Spin_Up_Time 0x0027 074 074 020 Pre-fail - 3294
4 Start_Stop_Count 0x0032 100 100 008 Old_age - 32
5 Reallocated_Sector_Ct 0x0033 001 001 020 Pre-fail FAILING_NOW 499
7 Seek_Error_Rate 0x000b 100 001 023 Pre-fail In_the_past 0
9 Power_On_Hours 0x0012 086 086 001 Old_age - 9812
10 Spin_Retry_Count 0x0026 100 100 000 Old_age - 0
11 Calibration_Retry_Count 0x0013 100 100 020 Pre-fail - 0
12 Power_Cycle_Count 0x0032 100 100 008 Old_age - 32
13 Read_Soft_Error_Rate 0x000b 100 001 023 Pre-fail In_the_past 0
194 Temperature_Centigrade 0x0022 091 086 042 Old_age - 24
195 Hardware_ECC_Recovered 0x001a 006 004 000 Old_age - 417912090
196 Reallocated_Event_Count 0x0010 100 100 020 Old_age - 0
197 Current_Pending_Sector 0x0032 033 032 020 Old_age - 338
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age - 0
SMART Error Log Version: 1
ATA Error Count: 20255 (device log contains only the most recent five errors)
DCR = Device Control Register
FR = Features Register
SC = Sector Count Register
SN = Sector Number Register
CL = Cylinder Low Register
CH = Cylinder High Register
D/H = Device/Head Register
CR = Content written to Command Register
ER = Error register
STA = Status register
Timestamp is seconds since the previous disk power-on.
Note: timestamp "wraps" after 2^32 msec = 49.710 days.
Error 1 occurred at disk power-on lifetime: 9574 hours
When the command that caused the error occurred, the device was in a vendor specific or reserved state.
After command completion occurred, registers were:
ER:40 SC:60 SN:b8 CL:c6 CH:02 D/H:e5 ST:d1
Sequence of commands leading to the command that caused the error were:
DCR FR SC SN CL CH D/H CR Timestamp
02 05 60 b8 c6 02 e5 c4 474.857
02 05 f8 20 c6 02 e5 c4 470.748
02 05 08 18 c6 02 e5 c4 470.746
00 00 f8 20 c5 02 e5 c4 470.732
00 00 08 18 c5 02 e5 c4 470.730
Error 2 occurred at disk power-on lifetime: 9574 hours
When the command that caused the error occurred, the device was in a vendor specific or reserved state.
After command completion occurred, registers were:
ER:40 SC:68 SN:b0 CL:c6 CH:02 D/H:e5 ST:d1
Sequence of commands leading to the command that caused the error were:
DCR FR SC SN CL CH D/H CR Timestamp
02 05 f8 20 c6 02 e5 c4 470.748
02 05 08 18 c6 02 e5 c4 470.746
00 00 f8 20 c5 02 e5 c4 470.732
00 00 08 18 c5 02 e5 c4 470.730
02 05 f8 20 c4 02 e5 c4 470.717
Error 3 occurred at disk power-on lifetime: 9574 hours
When the command that caused the error occurred, the device was in a vendor specific or reserved state.
After command completion occurred, registers were:
ER:40 SC:08 SN:c0 CL:3e CH:0e D/H:e5 ST:d1
Sequence of commands leading to the command that caused the error were:
DCR FR SC SN CL CH D/H CR Timestamp
0e 05 08 c0 3e 0e e5 c4 181.677
d0 04 08 b0 67 d0 e4 c5 181.651
0e 05 08 a0 45 0e e5 c4 181.646
0e 05 80 20 43 0e e5 c4 181.635
0e 05 80 20 41 0e e5 c4 181.622
Error 4 occurred at disk power-on lifetime: 9574 hours
When the command that caused the error occurred, the device was in a vendor specific or reserved state.
After command completion occurred, registers were:
ER:40 SC:60 SN:c0 CL:3e CH:0e D/H:e5 ST:d1
Sequence of commands leading to the command that caused the error were:
DCR FR SC SN CL CH D/H CR Timestamp
0e 05 80 a0 3e 0e e5 c4 172.530
0e 05 80 20 3d 0e e5 c4 172.335
0e 05 80 20 3c 0e e5 c4 164.744
0e 05 10 10 3b 0e e5 c4 164.736
0e 05 f8 18 3a 0e e5 c4 157.202
Error 5 occurred at disk power-on lifetime: 9574 hours
When the command that caused the error occurred, the device was in a vendor specific or reserved state.
After command completion occurred, registers were:
ER:40 SC:c0 SN:18 CL:04 CH:d3 D/H:e4 ST:d1
Sequence of commands leading to the command that caused the error were:
DCR FR SC SN CL CH D/H CR Timestamp
d3 04 c0 18 04 d3 e4 c4 502.837
d3 04 f8 e0 03 d3 e4 c4 498.739
d3 04 f8 e8 02 d3 e4 c4 498.716
55 01 c8 90 70 55 e1 c4 498.705
55 01 38 48 70 55 e1 c4 498.680
SMART Self-test log, version number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short off-line Completed: electrical failure 90% 9786
# 2 Extended captive Completed: servo/seek failure 90% 9676 0x04b7ed3d
# 3 Extended captive Completed 00% 9575
# 4 Extended off-line Completed 00% 9432
# 5 Extended off-line Completed 00% 9415
</tt></pre>
<pre><tt>
smartctl version 5.0-24 Copyright (C) 2002 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: MAXTOR 4K080H4
Serial Number: 674119113862
Firmware Version: A08.1500
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Off-line data collection status: (0x05) Offline data collection activity was
aborted by an interrupting command from host.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete off-line
data collection: ( 44) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Automatic timer ON/OFF support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 50) minutes.
SMART Attributes Data Structure revision number: 11
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0029 100 253 020 Pre-fail - 0
3 Spin_Up_Time 0x0027 075 075 020 Pre-fail - 3249
4 Start_Stop_Count 0x0032 100 100 008 Old_age - 31
5 Reallocated_Sector_Ct 0x0033 100 100 020 Pre-fail - 0
7 Seek_Error_Rate 0x000b 100 001 023 Pre-fail In_the_past 0
9 Power_On_Hours 0x0012 086 086 001 Old_age - 9754
10 Spin_Retry_Count 0x0026 100 100 000 Old_age - 0
11 Calibration_Retry_Count 0x0013 100 100 020 Pre-fail - 0
12 Power_Cycle_Count 0x0032 100 100 008 Old_age - 31
13 Read_Soft_Error_Rate 0x000b 100 100 023 Pre-fail - 0
194 Temperature_Centigrade 0x0022 035 032 042 Old_age FAILING_NOW 168
195 Hardware_ECC_Recovered 0x001a 100 002 000 Old_age - 880099716
196 Reallocated_Event_Count 0x0010 100 100 020 Old_age - 0
197 Current_Pending_Sector 0x0032 100 100 020 Old_age - 0
198 Offline_Uncorrectable 0x0010 100 253 000 Old_age - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log, version number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short off-line Completed 00% 9691
# 2 Short captive Completed 00% 9691
# 3 Extended captive Completed 00% 9618
# 4 Extended captive Interrupted (host reset) 90% 9563
# 5 Short captive Completed 00% 9563
# 6 Short off-line Completed 00% 9563
# 7 Short captive Completed 00% 9545
# 8 Extended off-line Completed 00% 9541
# 9 Short captive Completed 00% 9541
#10 Extended off-line Completed 00% 9537
#11 Extended off-line Completed 00% 9536
#12 Extended off-line Interrupted (host reset) 90% 9534
#13 Extended off-line Completed 00% 9517
#14 Extended off-line Completed 00% 9484
</tt></pre>
<pre><tt>
smartctl version 5.0-24 Copyright (C) 2002 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: MAXTOR 6L080J4
Serial Number: 664201100034
Firmware Version: A93.0500
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Off-line data collection status: (0x00) Offline data collection activity was
never started.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete off-line
data collection: ( 35) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Automatic timer ON/OFF support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 40) minutes.
SMART Attributes Data Structure revision number: 11
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0029 100 253 020 Pre-fail - 0
3 Spin_Up_Time 0x0027 069 066 020 Pre-fail - 3984
4 Start_Stop_Count 0x0032 100 100 008 Old_age - 110
5 Reallocated_Sector_Ct 0x0033 100 100 020 Pre-fail - 0
7 Seek_Error_Rate 0x000b 100 100 023 Pre-fail - 0
9 Power_On_Hours 0x0012 099 099 001 Old_age - 1294
10 Spin_Retry_Count 0x0026 100 100 000 Old_age - 0
11 Calibration_Retry_Count 0x0013 100 100 020 Pre-fail - 0
12 Power_Cycle_Count 0x0032 100 100 008 Old_age - 110
13 Read_Soft_Error_Rate 0x000b 100 100 023 Pre-fail - 0
194 Temperature_Centigrade 0x0022 092 087 042 Old_age - 22
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age - 1163
196 Reallocated_Event_Count 0x0010 100 100 020 Old_age - 0
197 Current_Pending_Sector 0x0032 100 100 020 Old_age - 0
198 Offline_Uncorrectable 0x0010 100 253 000 Old_age - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log, version number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended off-line Completed 00% 1038
# 2 Extended off-line Aborted by host 00% 786
# 3 Extended off-line Aborted by host 00% 786
</tt></pre>
<pre><tt>
smartctl version 5.0-24 Copyright (C) 2002 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: MAXTOR 6L080J4
Serial Number: 664205757172
Firmware Version: A93.0500
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Off-line data collection status: (0x04) Offline data collection activity was
suspended by an interrupting command from host.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete off-line
data collection: ( 35) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Automatic timer ON/OFF support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 40) minutes.
SMART Attributes Data Structure revision number: 11
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0029 100 253 020 Pre-fail - 0
3 Spin_Up_Time 0x0027 065 064 020 Pre-fail - 4481
4 Start_Stop_Count 0x0032 100 100 008 Old_age - 81
5 Reallocated_Sector_Ct 0x0033 100 100 020 Pre-fail - 0
7 Seek_Error_Rate 0x000b 100 100 023 Pre-fail - 0
9 Power_On_Hours 0x0012 098 098 001 Old_age - 1767
10 Spin_Retry_Count 0x0026 100 100 000 Old_age - 0
11 Calibration_Retry_Count 0x0013 100 100 020 Pre-fail - 0
12 Power_Cycle_Count 0x0032 100 100 008 Old_age - 81
13 Read_Soft_Error_Rate 0x000b 100 100 023 Pre-fail - 0
194 Temperature_Centigrade 0x0022 091 084 042 Old_age - 24
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age - 52795
196 Reallocated_Event_Count 0x0010 100 100 020 Old_age - 0
197 Current_Pending_Sector 0x0032 100 100 020 Old_age - 0
198 Offline_Uncorrectable 0x0010 100 253 000 Old_age - 0
199 UDMA_CRC_Error_Count 0x001a 200 200 000 Old_age - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log, version number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended off-line Completed 00% 1283
</tt></pre>
<pre><tt>
smartctl version 5.0-31 Copyright (C) 2002 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MK2018GAS
Serial Number: X22F7553T
Firmware Version: Q2.03 D
ATA Version is: 5
ATA Standard is: Unrecognized. Minor revision code: 0x00
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Off-line data collection status: (0x00) Offline data collection activity was
never started.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete off-line
data collection: ( 212) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Automatic timer ON/OFF support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 23) minutes.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail - 910
4 Start_Stop_Count 0x0032 100 100 000 Old_age - 18
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age - 9
10 Spin_Retry_Count 0x0033 100 100 030 Pre-fail - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age - 18
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age - 6
193 Load_Cycle_Count 0x0032 100 100 000 Old_age - 437
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age - 0
220 Disk_Shift 0x0002 100 100 000 Old_age - 4250
222 Loaded_Hours 0x0032 100 100 000 Old_age - 4
223 Load_Retry_Count 0x0032 100 100 000 Old_age - 0
224 Load_Friction 0x0022 100 100 000 Old_age - 0
226 Load-in_Time 0x0026 100 100 000 Old_age - 590
240 Unknown_Attribute 0x0001 100 100 001 Pre-fail - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log, version number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended off-line Completed 00% 4
# 2 Short captive Completed 00% 0
# 3 Short off-line Completed 00% 0
</tt></pre>
#!/bin/bash
# execute this script in the current shell, using for example
# . cvs_script
unset CVS_SERVER
export CVS_RSH=ssh
export CVSROOT=:ext:ballen4705@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>smartmontools Home Page</title>
<link rev="made" href="mailto:smartmontools-support @ sourceforge.net" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="smartmontools Home Page" />
<meta name="keywords" content="SMART, S.M.A.R.T., Linux, disk monitoring" />
</head>
<body>
<div align="center"><h1><font color="#3333ff">smartmontools Home Page</font></h1></div>
<p>This is the home page for smartmontools.&#160; The smartmontools
package contains two utility programs
(<font color="#3333ff"><b>smartctl</b></font> and
<font color="#3333ff"><b>smartd</b></font>) to control and monitor storage
systems using the Self-Monitoring, Analysis and Reporting Technology
System (S.M.A.R.T.) built into most modern ATA and SCSI hard
disks.&#160; It is derived from the smartsuite package, and includes
support for ATA/ATAPI-5 disks.&#160; It should run on any modern Linux
system.</p>
<p>For printing convenience, everything except for the <a href="#sampleoutput">example output</a> is on a single page.</p>
<hr size="2" />
<ul>
<li><a href="#howtodownload">How to download and install
smartmontools</a></li>
<li><a href="#FAQ">Frequently Asked Questions</a></li>
<li><a href="#testinghelp">The code needs to be tested on SCSI
disks/tapes</a></li>
<li><a href="#differfromsmartsuite">How does smartmontools differ from
smartsuite?</a></li>
<li><a href="#references">Useful references on S.M.A.R.T. and
ATA/ATAPI-5, -6, and -7</a></li>
<li><a href="#sampleoutput">Example output from smartmontools</a>
<b>smartctl</b> utility</li>
<li><a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/">CVS
repository</a> and <a href="http://sourceforge.net/projects/smartmontools/">SourceForge's
Project Page</a></li>
<li>Mailing List <a href="http://lists.sourceforge.net/lists/listinfo/smartmontools-support">Information</a>
and <a href="http://sourceforge.net/mailarchive/forum.php?forum=smartmontools-support">Archives</a></li>
</ul>
<hr size="2" />
<b><a name="howtodownload"></a>How to download and install
smartmontools</b>
<p>There are three different ways to get and install smartmontools.&#160;
You can use any one of these three procedures.&#160; Just after "Method
3" below are some instructions for trying out smartmontools once you
have completed the installation.</p>
<b>First Method - Install from the RPM file</b>
<ul>
<li>Download the latest binary RPM file (<tt>*.rpm</tt>) from <a href="http://sourceforge.net/project/showfiles.php?group_id=64297">here</a>.&#160;
Don't get the SRPM file (<tt>*.src.rpm</tt>).</li>
<li>Install it using RPM.&#160; <i>You must be root to do this</i>:
<pre>su root (enter root password)
rpm -ivh smartmontools-5.0-1.i386.rpm</pre>
For most users, this is all that is needed.</li>
<li>If you receive an error message, you have probably previously
installed the <tt>smartsuite</tt> package, or RedHat's
<tt>kernel-utils</tt> package, which provide older versions of the
<tt>smartd</tt> and <tt>smartctl</tt> utilities.&#160; In this case you
should use the <tt>--nodeps</tt> or <tt>--force</tt> arguments of rpm to
replace these two utilities:
<pre>rpm -ivh --nodeps --force smartmontools-5.0-1.i386.rpm</pre></li>
<li>If you want to remove the package (<tt>rpm -e smartmontools</tt>)
and your system does not have <tt>chkconfig</tt> installed, you may need
to use:
<pre>rpm -e --noscripts smartmontools</pre></li>
</ul>
<b>Second Method - Install from the source tarball</b>
<ul>
<li>Download the latest source tarball from <a href="http://sourceforge.net/project/showfiles.php?group_id=64297">here</a>.
Note: you probably want the most recent release.</li>
<li>Uncompress the tarball:
<pre>tar zxvf smartmontools-5.0-1.tar.gz</pre></li>
<li>The previous step created a directory called smartmontools-5.0-1
containing the code.&#160; Go to that directory, build, and install:
<pre>cd smartmontools-5.0-1
make
make install (only root can do this)</pre></li>
</ul>
<b>Third Method - Install from the CVS repository</b>
<ul>
<li><p>One of the really cool things about CVS is that you can get
<i>any</i> version of the code you want, from the first release up the
the most current development version.&#160; And it's trivial, because
each release is <u>tagged</u> with a name like
<tt>RELEASE_5_0_26</tt>.&#160; You can see what the different names are
by looking at the <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/sm5/">
CVS repository</a>.&#160; You'll see the tag names in the little scroll
window where it says "Show only files with tag".&#160; All you need to
do to get the latest development code is:</p>
<pre>cvs -d: pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools login (when prompted for a password, just press Enter)
cvs -d: pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools co sm5</pre></li>
<li>To instead get the 5.0-26 release:
<pre>cvs -d :pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools co -r RELEASE_5_0_26 sm5</pre></li>
<li><p>This will create a subdirectory called <tt>sm5/</tt> containing the
code.&#160; Go to that directory, build, and install:</p>
<pre>cd sm5
make
make install (only root can do this)</pre></li>
<li>To update your sources to the 5.0-30 release:
<pre>cd sm5
cvs up -r RELEASE_5_0_30</pre></li>
<li>To update any tagged release to the latest development code:
<pre>cd sm5
cvs up -A</pre></li>
</ul>
<b>After installing using Method 1, 2 or 3 above, you can read the man
pages, and try out the commands:</b>
<pre>man 8 smartctl
man 8 smartd
/usr/sbin/smartctl -etf /dev/hda (only root can do this)
/usr/sbin/smartctl -a /dev/hda (only root can do this)</pre>
<p>Note that the default location for the manual pages are in
<tt>/usr/share/man/man8</tt>.&#160; If "<tt>man</tt>" does not find the
manual pages, then you may need to add <tt>/usr/share/man</tt> to your
<tt>MANPATH</tt> environment variable.</p>
<hr size="2" />
<a name="FAQ"></a><b>Frequently Asked Questions</b>
<p>If your question is not here, please <a href="mailto:smartmontools-support @ lists.sourceforge.net">email
me</a>.</p>
<ul>
<li><b>What do I do if I have problems, or need support?&#160; Suppose
I want to become a developer, or suggest some new extensions?</b>
<p>Please send an email to the <a href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support">smartmontools-support
mailing list</a>.&#160; Please take a look through the archives to see
if your question has been answered.</p></li>
<li><b>What are the future plans for smartmontools?</b>
<p>My plan is that smartmontools-5.x will support ATA/ATAPI-5
disks.&#160; Eventually, we'll do smartmontools-6.x to support
ATA/ATAPI-6 disks, smartmontools-7.x for the ATA/ATAPI-7 standard, and
so on.&#160; The "x" will denote revision level, as bugs get found and
fixed, and as enhancements get added.&#160; If it's possible to maintain
backwards compatibility, that would be nice, but I don't know if it will
be possible or practical.</p></li>
<li><b>Why are you doing this?</b>
<p>My research group runs a beowulf cluster with 300 ATA-5 disks.&#160; We
have more than 20 TB of data stored on the system.&#160; It's nice to
have advanced warning when a disk is going to fail.</p></li>
<li><b>I see some strange output from smartctl. What does it mean?</b>
<p>The raw S.M.A.R.T. attributes (temperature, power-on lifetime, and so
on) are stored in vendor-specific structures.&#160; Sometime these are
strange.&#160; Hitachi disks (at least some of them) store power-on
lifetime in minutes, rather than hours.&#160; IBM disks (at least some
of them) have three temperatures stored in the raw structure, not just
one.&#160; And so on.&#160; If you find strange output, or unknown
attributes, please send an email to <a href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support">
smartmontools-support</a> and we'll help you try and figure it
out.</p></li>
<li><b>What attributes does smartmontools not yet recognize?</b>
<p>From a Hitachi disk: (230)(250)</p>
<p>If you can attach names/meanings to these attributes, please send me
a note to <a href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support">
smartmontools-support</a>.</p></li>
<li><b>When I run <tt>smartd</tt>, the SYSLOG <tt>/var/log/messages</tt>
contains messages like this:</b>
<pre>smartd: Reading Device /dev/sdv
modprobe: modprobe: Can't locate module block-major-65</pre>
<p>This is because when <tt>smartd</tt> starts, it looks for all ATA and
SCSI devices to monitor (matching the pattern <tt>/dev/hd[a-z]</tt> or
<tt>/dev/sd[a-z]</tt>).&#160; The log messages appear because your
system doesn't have most of these devices.</p>
<p>The latest release of smartd can use a configuration file
<tt>/etc/smartd.conf</tt> to specify which devices to include or exclude
from start-up search.</p></li>
<li><b>What's the story on IBM S.M.A.R.T. disks?</b>
<p>Apparently some of the older S.M.A.R.T. firmware on IBM disks can
interfere with the regular operation of the disk.&#160; If you have this
problem, here is an <a href="http://www.geocities.com/dtla_update/">IBM
DISK FIRMWARE UPGRADE</a> that fixes the problem.</p></li>
</ul>
<hr size="2" /><a name="testinghelp"></a><b>Help needed in testing
smartmontools, especially on SCSI disks/systems</b>
<p>I have access to a number of systems with ATA S.M.A.R.T. disks, but I
don't have any access to systems with SCSI S.M.A.R.T. devices.&#160; I'd
be very grateful to find someone who could help me test the
smartmontools code on SCSI disks.&#160; Since it's derived from the
smartsuite package, it should initially work about the same way with
SCSI devices as the smartsuite tools did.</p>
<p>I'd be especially happy if someone would like to take on the task, as
a developer, of maintaining the SCSI code.&#160; Do you have a beowulf
cluster with a few hundred SCSI disks?&#160; Please volunteer !</p>
<hr size="2" /><a name="differfromsmartsuite"></a><b>How does
smartmontools differ from smartsuite?</b>
<p>The smartsuite code was originally developed as a Senior Thesis by
Michael Cornwell at the Concurrent Systems Laboratory (now part of the
<a href="http://ssrc.soe.ucsc.edu/">Storage Systems Research
Center</a>), Jack Baskin School of Engineering, University of
California, Santa Cruz.
You can find some information about the original smartsuite project here:
<a href="http://www.ucsc.edu/news_events/press_releases/archive/99-00/09-99/smart_software.htm">Press Release 1</a>,
<a href="http://www.santa-cruz.com/archive/1999/September/22/local/stories/5local.htm">Press Release 2</a>,
<a href="http://www.ucsc.edu/currents/99-00/09-27/smart.html">Press Release 3</a>.
</p>
<p>Smartmontools was derived directly from smartsuite.&#160; It differs
from smartsuite in that it supports the ATA/ATAPI-5 standard.&#160; So
for example <tt>smartctl</tt> from smartsuite has no facility for
printing the S.M.A.R.T. self-test logs, and doesn't print timestamp
information in the most usable way.&#160; The <tt>smartctl</tt> utility
in smartmontools has added functionality for this (<tt>-q,-Q, -L,-f, -F, -U, -P
and -m</tt> options), updated documentation, and also fixes small
technical bugs in smartsuite.&#160; See the
<a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/sm5/CHANGELOG?rev=HEAD&amp;content-type=text/plain">CHANGELOG</a>
file in CVS for a summary of what's been done.&#160; The <tt>smartd</tt>
utility differs from the smartsuite <tt>smartd</tt> in major ways.&#160;
First, it prints somewhat more informative error messages to the syslog.
&#160; Second, on startup it looks for a configuration file
<tt>/etc/smartd.conf</tt>, and if <tt>smartd</tt> finds this file, it
monitors the list of devices therein, rather than querying all IDE and
SCSI devices on your system.&#160; (If the configuration file does not
exist, then it does query all IDE and SCSI devices.)&#160; Also, it's
a well-behaved daemon and doesn't leave open file descriptors and other
detrius behind.&#160; In addition, the <tt>smartmontools</tt> version of
<tt>smartd</tt> can be instructed (via Directives in the configuration
file) to monitor for changes in a number of different disk properties:
the SMART status, failure or prefailure attributes going below
threshold, new errors appearing in the ATA Error Log or the SMART
Self-Test Log, and so on.</p>
<p>The other principle difference is that smartmontools is an OpenSource
development project, meaning that we keep the files in CVS, and that
other developers who wish to contribute can commit changes to the
archive.&#160; If you would like to contribute, please write to to <a href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support">smartmontools-support</a>.</p>
<p>But the bottom line is that the code in smartmontools is derived
directly from smartsuite and is similar.&#160; The smartsuite package
can be found <a href="http://sourceforge.net/projects/smartsuite/">here</a>.</p>
<hr size="2" /><a name="references"></a><b><big>Useful references on
S.M.A.R.T. and the ATA/ATAPI standards</big></b>
<p><big>If you are having trouble understanding the output of smartctl
or smartd, please first read the manual pages:</big></p>
<pre>
man 8 smartctl
man 8 smartd
</pre>
<p><big>If you'd like to know more about S.M.A.R.T., then the following
references may be helpful:</big></p>
<ul>
<li>The <a href="http://www.t13.org/project/d1321r1c.pdf"> ATAPI/ATA-5
Revision 1 specification</a> (start with Section 8.41)</li>
<li><a href="http://www.t13.org/#FTP_site">Earlier and later revisions
of the ATAPI/ATA Specs</a></li>
<li>The original S.M.A.R.T. specification is SFF-8035i from the <a href="http://www.sffcommittee.com/ns/">SFF Committee</a>.&#160;
Here is their <a href="ftp://ftp.seagate.com/sff/INF-8035.TXT"> "link"</a>.</li>
<li>From the <a href="http://cmrr.ucsd.edu/smart/">UCSD SMART Project</a>:
<ul>
<li><a href="http://cmrr.ucsd.edu/smart/tech_papr/HamerlySmartPaper.pdf">Bayesian
Approaches to Failure Prediction for Disk Drives</a></li>
<li><a href="http://cmrr.ucsd.edu/smart/tech_papr/SmtPapTransReliFinalWeb.pdf">Improved
Disk-Drive Failure Warnings</a></li>
</ul>
</li>
<li>From the Seagate Corporation:
<ul>
<li><a href="http://www.seagate.com/docs/pdf/whitepaper/drive_reliability.pdf" target="_blank">Estimating Drive Reliability in Desktop Computers and
Consumer Electronics Systems</a></li>
<li><a href="http://www.seagate.com/docs/pdf/whitepaper/enhanced_smart.pdf" target="_blank">Enhanced SMART - Get S.M.A.R.T. For Reliability</a></li>
<li><a href="http://www.seagate.com/docs/pdf/whitepaper/smart_u8.pdf" target="_blank">Playing it S.M.A.R.T.</a></li>
<li><a href="http://www.seagate.com/docs/pdf/whitepaper/Enhanced_DST_Tech_Paper.pdf" target="_blank">Enhanced Drive Self-Test</a></li>
</ul>
</li>
<li><a href="http://www.maxtor.com/products/DiamondMax/software/maxsafe.pdf" target="_blank">Drive reliability and safety system: MaxSafe</a> (Maxtor)</li>
<li><u>Specifying Reliability in the Disk Drive Industry: No More
MTBF's</u>, Jon G. Elerath (IBM Storage Systems Division) in
<i>Proceedings of the IEEE 2000 Annual Reliability and Maintainability
Symposium, pg 194, 0-7803-5848-1/00/$10.00.</i></li>
</ul>
<hr size="2" /><a name="sampleoutput"></a><b>Example output
from smartmontools smartctl utility:</b>
<ul>
<li><a href="http://smartmontools.sourceforge.net/MAXTOR-0.html">MAXTOR 4K080H4</a> 80 GB 5400 RPM</li>
<li><a href="http://smartmontools.sourceforge.net/MAXTOR-1.html">MAXTOR 4K080H4</a> 80 GB 5400 RPM (has failing SMART status)</li>
<li><a href="http://smartmontools.sourceforge.net/MAXTOR-2.html">MAXTOR 4K080H4</a> 80 GB 5400 RPM (has had failing SMART test in the past.
Look at the Seek Error Rate)</li>
<li><a href="http://smartmontools.sourceforge.net/MAXTOR-3.html">MAXTOR 6L080J4</a> 80 GB 7200 RPM</li>
<li><a href="http://smartmontools.sourceforge.net/MAXTOR-4.html">MAXTOR 6L080J4</a> 80 GB 7200 RPM</li>
<li><a href="http://smartmontools.sourceforge.net/IC35L120AVVA07-0-0.html">IBM IC35L120AVVA07</a> 120 GB 7200 RPM</li>
<li><a href="http://smartmontools.sourceforge.net/IC35L120AVVA07-0-1.html">IBM IC35L120AVVA07</a> 120 GB 7200 RPM</li>
<li><a href="http://smartmontools.sourceforge.net/HITACHI_DK23BA-20-0.html">HITACHI_DK23BA-20</a> Hitachi 20 GB Laptop Disk</li>
<li><a href="http://smartmontools.sourceforge.net/TOSHIBA-0.html">TOSHIBA MK2018GAS</a> Toshiba 20 GB Laptop Disk</li>
<li><a href="http://smartmontools.sourceforge.net/Maxtor-0.html">Maxtor 98196H8</a> Maxtor 80 GB 5400 RPM</li>
</ul>
<hr size="2" />
Maintained by <a href="mailto:smartmontools-support @ lists.sourceforge.net">Bruce Allen</a>
<br />
<div align="center">Hosted by</div>
<div align="center"><a href="http://sourceforge.net/"><img style="border:0;width=:88px;height:31px" src="http://sourceforge.net/sflogo.php?group_id=64297&amp;type=5" alt="SourceForge.net" /></a></div>
<br />
<div align="center"><a href="http://validator.w3.org/check/referer"><img style="border:0;width=:88px;height:31px" src="http://www.w3.org/Icons/valid-xhtml10.png" alt="Valid XHTML 1.0!" /></a></div>
</body>
</html>
#! /bin/bash
# This is a script to wrap smartctl output into http:// displayable form
# It requires a filename as input, and produces an file with a .html extension as output
if [ $# -ne 1 ] ; then
echo This script requires one a file as input
exit 1
fi
model=`grep "Device Model" $1 | awk '{print $3}' `
# see if file name in use
let i=0
while [ -f $model-$i.html ] ; do
let i+=1
done
filename=$model-$i
echo -e "<pre><tt>\n" > $filename.html
cat $1 >> $filename.html
echo -e "</tt></pre>\n" >> $filename.html
echo created file $filename.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment