Skip to content
Snippets Groups Projects
Commit 824a341c authored by ballen4705's avatar ballen4705
Browse files

Added path details and how to remove rpm with --noscripts

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@40 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent c51c2b99
Branches
No related tags found
No related merge requests found
...@@ -3,40 +3,43 @@ ...@@ -3,40 +3,43 @@
<head> <head>
<title>smartmontools Home Page</title> <title>smartmontools Home Page</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<meta name="author" content="Bruce Allen"> <meta name="author" content="Bruce Allen">
<meta name="description" content="SMART S.M.A.R.T. linux disk monitoring"> <meta name="description"
content="SMART S.M.A.R.T. linux disk monitoring">
</head> </head>
<body> <body>
<div align="center"> <div align="center">
<h1><font color="#3333ff">smartmontools HOME PAGE &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; </font> <h1><font color="#3333ff">smartmontools HOME PAGE &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
</font> <a href="http://sourceforge.net"><img
<a href="http://sourceforge.net"><img
src="http://sourceforge.net/sflogo.php?group_id=64297&amp;type=5" src="http://sourceforge.net/sflogo.php?group_id=64297&amp;type=5"
width="210" height="62" border="0" alt="SourceForge.net Logo" width="210" height="62" border="0" alt="SourceForge.net Logo"
align="middle"> align="middle">
</a> </a> </h1>
</h1>
</div> </div>
<div align="left">This is the home page for smartmontools. &nbsp;The smartmontools <div align="left">This is the home page for smartmontools. &nbsp;The smartmontools
package contains two utility programs (<font color="#3333ff"><b>smartctl</b></font> package contains two utility programs (<font color="#3333ff"><b>smartctl</b></font>
and <font color="#3333ff"><b>smartd</b></font>) to control and and <font color="#3333ff"><b>smartd</b></font>) to control and
monitor storage systems using the Self-Monitoring, Analysis and Reporting 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 Technology System (S.M.A.R.T.) built into most modern ATA and SCSI
disks. It is derived from the smartsuite package, and includes support hard disks. It is derived from the smartsuite package, and includes support
for ATA/ATAPI-5 disks. It should run on any modern linux system.<br> for ATA/ATAPI-5 disks. It should run on any modern linux system.<br>
<br> <br>
For your convenience, this is a single page, so you can print it easily.<br> For your convenience, this is a single page, so you can print it
easily.<br>
<hr width="100%" size="2"> <hr width="100%" size="2">
<ul> <ul>
<li><a href="#howtodownload">How to download and install smartmontools</a></li> <li><a href="#howtodownload">How to download and install smartmontools</a></li>
<li><a href="#FAQ">Frequently Asked Questions</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="#testinghelp">The code needs to be tested on SCSI
disks/tapes</a></li>
<li><a href="#differfromsmartsuite">How does smartmontools differ <li><a href="#differfromsmartsuite">How does smartmontools differ
from smartsuite?</a></li> from smartsuite?</a></li>
<li><a href="#references">Useful references on S.M.A.R.T. <li><a href="#references">Useful references on S.M.A.R.T.
...@@ -59,9 +62,9 @@ Mailing list and archives</a> for smartmontools support<br> ...@@ -59,9 +62,9 @@ Mailing list and archives</a> for smartmontools support<br>
</b><b><a name="howtodownload"></a></b><b> How to download and install </b><b><a name="howtodownload"></a></b><b> How to download and install
smartmontools<br> smartmontools<br>
</b>There are three different ways to get and install smartmontools. </b>There are three different ways to get and install smartmontools.
&nbsp;You can use any one of these three procedures. &nbsp;Just after "Method &nbsp;You can use any one of these three procedures. &nbsp;Just after
3" below are some instructions for trying out smartmontools once you have "Method 3" below are some instructions for trying out smartmontools once
completed the installation.<br> you have completed the installation.<br>
<ol> <ol>
<li><b>First Method - Install from the RPM file:</b><br> <li><b>First Method - Install from the RPM file:</b><br>
...@@ -73,13 +76,18 @@ completed the installation.<br> ...@@ -73,13 +76,18 @@ completed the installation.<br>
. &nbsp;Don't get the SRPM file (<tt>*.src.rpm</tt>).</li> . &nbsp;Don't get the SRPM file (<tt>*.src.rpm</tt>).</li>
<li>Install it using RPM. &nbsp;You must be root to do this:<br> <li>Install it using RPM. &nbsp;You must be root to do this:<br>
<tt>su root</tt> &nbsp;(enter root password)<br> <tt>su root</tt> &nbsp;(enter root password)<br>
<tt>rpm -ivh smartmontools-5.0-1.i386.rpm</tt></li> <tt>rpm -ivh smartmontools-5.0-1.i386.rpm<br>
</tt>For most users, this is all that is needed.<br>
</li>
<li>If you receive an error message, you have probably previously <li>If you receive an error message, you have probably previously
installed the <tt>smartsuite</tt> package, or RedHat's kernel-utils package, installed the <tt>smartsuite</tt> package, or RedHat's kernel-utils package,
which provide older versions of the <tt>smartd</tt> and <tt>smartctl</tt> which provide older versions of the <tt>smartd</tt> and <tt>smartctl</tt>
utilities. &nbsp;In this case you should use the <tt>--nodeps</tt> or utilities. &nbsp;In this case you should use the <tt>--nodeps</tt>
<tt> --force</tt> arguments of rpm to replace these two utilities:<br> or <tt> --force</tt> arguments of rpm to replace these two utilities:<br>
<tt>rpm -ivh --nodeps --force smartmontools-5.0-1.i386.rpm</tt><br> <tt>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-5.0-1</tt>
) and your system does not have <tt>chkconfig</tt> installed, you may need
to use the <tt>--noscripts</tt> option to <tt>rpm -e</tt>.<br>
</li> </li>
</ul> </ul>
...@@ -105,9 +113,9 @@ recent release)<br> ...@@ -105,9 +113,9 @@ recent release)<br>
<li><b>Third Method - Download code directly from the CVS archive:</b><br> <li><b>Third Method - Download code directly from the CVS archive:</b><br>
<ul> <ul>
<li>Download the latest code snapshot from CVS. If prompted for a <li>Download the latest code snapshot from CVS. If prompted for
password, simply press the Enter key. &nbsp;Note that the two lines below a password, simply press the Enter key. &nbsp;Note that the two lines
that start "<tt>cvs</tt>" are long! <br> below that start "<tt>cvs</tt>" are long! <br>
<tt>cvs -d:pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools <tt>cvs -d:pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools
login</tt> <tt><br> login</tt> <tt><br>
cvs -z3 -d:pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools cvs -z3 -d:pserver:anonymous@cvs.smartmontools.sourceforge.net:/cvsroot/smartmontools
...@@ -125,16 +133,20 @@ that start "<tt>cvs</tt>" are long! <br> ...@@ -125,16 +133,20 @@ that start "<tt>cvs</tt>" are long! <br>
</li> </li>
</ol> </ol>
<b>After installing using Method 1, 2 or 3 above, you can read the <b>After installing using Method 1, 2 or 3 above, you can read
man pages, and try out the commands:</b><br> the man pages, and try out the commands:</b><br>
<blockquote> <blockquote>
<blockquote><tt>man 8 smartctl</tt><br> <blockquote><tt>man 8 smartctl</tt><br>
<tt>man 8 smartd</tt><br> <tt>man 8 smartd</tt><br>
<tt>smartctl -etf /dev/hda &nbsp;</tt>[only root can do this]<br> <tt>/usr/sbin/smartctl -etf /dev/hda &nbsp;</tt>[only root can do
<tt>smartctl -a /dev/hda &nbsp; &nbsp;</tt>[only root can do this]</blockquote> this]<br>
<tt>/usr/sbin/smartctl -a /dev/hda &nbsp; &nbsp;</tt>[only root
can do this]</blockquote>
</blockquote> </blockquote>
Note that the default location for the manual pages is in <tt>/usr/share/man/man8</tt>
. &nbsp;If "man" does not find the manual pages, then you may need to add
<tt>/usr/share/man</tt> to your <tt>MANPATH</tt> environment variable.<br>
<hr width="100%" size="2"><br> <hr width="100%" size="2"><br>
<br> <br>
<a name="FAQ"></a><b>Frequently-asked questions<br> <a name="FAQ"></a><b>Frequently-asked questions<br>
...@@ -151,29 +163,29 @@ smartmontools-support mailing list</a>.<br> ...@@ -151,29 +163,29 @@ smartmontools-support mailing list</a>.<br>
<li><b>What are the future plans for smartmontools?</b><br> <li><b>What are the future plans for smartmontools?</b><br>
My plan is that smartmontools-5.x will support ATA/ATAPI-5 disks. My plan is that smartmontools-5.x will support ATA/ATAPI-5 disks.
&nbsp;Eventually, we'll do smartmontools-6.x to support ATA/ATAPI-6 disks, &nbsp;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. &nbsp;The smartmontools-7.x for the ATA/ATAPI-7 standard, and so on. &nbsp;The "x"
"x" will denote revision level, as bugs get found and fixed, and as enhancements will denote revision level, as bugs get found and fixed, and as enhancements
get added. &nbsp; If it's possible to maintain backwards compatibility, get added. &nbsp; If it's possible to maintain backwards compatibility,
that would be nice, but I don't know if it will be possible or practical.</li> that would be nice, but I don't 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 ATA-5 disks. &nbsp;We My research group runs a beowulf cluster with 300 ATA-5 disks. &nbsp;We
have more than 20 TB of data stored on the system. &nbsp;It's nice to have more than 20 TB of data stored on the system. &nbsp;It's nice to have
have advanced warning when a disk is going to fail.</li> advanced warning when a disk is going to fail.</li>
<li><b>I see some strange output from smartctl. &nbsp;What does it <li><b>I see some strange output from smartctl. &nbsp;What does
mean?</b><br> it mean?</b><br>
The raw S.M.A.R.T. attributes (temperature, power-on lifetime, and The raw S.M.A.R.T. attributes (temperature, power-on lifetime, and
so on) are stored in vendor-specific structures. &nbsp;Sometime these are so on) are stored in vendor-specific structures. &nbsp;Sometime these are
strange. &nbsp;Hitachi disks (at least some of them) store power-on lifetime strange. &nbsp;Hitachi disks (at least some of them) store power-on lifetime
in minutes, rather than hours. &nbsp;IBM disks (at least some of them) have in minutes, rather than hours. &nbsp;IBM disks (at least some of them)
three temperatures stored in the raw structure, not just one. And so on. have three temperatures stored in the raw structure, not just one. And so
&nbsp;If you find strange output, or unknown attributes, please send an email on. &nbsp;If you find strange output, or unknown attributes, please send
to <a an email to <a
href="ttp://lists.sourceforge.net/mailman/listinfo/smartmontools-support"> href="ttp://lists.sourceforge.net/mailman/listinfo/smartmontools-support">
smartmontools-support</a> and we'll help you try and figure it out.</li> smartmontools-support</a> and we'll help you try and figure it out.</li>
<li><b>What attributes does smartmontools not yet recognize?<br> <li><b>What attributes does smartmontools not yet recognize?<br>
</b>From a Hitachi disk: (221)(223)(225)(230)(250)<br> </b>From a Hitachi disk: (221)(223)(225)(230)(250)<br>
If you can attach names/meanings to these attributes, please send me If you can attach names/meanings to these attributes, please send
a note to <a me a note to <a
href="ttp://lists.sourceforge.net/mailman/listinfo/smartmontools-support"> href="ttp://lists.sourceforge.net/mailman/listinfo/smartmontools-support">
smartmontools-support</a>.</li> smartmontools-support</a>.</li>
<li><b>When I run <tt>smartd</tt> , the SYSLOG (<tt>/var/log/messages</tt> <li><b>When I run <tt>smartd</tt> , the SYSLOG (<tt>/var/log/messages</tt>
...@@ -184,8 +196,8 @@ smartmontools-support</a>.</li> ...@@ -184,8 +196,8 @@ smartmontools-support</a>.</li>
ATA and SCSI devices to monitor (matching the pattern <tt>/dev/hd[a-z]</tt> ATA and SCSI devices to monitor (matching the pattern <tt>/dev/hd[a-z]</tt>
or <tt>/dev/sd[a-z]</tt>). &nbsp;The log messages appear because your or <tt>/dev/sd[a-z]</tt>). &nbsp;The log messages appear because your
system doesn't have most of these devices.<br> system doesn't have most of these devices.<br>
A future release of smartd will have a command-line option to specify which A future release of smartd will have a command-line option to specify
devices to include or exclude from start-up search.<br> which devices to include or exclude from start-up search.<br>
</li> </li>
</ul> </ul>
...@@ -196,15 +208,15 @@ system doesn't have most of these devices.<br> ...@@ -196,15 +208,15 @@ system doesn't have most of these devices.<br>
but I don't have any access to systems with SCSI S.M.A.R.T. devices. &nbsp;I'd but I don't have any access to systems with SCSI S.M.A.R.T. devices. &nbsp;I'd
be very grateful to find someone who could help me test the smartmontools be very grateful to find someone who could help me test the smartmontools
code on SCSI disks. &nbsp;Since it's derived from the smartsuite package, code on SCSI disks. &nbsp;Since it's derived from the smartsuite package,
it should initially work about the same way with SCSI devices as the smartsuite it should initially work about the same way with SCSI devices as the
tools did.<br> smartsuite tools did.<br>
<br> <br>
I'd be especially happy if someone would like to take on the task, I'd be especially happy if someone would like to take on the task,
as a developer, of maintaining the SCSI code. &nbsp;Do you have a beowulf as a developer, of maintaining the SCSI code. &nbsp;Do you have a beowulf
cluster with a few hundred SCSI disks? Please volunteer!<br> cluster with a few hundred SCSI disks? 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>Initially, only in that it supports the ATA/ATAPI-5 standard. </b>Initially, only in that it supports the ATA/ATAPI-5 standard.
&nbsp;So for example <tt>smartctl</tt> from smartsuite has no facility &nbsp;So for example <tt>smartctl</tt> from smartsuite has no facility
for printing the self-test logs, and doesn't print timestamp information for printing the self-test logs, and doesn't print timestamp information
...@@ -212,9 +224,9 @@ in the most usable way. But smartmontools is derived directly from smartsuite ...@@ -212,9 +224,9 @@ in the most usable way. But smartmontools is derived directly from smartsuite
and is very similar. <br> and is very similar. <br>
<br> <br>
The other principle difference is that I'd like to have smartmontools The other principle difference is that I'd like to have smartmontools
be a true open-source project, meaning that we keep the files in CVS, be a true open-source project, meaning that we keep the files in CVS, and
and that other developers who wish to contribute can commit changes to that other developers who wish to contribute can commit changes to the
the archive.<br> archive.<br>
<hr width="100%" size="2"><br> <hr width="100%" size="2"><br>
<a name="references"></a><big><b>Useful references on S.M.A.R.T. <a name="references"></a><big><b>Useful references on S.M.A.R.T.
...@@ -229,8 +241,8 @@ references may be helpful:<br> ...@@ -229,8 +241,8 @@ references may be helpful:<br>
<ul> <ul>
<li>The <a href="http://www.t13.org/project/d1321r1c.pdf">ATAPI/ATA-5 <li>The <a href="http://www.t13.org/project/d1321r1c.pdf">ATAPI/ATA-5
Revision 1 specification</a></li> Revision 1 specification</a></li>
<li><a href="http://www.t13.org/#FTP_site">Earlier and later revisions <li><a href="http://www.t13.org/#FTP_site">Earlier and later
of the ATAPI/ATA specifications</a></li> revisions of the ATAPI/ATA specifications</a></li>
<li>The S.M.A.R.T. specification is SFF-8035i (rev E). &nbsp;I <li>The S.M.A.R.T. specification is SFF-8035i (rev E). &nbsp;I
can not find an on-line reference. It can be obtained from the <a can not find an on-line reference. It can be obtained from the <a
href="http://www.sffcommittee.com/ns/">Small Form Factors Committee</a> href="http://www.sffcommittee.com/ns/">Small Form Factors Committee</a>
...@@ -247,7 +259,6 @@ can not find an on-line reference. It can be obtained from the <a ...@@ -247,7 +259,6 @@ can not find an on-line reference. It can be obtained from the <a
<hr width="100%" size="2">Page maintained by <a <hr width="100%" size="2">Page maintained by <a
href="mailto:smartmontools-support@lists.sourceforge.net">Bruce Allen</a><br> href="mailto:smartmontools-support@lists.sourceforge.net">Bruce Allen</a><br>
<big> </big></div> <big> </big></div>
</div>
</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