Skip to content
Snippets Groups Projects
Select Git revision
  • d45dcdf5eada43b91a71bbfd08d81f18b0ce6232
  • trunk
  • RELEASE_6_5_DRIVEDB
  • RELEASE_6_6_DRIVEDB
  • RELEASE_7_0_DRIVEDB
  • RELEASE_7_2_DRIVEDB
  • RELEASE_7_3_DRIVEDB
  • RELEASE_6_0_DRIVEDB
  • RELEASE_6_1_DRIVEDB
  • RELEASE_6_2_DRIVEDB
  • RELEASE_6_3_DRIVEDB
  • RELEASE_6_4_DRIVEDB
  • tags/RELEASE_7_4
  • tags/RELEASE_7_3
  • RELEASE_5_41_DRIVEDB
  • RELEASE_5_42_DRIVEDB
  • RELEASE_5_43_DRIVEDB
  • tags/RELEASE_7_2
  • tags/RELEASE_7_1
  • tags/RELEASE_7_0
  • RELEASE_5_40_DRIVEDB
21 results

sm5

user avatar
ballen4705 authored
git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@353 4ea69e1a-61f1-4043-bf83-b5c94c648137
d45dcdf5
History
===============================================
SMARTMONTOOLS - SMART utility toolset for Linux
===============================================

== HOME ==
The home for smartmontools is located at:
    http://smartmontools.sourceforge.net
Please see this web site for updates, documentation, and for
submitting patches and bug reports.

You will find a mailing list for support and other questions at:
http://lists.sourceforge.net/lists/listinfo/smartmontools-support


== COPYING ==
Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net>

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.

You should have received a copy of the GNU General Public License (for
example COPYING); if not, write to the Free Software Foundation, Inc., 675
Mass Ave, Cambridge, MA 02139, USA.


== CREDITS ==
This code was originally developed as a Senior Thesis by Michael Cornwell
at the Concurrent Systems Laboratory (now part of the Storage Systems
Research Center), Jack Baskin School of Engineering, University of
California, Santa Cruz. http://ssrc.soe.ucsc.edu/


== OVERVIEW ==
SMARTMONTOOLS contains utilities that control and monitor storage
devices using the Self-Monitoring, Analysis and Reporting Technology
(S.M.A.R.T.) system build into ATA and SCSI Hard Drives. This is used
to check the reliability of the hard drive and to predict drive
failures.  SMARTMONTOOLS Version 5.x is designed to comply to the
ATA/ATAPI-5 specification (Revision 1).  Future releases of
SMARTMONTOOLS (Versions 6.x and 7.x) will comply with the ATA/ATAPI-6
and ATA/ATAPI-7 specifications.

This package is meant to be an up-to-date replacement for the
ucsc-smartsuite and smartsuite packages, and is derived from that
code.


== CONTENTS ==
The suite contains two utilities:

smartctl is a command line utility designed to perform
         S.M.A.R.T. tasks.such as disk self-checks, and to
         report the S.M.A.R.T. status of the disk.

smartd   is a daemon that periodically monitors S.M.A.R.T. status and
         reports errors and changes in S.M.A.R.T. attributes to syslog.

SEE THE FILE "WARNINGS" FOR REPORTS OF HARDWARE WHERE THESE UTILITIES MIGHT
CAUSE SERIOUS PROBLEMS SUCH AS LOCKUPS.

If you have just downloaded smartmontools from the URL above, then
you can read about these commands using the man pages.  Within this
directory the commands:
  man ./smartctl.8
and
  man ./smartd.8

will display the manual pages for the two commands.  If you have
already installed the package on your system, then:
  man smartctl
and
  man smartd
will display the same information.


== INSTALLATION ==
To install, use the commands:
  make
  make install
The tools require Linux kernel 2.2.14 or greater in order to run. Any
recent Linux distribution should support this package.
 
Fourteen files are installed:
/usr/sbin/smartd                               [Executable daemon]
/usr/sbin/smartctl                             [Executable command-line utility]
/etc/rc.d/init.d/smartd                        [Init/Startup script for smartd]
/usr/share/man/man8/smartctl.8.gz              [Manual page]
/usr/share/man/man8/smartd.8.gz                [Manual page]
/usr/share/man/man5/smartd.conf.5.gz           [Manual page]
/usr/share/doc/smartmontools-5.0/README        [What you are reading!]
/usr/share/doc/smartmontools-5.0/TODO          [Things that need to be done/fixed]
/usr/share/doc/smartmontools-5.0/CHANGELOG     [A log of changes. Also see CVS]
/usr/share/doc/smartmontools-5.0/COPYING       [GNU Public License.] 
/usr/share/doc/smartmontools-5.0/VERSION       [Version number]
/usr/share/doc/smartmontools-5.0/WARNINGS      [Systems where lockups or other serious problems reported]
/usr/share/doc/smartmontools-5.0/smartd.conf   [Example Configuration file for /etc/]
/etc/smartd.conf.example                       [Example Configuration file for /etc/]

Source and binary RPM files are available at the website listed above.

PLEASE READ THE MANUAL PAGES FOR SMARTCTL AND SMARTD FOR MORE INFORMATION.


== PROPOSED OPTION NAMES FOR SMARTCTL ==
The following is a list of proposed options to replace the existing options in
smartctl.  If you have any comments or would like to suggest improvements then
please post to the smartmontools mailing list.

  -h, --help, --usage
        Show usage and syntax help

  -V, --version, --copyright, --license
        Show version, copyright, and license info then exit

  -q MODE, --quietmode=MODE
        Set the quiet mode to one of: errorsonly, silent

  -d TYPE, --device=TYPE
        Set the device type to one of: ata, scsi

  -T TYPE, --tolerance=TYPE
        Set tolerance level to one of:
                normal       - Exit if a mandatory SMART command fails [DEFAULT]
                conservative - Exit if any SMART command fails
                permissive   - Continue even if a mandatory SMART command fails

  -b TYPE, --badsum=TYPE
        Action to take on a bad checksum.  TYPE and its meaning are:
                warn   - Issue a warning, but continue [DEFAULT] 
                exit   - Exit smartctl
                ignore - Continue silently without issuing a warning [NEW]

  -s VALUE, --smart=VALUE
        Enable/disable SMART.  VALUE is one of: on, off 

  -o VALUE, --offlineauto=VALUE
        Enable/disable automatic offline testing.  VALUE is one of: on, off 

  -S VALUE, --saveauto=VALUE
        Enable/disable attribute autosave.  VALUE is one of: on, off 

  -H, --health
        Show SMART health status

  -c, --capabilities
        Show SMART capabilities

  -A, --attributes
        Show SMART vendor-specific attributes and values.

  -l TYPE, --log=TYPE
        Show device log. Type is one of: error, selftest

  -i, --info
        Show drive information

  -a, --all
        Show all SMART information.  Equivalent to -HcAi -l error -l selftest

  -v N,OPTION , --vendorattribute=N,OPTION
        Set vendor specific OPTION for attribute N.  Currently supported are:

                  N     OPTION          Effect
                -----------------------------------------------------------
                009     minutes         Display in minutes instead of hours

        Note that in the future this option may be used multiple times
        with different arguments, to modify options for different
        attributes.

  -t TEST, --test=TEST
        Perform TEST immediately.  TEST is one of: offline, short, long

  -C, --captive
        When used with -t, performs test in captive mode.  Has no effect on
        offline test, or when used without -t option.

  -X, --abort
        Abort any non-captive test

The following table shows the mapping of old options to new options:

  ---------------------------------------------------------------------------------------------------------------------
  Old option    New short option        New long option                    smartd.conf               smartd.conf
  Versions <=   Versions >=             Versions >=                        Directive                 Directive
  5.0-X         5.0-Y                   5.0-Y                              <= 5.0-X                  >= 5.0-Y
  ---------------------------------------------------------------------------------------------------------------------
  -h, -?        -h, -?                  --help
  -V            -V                      --version, --copyright, --license
  -i            -i                      --info                                                          CONFLICT
  -q            -q errorsonly           --quietmode=errorsonly
  -Q            -q silent               --quietmode=silent
  -n            -d ata                  --device=ata                       -A				-d ata     			
  -N            -d scsi                 --device=scsi                      -S                           -d scsi
  -P            -T permissive           --tolerance=permissive             -P                           -T permissive
  -U            -T conservative         --tolerance=conservative
  -W            -b                      --badsum=exit
  -e            -s on                   --smart=on
  -d            -s off                  --smart=off
  -t            -o on                   --offlineauto=on                   -T 1                         -o on
  -T            -o off                  --offlineauto=off                  -T 0                         -o off
  -f            -S on                   --saveauto=on                      -s 1                         -S on
  -F            -S off                  --saveauto=off                     -s 0                         -S off
  -c            -H                      --health                           -c                           -H
  -g            -c                      --capabilities
  -v            -A                      --attributes                       -p, -u, -f, -t               -p, -u, -t
  -l            -l error                --log=error                        -l                           -l error
  -L            -l selftest             --log=selftest                     -L                           -l selftest
  -a            -a                      --all                              -a                           -a
  -m            -v 9,minutes            --vendorattribute=9,minutes
  -O            -t offline              --test=offline
  -S            -t short                --test=short
  -s            -t short -C             --test=short --captive
  -X            -t long                 --test=long
  -x            -t long -C              --test=long --captive
  -A            -X                      --abort

                                   SHOULD BECOME COMMAND-LINE ARGUMENT==>  -C N    Set checktime        NOW CMD LINE
                                                                           -f      usage attributes     -f
                                                    
                                                                           -M ADD  Email addresses     -M ADD
                                                                           -m N    Email mode          -m MODE
                                                                           -i N    Ignore              -i N
                                                                           -I N    Ignore              -I N
                                                                            #      Comment              #
                                                                            \      Line continuation    \
  ---------------------------------------------------------------------------------------------------------------------

Suggested change order (CVS commit at least after each of these):
Modify smartctl command-line options
Modify smartctl man page, README file, CHANGELOG
Modify smartd to take -C out of config file, put onto command line
Modify smartd and smartd.conf man pages, README file, CHANGELOG
Modify smartd Directive names, parsing
Modify smartd and smartd.conf man pages, README file, CHANGELOG