Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

smartctl(8) [redhat man page]

SMARTCTL(8)						      System Manager's Manual						       SMARTCTL(8)

NAME
smartctl - S.M.A.R.T. control utility SYNOPSIS
smartctl [-cdeglostv] [device] DESCRIPTION
smartctl controls the Self-Monitoring, Analysis and Reporting Technology System(S.M.A.R.T.) built into ATA-3 and later IDE and SCSI-3 Hard Drives. This is used to check the reliability of the hard drive and predict drive failures. TapeAlerts support for SCSI tape drives and changers 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. ATA device use the form "/dev/hd*" and SCSI devices use the form "/dev/sd*". SCSI devices use only options a,i,c,e,d. For SCSI Tape Drives and Changers with TapeAlerts support use the form "/dev/st*" and "/dev/sg*". TapeAlerts devices use only a,i,c,e,d. 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 (for SCSI c,i) 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 /dev/hda - prints all S.M.A.R.T. infomration for drive /dev/hda (Primary Master) smartctl -d /dev/hdd - disable S.M.A.R.T. on drive /dev/hdd (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/ smartctl-2.1 September 13, 2001 SMARTCTL(8)

Check Out this Related Man Page

HD(4)							     Linux Programmer's Manual							     HD(4)

NAME
hd - MFM/IDE hard disk devices DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave hdd. General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi- cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions on an IDE disk. For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the second one. They are typically created by: mknod -m 660 /dev/hda b 3 0 mknod -m 660 /dev/hda1 b 3 1 mknod -m 660 /dev/hda2 b 3 2 ... mknod -m 660 /dev/hda8 b 3 8 mknod -m 660 /dev/hdb b 3 64 mknod -m 660 /dev/hdb1 b 3 65 mknod -m 660 /dev/hdb2 b 3 66 ... mknod -m 660 /dev/hdb8 b 3 72 chown root:disk /dev/hd* FILES
/dev/hd* SEE ALSO
chown(1), mknod(1), sd(4), mount(8) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 1992-12-17 HD(4)
Man Page