Skip to content
Snippets Groups Projects
Commit 8be9a362 authored by ballen4705's avatar ballen4705
Browse files

Trivial edits

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@187 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 2d76cc4a
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
color="#3333ff"><b>smartctl</b></font> and <font color="#3333ff"><b>smartctl</b></font> and <font
color="#3333ff"><b>smartd</b></font>) to control and monitor color="#3333ff"><b>smartd</b></font>) to control and monitor
storage systems using the Self-Monitoring, Analysis and Reporting storage systems using the Self-Monitoring, Analysis and Reporting
Technology System (S.M.A.R.T.) built into most modern ATA and Technology System (S.M.A.R.T.) built into most modern ATA and SCSI
SCSI hard disks. It is derived from the smartsuite package, and includes hard disks. It is derived from the smartsuite package, and includes
support for ATA/ATAPI-5 disks. It should run on any modern linux support for ATA/ATAPI-5 disks. It should run on any modern linux
system.<br> system.<br>
<br> <br>
...@@ -48,16 +48,16 @@ tested on SCSI disks/tapes</a></li> ...@@ -48,16 +48,16 @@ tested on SCSI disks/tapes</a></li>
smartmontools differ from smartsuite?</a></li> smartmontools differ from smartsuite?</a></li>
<li><a href="#references">Useful references <li><a href="#references">Useful references
on S.M.A.R.T. and ATA/ATAPI-5, -6, and -7</a></li> on S.M.A.R.T. and ATA/ATAPI-5, -6, and -7</a></li>
<li><a href="#sampleoutput">Some example output <li><a href="#sampleoutput">Example output from
from smartmontools <b>smartctl</b></a></li> smartmontools <b>smartctl</b> utility</a></li>
<li><a <li><a
href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/">Smartmontools href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/">Smartmontools
CVS archive</a> and <a CVS Archive</a> and <a
href="http://sourceforge.net/projects/smartmontools">SourceForge projects href="http://sourceforge.net/projects/smartmontools">Sourceforge Projects
group page</a></li> Group page</a></li>
<li><a <li><a
href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support"> href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support">
Mailing list and archives</a> for smartmontools support<br> Mailing List and Archives</a> for smartmontools support<br>
</li> </li>
</ul> </ul>
...@@ -96,20 +96,21 @@ or <tt> --force</tt> arguments of rpm to replace these ...@@ -96,20 +96,21 @@ or <tt> --force</tt> arguments of rpm to replace these
two utilities:<br> two utilities:<br>
<tt>&nbsp; rpm -ivh --nodeps --force smartmontools-5.0-1.i386.rpm</tt></li> <tt>&nbsp; rpm -ivh --nodeps --force smartmontools-5.0-1.i386.rpm</tt></li>
<li>If you want to remove the package (<tt>rpm -e s</tt><tt>martmontools</tt>) <li>If you want to remove the package (<tt>rpm -e s</tt><tt>martmontools</tt>)
and your system does not have <tt>chkconfig</tt> installed, you may need and your system does not have <tt>chkconfig</tt> installed, you may
to use: <tt><br> need to use: <tt><br>
&nbsp; rpm -e</tt> <tt>--noscripts</tt> <tt>s</tt><tt>martmontools</tt><br> &nbsp; rpm -e</tt> <tt>--noscripts</tt> <tt>s</tt><tt>martmontools</tt><br>
</li> </li>
</ul> </ul>
</li> </li>
<li><b>Second Method - Install from the source tarball</b>:<br> <li><b>Second Method - Install from the source
tarball</b>:<br>
<ul> <ul>
<li>Download the latest source-code tarball from <li>Download the latest source-code tarball
<a from <a
href="http://sourceforge.net/project/showfiles.php?group_id=64297">here</a>. href="http://sourceforge.net/project/showfiles.php?group_id=64297">here</a>.
Note: you probably want the most recent release. </li> Note: you probably want the most recent release. </li>
<li>Uncompress the tarball:<br> <li>Uncompress the tarball:<br>
...@@ -125,6 +126,7 @@ root can do this]</i><br> ...@@ -125,6 +126,7 @@ root can do this]</i><br>
</li> </li>
</ul> </ul>
</li> </li>
<li><b>Third Method - Download code directly from <li><b>Third Method - Download code directly from
...@@ -159,6 +161,7 @@ CVS. If prompted for a password, simply press the Enter key. &nbsp;Not ...@@ -159,6 +161,7 @@ CVS. If prompted for a password, simply press the Enter key. &nbsp;Not
you can read the man pages, and try out the commands:</b><br> you can read the man pages, and try out the commands:</b><br>
<blockquote> <blockquote>
<blockquote><tt>&nbsp; man 8 smartctl</tt><br> <blockquote><tt>&nbsp; man 8 smartctl</tt><br>
<tt>&nbsp; man 8 smartd</tt><br> <tt>&nbsp; man 8 smartd</tt><br>
<tt>&nbsp; /usr/sbin/smartctl -etf /dev/hda &nbsp;</tt><i>[only <tt>&nbsp; /usr/sbin/smartctl -etf /dev/hda &nbsp;</tt><i>[only
...@@ -198,27 +201,26 @@ take a look through the archives to see if your question has been answered.<b ...@@ -198,27 +201,26 @@ take a look through the archives to see if your question has been answered.<b
My plan is that smartmontools-5.x will support ATA/ATAPI-5 My plan is that smartmontools-5.x will support ATA/ATAPI-5
disks. &nbsp;Eventually, we'll do smartmontools-6.x to support disks. &nbsp;Eventually, we'll do smartmontools-6.x to support
ATA/ATAPI-6 disks, smartmontools-7.x for the ATA/ATAPI-7 standard, ATA/ATAPI-6 disks, smartmontools-7.x for the ATA/ATAPI-7 standard,
and so on. &nbsp;The "x" will denote revision level, as bugs get found and so on. &nbsp;The "x" will denote revision level, as bugs get
and fixed, and as enhancements get added. &nbsp; If it's possible to found and fixed, and as enhancements get added. &nbsp; If it's possible
maintain backwards compatibility, that would be nice, but I don't know to maintain backwards compatibility, that would be nice, but I don't
if it will be possible or practical.</li> know if it will be possible or practical.</li>
<li><b>Why are you doing this?</b><br> <li><b>Why are you doing this?</b><br>
My research group runs a beowulf cluster with 300 My research group runs a beowulf cluster with 300
ATA-5 disks. &nbsp;We have more than 20 TB of data stored on the ATA-5 disks. &nbsp;We have more than 20 TB of data stored on the
system. &nbsp;It's nice to have advanced warning when a disk is system. &nbsp;It's nice to have advanced warning when a disk is going
going to fail.</li> to fail.</li>
<li><b>I see some strange output from smartctl. &nbsp;What <li><b>I see some strange output from smartctl.
does it mean?</b><br> &nbsp;What does it mean?</b><br>
The raw S.M.A.R.T. attributes (temperature, power-on The raw S.M.A.R.T. attributes (temperature, power-on
lifetime, and so on) are stored in vendor-specific structures. lifetime, and so on) are stored in vendor-specific structures. &nbsp;Sometime
&nbsp;Sometime these are strange. &nbsp;Hitachi disks (at least some these are strange. &nbsp;Hitachi disks (at least some of them) store
of them) store power-on lifetime in minutes, rather than hours. &nbsp;IBM power-on lifetime in minutes, rather than hours. &nbsp;IBM disks (at
disks (at least some of them) have three temperatures stored in the raw least some of them) have three temperatures stored in the raw structure,
structure, not just one. And so on. &nbsp;If you find strange output, not just one. And so on. &nbsp;If you find strange output, or unknown
or unknown attributes, please send an email to <a attributes, please send an email to <a
href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support"> href="http://lists.sourceforge.net/mailman/listinfo/smartmontools-support">
smartmontools-support</a> and we'll help you try and figure it smartmontools-support</a> and we'll help you try and figure it out.</li>
out.</li>
<li><b>What attributes does smartmontools not yet <li><b>What attributes does smartmontools not yet
recognize?<br> recognize?<br>
</b>From a Hitachi disk: (230)(250)<br> </b>From a Hitachi disk: (230)(250)<br>
...@@ -230,8 +232,8 @@ recognize?<br> ...@@ -230,8 +232,8 @@ recognize?<br>
<tt>/var/log/messages</tt> &nbsp;contains messages like this:</b><br> <tt>/var/log/messages</tt> &nbsp;contains messages like this:</b><br>
<tt>&nbsp; smartd: Reading Device /dev/sdv <br> <tt>&nbsp; smartd: Reading Device /dev/sdv <br>
&nbsp; modprobe: modprobe: Can't locate module block-major-65<br> &nbsp; modprobe: modprobe: Can't locate module block-major-65<br>
</tt>This is because when <tt>smartd</tt> starts, it </tt>This is because when <tt>smartd</tt> starts,
looks for all ATA and SCSI devices to monitor (matching the pattern 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>). &nbsp;The <tt>/dev/hd[a-z]</tt> or <tt>/dev/sd[a-z]</tt>). &nbsp;The
log messages appear because your system doesn't have most of these log messages appear because your system doesn't have most of these
devices.<br> devices.<br>
...@@ -254,8 +256,8 @@ to do is:<br> ...@@ -254,8 +256,8 @@ to do is:<br>
&nbsp; cvs -z3 -d:pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools &nbsp; cvs -z3 -d:pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools
co -r RELEASE_5_0_17</tt><tt> sm5</tt><br> co -r RELEASE_5_0_17</tt><tt> sm5</tt><br>
If prompted for a password, just do &lt;ENTER&gt;. This will create If prompted for a password, just do &lt;ENTER&gt;. This will create
a subdirectory called <tt>sm5/</tt> containing the code. Go a subdirectory called <tt>sm5/</tt> containing the code. Go to
to that directory, build, install, and enjoy:<br> that directory, build, install, and enjoy:<br>
<tt>&nbsp; cd sm5<br> <tt>&nbsp; cd sm5<br>
&nbsp; make<br> &nbsp; make<br>
&nbsp; make install &nbsp;</tt> &nbsp;<i> [only root can do this]</i></li> &nbsp; make install &nbsp;</tt> &nbsp;<i> [only root can do this]</i></li>
...@@ -278,42 +280,42 @@ could help me test the smartmontools code on SCSI disks. &nbsp;Since ...@@ -278,42 +280,42 @@ could help me test the smartmontools code on SCSI disks. &nbsp;Since
it's derived from the smartsuite package, it should initially work it's derived from the smartsuite package, it should initially work
about the same way with SCSI devices as the smartsuite tools did.<br> about the same way with SCSI devices as the smartsuite tools did.<br>
<br> <br>
I'd be especially happy if someone would like to take I'd be especially happy if someone would like to
on the task, as a developer, of maintaining the SCSI code. &nbsp;Do take on the task, as a developer, of maintaining the SCSI code.
you have a beowulf cluster with a few hundred SCSI disks? Please &nbsp;Do you have a beowulf cluster with a few hundred SCSI disks?
volunteer!<br> Please volunteer!<br>
<hr width="100%" size="2"><a name="differfromsmartsuite"></a><b>How does smartmontools <hr width="100%" size="2"><a name="differfromsmartsuite"></a><b>How does
differ from smartsuite?<br> smartmontools differ from smartsuite?<br>
</b>The smartsuite code was originally developed as a Senior </b>The smartsuite code was originally developed as a Senior
Thesis by Michael Cornwell at the Concurrent Systems Laboratory (now Thesis by Michael Cornwell at the Concurrent Systems Laboratory (now part
part of the <a href="http://ssrc.soe.ucsc.edu">Storage Systems Research of the <a href="http://ssrc.soe.ucsc.edu">Storage Systems Research Center</a>),
Center</a>), Jack Baskin School of Engineering, University of California, Jack Baskin School of Engineering, University of California, Santa Cruz.
Santa Cruz. <br> <br>
<b><br> <b><br>
</b>Smartmontools was derived directly from smartsuite </b>Smartmontools was derived directly from smartsuite
. It differs from smartsuite in that it supports the ATA/ATAPI-5 standard. . It differs from smartsuite in that it supports the ATA/ATAPI-5 standard.
So for example <tt>smartctl</tt> from smartsuite has no facility So for example <tt>smartctl</tt> from smartsuite has no facility for
for printing the S.M.A.R.T. self-test logs, and doesn't print timestamp printing the S.M.A.R.T. self-test logs, and doesn't print timestamp information
information in the most usable way. The <tt>smartctl</tt> utility in the most usable way. The <tt>smartctl</tt> utility in smartmontools
in smartmontools has added functionality for this (<tt>-q,-Q,</tt><tt>-L,-f, has added functionality for this (<tt>-q,-Q,</tt><tt>-L,-f, -F and -m</tt>
-F and -m</tt> options), updated documentation, and also fixes small options), updated documentation, and also fixes small technical bugs
technical bugs in smartsuite. &nbsp; See the <a in smartsuite. &nbsp; See the <a
href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/sm5/CHANGELOG">CHANGELOG</a> href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/smartmontools/sm5/CHANGELOG">CHANGELOG</a>
file in CVS for a summary of what's been done. The <tt>smartd</tt> utility file in CVS for a summary of what's been done. The <tt>smartd</tt>
differs from the smartsuite <tt>smartd</tt> in major&nbsp; ways. &nbsp;First, utility differs from the smartsuite <tt>smartd</tt> in major&nbsp; ways.
it prints somewhat more informative error messages to the syslog. &nbsp;Second, &nbsp;First, it prints somewhat more informative error messages to the
on startup it looks for a configuration file <tt>/etc/smartd.conf</tt>, syslog. &nbsp;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 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. &nbsp;[If therein, rather than querying all IDE and SCSI devices on your system.
the configuration file does not exist, then it does query all IDE and SCSI &nbsp;[If the configuration file does not exist, then it does query all
devices.] &nbsp;Finally, it's a well-behaved daemon and doesn't leave open IDE and SCSI devices.] &nbsp;Finally, it's a well-behaved daemon and doesn't
file descriptors and other detrius behind. In addition, the <tt>smartmontools</tt> leave open file descriptors and other detrius behind. In addition, the
version of <tt>smartd</tt> can be instructed (via Directives in the configuration <tt>smartmontools</tt> version of <tt>smartd</tt> can be instructed (via
file) to monitor for changes in a number of different disk properties: Directives in the configuration file) to monitor for changes in a number
the SMART status, failure or prefailure attributes going below threshold, of different disk properties: the SMART status, failure or prefailure
new errors appearing in the ATA Error Log or the SMART Self-Test Log, attributes going below threshold, new errors appearing in the ATA Error
and so on.<br> Log or the SMART Self-Test Log, and so on.<br>
<br> <br>
The other principle difference is that smartmontools is an open-source The other principle difference is that smartmontools is an open-source
development project, meaning that we keep the files in CVS, and that development project, meaning that we keep the files in CVS, and that
...@@ -323,8 +325,8 @@ and so on.<br> ...@@ -323,8 +325,8 @@ and so on.<br>
smartmontools-support</a>.<br> smartmontools-support</a>.<br>
<br> <br>
But the bottom line is that the code in smartmontools is derived But the bottom line is that the code in smartmontools is derived
directly from smartsuite and is similar. The smartsuite package can directly from smartsuite and is similar. The smartsuite package
be found <a href="http://sourceforge.net/projects/smartsuite/">here</a>. can be found <a href="http://sourceforge.net/projects/smartsuite/">here</a>.
&nbsp;<br> &nbsp;<br>
<hr width="100%" size="2"><br> <hr width="100%" size="2"><br>
...@@ -344,8 +346,8 @@ output of smartctl or smartd, please first read the manual pages:<tt>< ...@@ -344,8 +346,8 @@ output of smartctl or smartd, please first read the manual pages:<tt><
</li> </li>
<li><a href="http://www.t13.org/#FTP_site">Earlier <li><a href="http://www.t13.org/#FTP_site">Earlier
and later revisions of the ATAPI/ATA Specs</a></li> and later revisions of the ATAPI/ATA Specs</a></li>
<li>The original S.M.A.R.T. specification is SFF-8035i <li>The original S.M.A.R.T. specification is
from the <a href="http://www.sffcommittee.com/ns/">SFF Committee</a> SFF-8035i from the <a href="http://www.sffcommittee.com/ns/">SFF Committee</a>
. Here is their <a . Here is their <a
href="ftp://ftp.seagate.com/sff/INF-8035.TXT"> "link"</a> .</li> href="ftp://ftp.seagate.com/sff/INF-8035.TXT"> "link"</a> .</li>
<li>The <a href="http://cmrr.ucsd.edu/smart/">UCSD SMART Project</a> <li>The <a href="http://cmrr.ucsd.edu/smart/">UCSD SMART Project</a>
...@@ -386,9 +388,10 @@ has some interesting publications:<br> ...@@ -386,9 +388,10 @@ has some interesting publications:<br>
href="http://www.maxtor.com/products/DiamondMax/software/maxsafe.pdf" href="http://www.maxtor.com/products/DiamondMax/software/maxsafe.pdf"
target="_blank">Drive reliability and safety system: MaxSafe</a> (Maxtor)<br> target="_blank">Drive reliability and safety system: MaxSafe</a> (Maxtor)<br>
</li> </li>
<li><u>Specifying Reliability in the Disk Drive Industry: No More MTBF's</u>, <li><u>Specifying Reliability in the Disk Drive Industry: No More
Jon G. Elerath (IBM Storage Systems Division) in <i>Proceedings of the MTBF's</u>, Jon G. Elerath (IBM Storage Systems Division) in <i>Proceedings
IEEE 2000 Annual Reliability and Maintainability Symposium, pg 194, 0-7803-5848-1/00/$10.00.</i><br> of the IEEE 2000 Annual Reliability and Maintainability Symposium, pg 194,
0-7803-5848-1/00/$10.00.</i><br>
</li> </li>
</ul> </ul>
...@@ -396,8 +399,9 @@ IEEE 2000 Annual Reliability and Maintainability Symposium, pg 194, 0-7803-584 ...@@ -396,8 +399,9 @@ IEEE 2000 Annual Reliability and Maintainability Symposium, pg 194, 0-7803-584
<hr width="100%" size="2"><a name="sampleoutput"></a><b>Example output from <hr width="100%" size="2"><a name="sampleoutput"></a><b>Example output from
smartmontools smartctl utility:</b> smartmontools smartctl utility:</b>
<ul> <ul>
<li> <a href="http://smartmontools.sourceforge.net/MAXTOR-0.html">MAXTOR <li> <a
4K080H4</a>&nbsp; 80 GB 5400 RPM<br> href="http://smartmontools.sourceforge.net/MAXTOR-0.html">MAXTOR 4K080H4</a>&nbsp;
80 GB 5400 RPM<br>
</li> </li>
<li> <a <li> <a
href="http://smartmontools.sourceforge.net/MAXTOR-1.html">MAXTOR 4K080H4</a> href="http://smartmontools.sourceforge.net/MAXTOR-1.html">MAXTOR 4K080H4</a>
...@@ -407,19 +411,21 @@ IEEE 2000 Annual Reliability and Maintainability Symposium, pg 194, 0-7803-584 ...@@ -407,19 +411,21 @@ IEEE 2000 Annual Reliability and Maintainability Symposium, pg 194, 0-7803-584
4K080H4</a> &nbsp;80 GB 5400 RPM &nbsp;(has had failing SMART test in the 4K080H4</a> &nbsp;80 GB 5400 RPM &nbsp;(has had failing SMART test in the
past. &nbsp;Look at the Seek Error Rate)<br> past. &nbsp;Look at the Seek Error Rate)<br>
</li> </li>
<li> <a href="http://smartmontools.sourceforge.net/MAXTOR-3.html">MAXTOR <li> <a
6L080J4</a> &nbsp; &nbsp;80 GB 7200 RPM<br> href="http://smartmontools.sourceforge.net/MAXTOR-3.html">MAXTOR 6L080J4</a>
&nbsp; &nbsp;80 GB 7200 RPM<br>
</li> </li>
<li> <a href="http://smartmontools.sourceforge.net/MAXTOR-4.html">MAXTOR <li> <a
6L080J4</a> &nbsp;&nbsp; 80 GB 7200 RPM<br> href="http://smartmontools.sourceforge.net/MAXTOR-4.html">MAXTOR 6L080J4</a>
&nbsp;&nbsp; 80 GB 7200 RPM<br>
</li> </li>
<li> <a <li> <a
href="http://smartmontools.sourceforge.net/IC35L120AVVA07-0-0.html">IBM href="http://smartmontools.sourceforge.net/IC35L120AVVA07-0-0.html">IBM IC35L120AVVA07</a>
IC35L120AVVA07</a> IBM 120 GB 7200 RPM<br> IBM 120 GB 7200 RPM<br>
</li> </li>
<li> <a <li> <a
href="http://smartmontools.sourceforge.net/IC35L120AVVA07-0-1.html">IBM href="http://smartmontools.sourceforge.net/IC35L120AVVA07-0-1.html">IBM IC35L120AVVA07</a>
IC35L120AVVA07</a> IBM 120 GB 7200 RPM</li> IBM 120 GB 7200 RPM</li>
<li> <a <li> <a
href="http://smartmontools.sourceforge.net/HITACHI_DK23BA-20-0.html">HITACHI_DK23BA-20</a> href="http://smartmontools.sourceforge.net/HITACHI_DK23BA-20-0.html">HITACHI_DK23BA-20</a>
Hitachi 20 GB Laptop Disk<br> Hitachi 20 GB Laptop Disk<br>
...@@ -450,5 +456,6 @@ Hitachi 20 GB Laptop Disk<br> ...@@ -450,5 +456,6 @@ Hitachi 20 GB Laptop Disk<br>
<br> <br>
<br> <br>
<br> <br>
<br>
</body> </body>
</html> </html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment