SMARTCTL 8  "September 13, 2001" "SmartCtl-2.1"

NAME SmartCtl - S.M.A.R.T. control utility

SYNOPSIS
  SmartCtl [-acdeglostv] [device]

DESCRIPTION
  SmartCtl controls the Self-Monitoring, Analysis and Reporting Technology
  System (S.M.A.R.T.) built into ATA-3 and later IDE Hard Drives.
  This is used to check the reliability of the hard drive and predict drive
  failures.
  SmartCtl is command line utility designed to perform simple S.M.A.R.T. tasks.


OPTIONS
  SmartCtl accepts two agruments, options and device in respective order. The
  options begin with a '-' and multiple options should be begun with a single
  '-'. The second argument is the device to be controled. A single digit selects
  the n-th hard disk, beginning with 0. Specific hard disks are select by their
  adapter number (single digit) plus the cahracters 'm' (master) or 's' (slave).

  i  Check if the device supports S.M.A.R.T
  c  Check if device has any S.M.A.R.T. Warranty  Failures
  g  Prints only the generic S.M.A.R.T. attributes
  v  Prints only the vendor specific S.M.A.R.T. attributes
  t  Prints only the vendor specific S.M.A.R.T. thresholds
  l  Prints only the S.M.A.R.T. error log
  a  Prints all parameters for c,i,g,v,t,l

  e  Enables S.M.A.R.T. on device
  d  Disables S.M.A.R.T. on device
  t  Enables S.M.A.R.T. automatic offline self test timer which scans the
     drive every four hours for disk defects.
  T  Disables S.M.A.R.T. automatic offline self test timer

  O  Runs S.M.A.R.T. Immediate off-line Test
  S  Runs S.M.A.R.T. Short Self Test ( usually under ten minutes)
  s  Runs S.M.A.R.T. Short Self Test in Captive Mode.
    (WARNING: This test will busy out drive for length of test. Only run this
     on drives without any mounted partitions.)
  X  Runs S.M.A.R.T. Extended Self Test ( tens of minutes)
  x  Runs S.M.A.R.T. Extended Self Test in Captive Mode.
    (WARNING: This test will busy out drive for length of test. Only run this
     on drives without any mounted partitions.)
  A  Aborts Non-Captive S.M.A.R.T. Tests.


EXAMPLES

  SmartCtl -a 0m
  - prints all S.M.A.R.T. information for drive Primary Master

  SmartCtl -d 1s
  - disable S.M.A.R.T. on Secondary Slave

AUTHOR
  Michael Cornwell,
  cornwell@acm.org
  Concurrent Systems Laboratory
  Jack Baskin School of Engineering
  University of California Santa Cruz
  http://csl.cse.ucsc.edu/

  OS/2 Port
  Daniela Engert
  dani@ngrt.de


