Engineering:S.M.A.R.T.

From HandWiki
Short description: Monitoring system in computer drives

S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology; often written as SMART) is a monitoring system included in computer hard disk drives (HDDs) and solid-state drives (SSDs).[1] Its primary function is to detect and report various indicators of drive reliability with the intent of anticipating imminent hardware failures.

When S.M.A.R.T. data indicates a possible imminent drive failure, software running on the host system may notify the user so preventive action can be taken to prevent data loss, and the failing drive can be replaced and data integrity maintained.

Background

Hard disk and other storage drives are subject to failures (see hard disk drive failure) which can be classified within two basic classes:

  • Predictable failures which result from slow processes such as mechanical wear and gradual degradation of storage surfaces. Monitoring can determine when such failures are becoming more likely.
  • Unpredictable failures which occur without warning due to anything from electronic components becoming defective to a sudden mechanical failure, including failures related to improper handling.

Mechanical failures account for about 60% of all drive failures.[2] While the eventual failure may be catastrophic, most mechanical failures result from gradual wear and there are usually certain indications that failure is imminent. These may include increased heat output, increased noise level, problems with reading and writing of data, or an increase in the number of damaged disk sectors.

PCTechGuide's page on S.M.A.R.T. (2003) comments that the technology has gone through three phases:[3]

In its original incarnation S.M.A.R.T. provided failure prediction by monitoring certain online hard drive activities.

A subsequent version of the standard improved failure prediction by adding an automatic off-line read scan to monitor additional operations. online attributes are always updated while the offline attributes get updated when the HDD is not under working condition. If there is an immediate need to update the offline attributes, the HDD slows down and the offline attributes get updated. The latest "S.M.A.R.T." technology not only monitors hard drive activities but adds failure prevention by attempting to detect and repair sector errors.

Also, while earlier versions of the technology only monitored hard drive activity for data that was retrieved by the operating system, this latest S.M.A.R.T. tests all data and all sectors of a drive by using "off-line data collection" to confirm the drive's health during periods of inactivity.

Accuracy

A field study at Google[4] covering over 100,000 consumer-grade drives from December 2005 to August 2006 found correlations between certain S.M.A.R.T. information and annualized failure rates:

  • In the 60 days following the first uncorrectable error on a drive (S.M.A.R.T. attribute 0xC6 or 198) detected as a result of an offline scan, the drive was, on average, 39 times more likely to fail than a similar drive for which no such error occurred.
  • First errors in reallocations, offline reallocations (S.M.A.R.T. attributes 0xC4 and 0x05 or 196 and 5) and probational counts (S.M.A.R.T. attribute 0xC5 or 197) were also strongly correlated to higher probabilities of failure.
  • Conversely, little correlation was found for increased temperature and no correlation for usage level. However, the research showed that a large proportion (56%) of the failed drives failed without recording any count in the "four strong S.M.A.R.T. warnings" identified as scan errors, reallocation count, offline reallocation and probational count.
  • Further, 36% of failed drives did so without recording any S.M.A.R.T. error at all, except the temperature, meaning that S.M.A.R.T. data alone was of limited usefulness in anticipating failures.[5]

History and predecessors

An early hard disk monitoring technology was introduced by IBM in 1992 in its IBM 9337 Disk Arrays for AS/400 servers using IBM 0662 SCSI-2 disk drives.[6] Later it was named Predictive Failure Analysis (PFA) technology. It was measuring several key device health parameters and evaluating them within the drive firmware. Communications between the physical unit and the monitoring software were limited to a binary result: namely, either "device is OK" or "drive is likely to fail soon".

Later, another variant, which was named IntelliSafe, was created by computer manufacturer Compaq and disk drive manufacturers Seagate, Quantum, and Conner.[7] The disk drives would measure the disk's "health parameters", and the values would be transferred to the operating system and user-space monitoring software. Each disk drive vendor was free to decide which parameters were to be included for monitoring, and what their thresholds should be. The unification was at the protocol level with the host.

Compaq submitted IntelliSafe to the Small Form Factor (SFF) committee for standardization in early 1995.[8] It was supported by IBM, by Compaq's development partners Seagate, Quantum, and Conner, and by Western Digital, which did not have a failure prediction system at the time. The Committee chose IntelliSafe's approach, as it provided more flexibility. Compaq placed IntelliSafe into the public domain on 12 May 1995.[9] The resulting jointly developed standard was named S.M.A.R.T..

That SFF standard described a communication protocol for an ATA host to use and control monitoring and analysis in a hard disk drive, but did not specify any particular metrics or analysis methods. Later, "S.M.A.R.T." came to be understood (though without any formal specification) to refer to a variety of specific metrics and methods and to apply to protocols unrelated to ATA for communicating the same kinds of things.

Provided information

mSATA SSD with SandForce SF-2281 Controller (Intel 525 mSATA SSD)

The technical documentation for S.M.A.R.T. is in the AT Attachment (ATA) standard. First introduced in 1994,[10] the ATA standard has gone through multiple revisions. Some parts of the original S.M.A.R.T. specification by the Small Form Factor (SFF) Committee were added to ATA-3,[11] published in 1997. In 1998 ATA-4 dropped the requirement for drives to maintain an internal attribute table and instead required only for an "OK" or "NOT OK" value to be returned.[11] Albeit, manufacturers have kept the capability to retrieve the attributes' value. The most recent ATA standard, ATA-8, was published in 2004.[12] It has undergone regular revisions,[13] the latest being in 2011.[14] Standardization of similar features on SCSI is more scarce and is not named as such on standards, although vendors and consumers alike do refer to these similar features at S.M.A.R.T. too.[15]

The most basic information that S.M.A.R.T. provides is the S.M.A.R.T. status. It provides only two values: "threshold not exceeded" and "threshold exceeded". Often these are represented as "drive OK" or "drive fail" respectively. A "threshold exceeded" value is intended to indicate that there is a relatively high probability that the drive will not be able to honor its specification in the future: that is, the drive is "about to fail". The predicted failure may be catastrophic or may be something as subtle as the inability to write to certain sectors, or perhaps slower performance than the manufacturer's declared minimum.

The S.M.A.R.T. status does not necessarily indicate the drive's past or present reliability. If a drive has already failed catastrophically, the S.M.A.R.T. status may be inaccessible. Alternatively, if a drive has experienced problems in the past, but the sensors no longer detect such problems, the S.M.A.R.T. status may, depending on the manufacturer's programming, suggest that the drive is now healthy.

The inability to read some sectors is not always an indication that a drive is about to fail. One way that unreadable sectors may be created, even when the drive is functioning within specification, is through a sudden power failure while the drive is writing. Also, even if the physical disk is damaged at one location, such that a certain sector is unreadable, the disk may be able to use spare space to replace the bad area, so that the sector can be overwritten.[16]

More detail on the health of the drive may be obtained by examining the S.M.A.R.T. Attributes. S.M.A.R.T. Attributes were included in some drafts of the ATA standard, but were removed before the standard became final. The meaning and interpretation of the attributes varies between manufacturers, and are sometimes considered a trade secret for one manufacturer or another. Attributes are further discussed below.[17]

Drives with S.M.A.R.T. may optionally maintain a number of 'logs'. The error log records information about the most recent errors that the drive has reported back to the host computer. Examining this log may help one to determine whether computer problems are disk-related or caused by something else (error log timestamps may "wrap" after 232 ms = 49.71 days[18])

A drive that implements S.M.A.R.T. may optionally implement a number of self-test or maintenance routines, and the results of the tests are kept in the self-test log. The self-test routines may be used to detect any unreadable sectors on the disk, so that they may be restored from back-up sources (for example, from other disks in a RAID). This helps to reduce the risk of incurring permanent loss of data.

Standards and implementation

Lack of common interpretation

Many motherboards display a warning message when a disk drive is approaching failure. Although an industry standard exists among most major hard drive manufacturers,[3] issues remain due to attributes intentionally left undocumented to the public in order to differentiate models between manufacturers.[19][17] From a legal perspective, the term "S.M.A.R.T." refers only to a signaling method between internal disk drive electromechanical sensors and the host computer. Because of this the specifications of S.M.A.R.T. are entirely vendor specific and, while many of these attributes have been standardized between drive vendors, others remain vendor-specific. S.M.A.R.T. implementations still differ and in some cases may lack "common" or expected features such as a temperature sensor or only include a few select attributes while still allowing the manufacturer to advertise the product as "S.M.A.R.T. compatible."[17]

Visibility to host systems

Depending on the type of interface being used, some S.M.A.R.T.-enabled motherboards and related software may not communicate with certain S.M.A.R.T.-capable drives. For example, few external drives connected via USB and FireWire correctly send S.M.A.R.T. data over those interfaces. With so many ways to connect a hard drive (SCSI, Fibre Channel, ATA, SATA, SAS, SSA, NVMe and so on), it is difficult to predict whether S.M.A.R.T. reports will function correctly in a given system.

Even with a hard drive and interface that implements the specification, the computer's operating system may not see the S.M.A.R.T. information because the drive and interface are encapsulated in a lower layer. For example, they may be part of a RAID subsystem in which the RAID controller sees the S.M.A.R.T.-capable drive, but the host computer sees only a logical volume generated by the RAID controller.

On the Windows platform, many programs designed to monitor and report S.M.A.R.T. information will function only under an administrator account.

BIOS and Windows (Windows Vista and later) may detect S.M.A.R.T. status of hard disk drives and solid state drives, and prompt if S.M.A.R.T. status bad.[20]

Access

For a list of various programs that allow reading of S.M.A.R.T. Data, see Comparison of S.M.A.R.T. tools.

ATA S.M.A.R.T. attributes

Each drive manufacturer defines a set of attributes,[21][22] and sets threshold values beyond which attributes should not pass under normal operation. Each attribute has a raw value that can be a decimal or a hexadecimal value, whose meaning is entirely up to the drive manufacturer (but often corresponds to counts or a physical unit, such as degrees Celsius or seconds), a normalized value, which ranges from 1 to 253 (with 1 representing the worst case and 253 representing the best) and a worst value, which represents the lowest recorded normalized value. The initial default value of attributes is 100 but can vary between manufacturer.[17]

Manufacturers that have implemented at least one S.M.A.R.T. attribute in various products include Samsung, Seagate, IBM (Hitachi), Fujitsu, Maxtor, Toshiba, Intel, sTec, Inc., Western Digital and ExcelStor Technology.

Known ATA S.M.A.R.T. attributes

The following chart lists some S.M.A.R.T. attributes and the typical meaning of their raw values. Normalized values are usually mapped so that higher values are better (exceptions include drive temperature, number of head load/unload cycles[23]), but higher raw attribute values may be better or worse depending on the attribute and manufacturer. For example, the "Reallocated Sectors Count" attribute's normalized value decreases as the count of reallocated sectors increases. In this case, the attribute's raw value will often indicate the actual count of sectors that were reallocated, although vendors are in no way required to adhere to this convention.

As manufacturers do not necessarily agree on precise attribute definitions and measurement units, the following list of attributes is a general guide only.

Drives do not support all attribute codes (sometimes abbreviated as "ID", for "identifier", in tables). Some codes are specific to particular drive types (magnetic platter, flash, SSD). Drives may use different codes for the same parameter, e.g., see codes 193 and 225.

Legend
ID 193
0xC1
Attribute code in decimal and
hexadecimal notations
Ideal
Higher
High
Higher raw value is better
Low
Lower
Lower raw value is better
!
(Critical)
Critical
Denotes a Critical attribute.
Specific values may predict drive failure
ID Attribute name Ideal ! Description
01
0x01
Read Error Rate
Low
Lower
(Vendor specific raw value.) Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.
02
0x02
Throughput Performance
Higher
High
Overall (general) throughput performance of a hard disk drive. If the value of this attribute is decreasing there is a high probability that there is a problem with the disk.
03
0x03
Spin-Up Time
Low
Lower
Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).
04
0x04
Start/Stop Count A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.[24]
05
0x05
Reallocated Sectors Count
Low
Lower

Critical
Count of reallocated sectors. The raw value represents a count of the bad sectors that have been found and remapped.[28] Thus, the higher the attribute value, the more sectors the drive has had to reallocate. This value is primarily used as a metric of the life expectancy of the drive; a drive which has had any reallocations at all is significantly more likely to fail in the immediate months.[25][29]
06
0x06
Read Channel Margin Margin of a channel while reading data. The function of this attribute is not specified.
07
0x07
Seek Error Rate Varies (Vendor specific raw value.) Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.
08
0x08
Seek Time Performance
Higher
High
Average performance of seek operations of the magnetic heads. If this attribute is decreasing, it is a sign of problems in the mechanical subsystem.
09
0x09
Power-On Hours Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state.[30]

"By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to 1825 days in 24/7 mode or 43800 hours."[31]

On some pre-2005 drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically).[32]

10
0x0A
Spin Retry Count
Low
Lower

Critical
Count of retry of spin start attempts. This attribute stores a total count of the spin start attempts to reach the fully operational speed (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.
11
0x0B
Recalibration Retries or Calibration Retry Count
Low
Lower
This attribute indicates the count that recalibration was requested (under the condition that the first attempt was unsuccessful). An increase of this attribute value is a sign of problems in the hard disk mechanical subsystem.
12
0x0C
Power Cycle Count This attribute indicates the count of full hard disk power on/off cycles.
13
0x0D
Soft Read Error Rate
Low
Lower
Uncorrected read errors reported to the operating system.
22
0x16
Current Helium Level
Higher
High
Specific to He8 drives from HGST. This value measures the helium inside of the drive specific to this manufacturer. It is a pre-fail attribute that trips once the drive detects that the internal environment is out of specification.[34]
23
0x17
Helium Condition Lower Specific to MG07+ drives from Toshiba. This value measures lower level of helium inside of the drive specific to this manufacturer. It is a pre-fail attribute that trips once the drive detects that the internal environment is out of specification.[35]
24
0x18
Helium Condition Upper Specific to MG07+ drives from Toshiba. This value measures the upper level helium inside of the drive specific to this manufacturer. It is a pre-fail attribute that trips once the drive detects that the internal environment is out of specification.[35]
170
0xAA
Available Reserved Space See attribute E8.[36]
171
0xAB
SSD Program Fail Count (Kingston) The total number of flash program operation failures since the drive was deployed.[37] Identical to attribute 181.
172
0xAC
SSD Erase Fail Count (Kingston) Counts the number of flash erase failures. This attribute returns the total number of Flash erase operation failures since the drive was deployed. This attribute is identical to attribute 182.
173
0xAD
SSD Wear Leveling Count Counts the maximum worst erase count on any block.
174
0xAE
Unexpected Power Loss Count Also known as "Power-off Retract Count" per conventional HDD terminology. Raw value reports the number of unclean shutdowns, cumulative over the life of an SSD, where an "unclean shutdown" is the removal of power without STANDBY IMMEDIATE as the last command (regardless of PLI activity using capacitor power). Normalized value is always 100.[38]
175
0xAF
Power Loss Protection Failure Last test result as microseconds to discharge cap, saturated at its maximum value. Also logs minutes since last test and lifetime number of tests. Raw value contains the following data:
  • Bytes 0-1: Last test result as microseconds to discharge cap, saturates at max value. Test result expected in range 25 <= result <= 5000000, lower indicates specific error code.
  • Bytes 2-3: Minutes since last test, saturates at max value.
  • Bytes 4-5: Lifetime number of tests, not incremented on power cycle, saturates at max value.

Normalized value is set to one on test failure or 11 if the capacitor has been tested in an excessive temperature condition, otherwise 100.[38]

176
0xB0
Erase Fail Count S.M.A.R.T. parameter indicates a number of flash erase command failures.[39]
177
0xB1
Wear Range Delta Delta between most-worn and least-worn Flash blocks. It describes how good/bad the wearleveling of the SSD works on a more technical way.
178
0xB2
Used Reserved Block Count "Pre-Fail" attribute used at least in Samsung devices.
179
0xB3
Used Reserved Block Count Total "Pre-Fail" attribute used at least in Samsung devices.[40]
180
0xB4
Unused Reserved Block Count Total "Pre-Fail" attribute used at least in HP devices.
181
0xB5
Program Fail Count Total or Non-4K Aligned Access Count
Low
Lower
Total number of Flash program operation failures since the drive was deployed.[41]
Number of user data accesses (both reads and writes) where LBAs are not 4 KiB aligned (LBA % 8 != 0) or where size is not modulus 4 KiB (block count != 8), assuming logical block size (LBS) = 512 B.[42]
182
0xB6
Erase Fail Count "Pre-Fail" Attribute used at least in Samsung devices.
183
0xB7
SATA Downshift Error Count or Runtime Bad Block
Low
Lower
Western Digital, Samsung or Seagate attribute: Either the number of downshifts of link speed (e.g. from 6Gbit/s to 3Gbit/s) or the total number of data blocks with detected, uncorrectable errors encountered during normal operation.[43] Although degradation of this parameter can be an indicator of drive aging and/or potential electromechanical problems, it does not directly indicate imminent drive failure.[44]
184
0xB8
End-to-End error / IOEDC
Low
Lower

Critical
This attribute is a part of Hewlett-Packard's SMART IV technology, as well as part of other vendors' IO Error Detection and Correction schemas, and it contains a count of parity errors which occur in the data path to the media via the drive's cache RAM.[46]
185
0xB9
Head Stability Western Digital attribute.
186
0xBA
Induced Op-Vibration Detection Western Digital attribute.
187
0xBB
Reported Uncorrectable Errors
Low
Lower

Critical
The count of errors that could not be recovered using hardware ECC (see attribute 195).[47]
188
0xBC
Command Timeout
Low
Lower

Critical
The count of aborted operations due to HDD timeout. Normally this attribute value should be equal to zero.[48]
189
0xBD
High Fly Writes
Low
Lower
HDD manufacturers implement a flying height sensor that attempts to provide additional protections for write operations by detecting when a recording head is flying outside its normal operating range. If an unsafe fly height condition is encountered, the write process is stopped, and the information is rewritten or reallocated to a safe region of the hard drive. This attribute indicates the count of these errors detected over the lifetime of the drive.

This feature is implemented in most modern Seagate drives[2] and some of Western Digital's drives, beginning with the WD Enterprise WDE18300 and WDE9180 Ultra2 SCSI hard drives, and will be included on all future WD Enterprise products.[49]

190
0xBE
Temperature Difference or Airflow Temperature Varies Value is equal to (100-temp. °C), allowing manufacturer to set a minimum threshold which corresponds to a maximum temperature. This also follows the convention of 100 being a best-case value and lower values being undesirable. However, some older drives may instead report raw Temperature (identical to 0xC2) or Temperature minus 50 here.
191
0xBF
G-sense Error Rate
Low
Lower
The count of errors resulting from externally induced shock and vibration.
192
0xC0
Power-off Retract Count, Emergency Retract Cycle Count (Fujitsu),[50] or Unsafe Shutdown Count
Low
Lower
Number of power-off or emergency retract cycles.[17][51]
193
0xC1
Load Cycle Count or Load/Unload Cycle Count (Fujitsu)
Low
Lower
Count of load/unload cycles into head landing zone position.[50] Some drives use 225 (0xE1) for Load Cycle Count instead.

Western Digital rates their VelociRaptor drives for 600,000 load/unload cycles,[52] and WD Green drives for 300,000 cycles;[53] the latter ones are designed to unload heads often to conserve power. On the other hand, the WD3000GLFS (a desktop drive) is specified for only 50,000 load/unload cycles.[54]

Some laptop drives and "green power" desktop drives are programmed to unload the heads whenever there has not been any activity for a short period, to save power.[55][56] Operating systems often access the file system a few times a minute in the background,[57] causing 100 or more load cycles per hour if the heads unload: the load cycle rating may be exceeded in less than a year.[58] There are programs for most operating systems that disable the Advanced Power Management (APM) and Automatic acoustic management (AAM) features causing frequent load cycles.[59][60]

194
0xC2
Temperature or Temperature Celsius
Low
Lower
Indicates the device temperature, if the appropriate sensor is fitted. Lowest byte of the raw value contains the exact temperature value (Celsius degrees).[61]
195
0xC3
Hardware ECC Recovered Varies (Vendor-specific raw value.) The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.
196
0xC4
Reallocation Event Count[50]
Low
Lower

Critical
Count of remap operations. The raw value of this attribute shows the total count of attempts to transfer data from reallocated sectors to a spare area. Both successful and unsuccessful attempts are counted.[62]
197
0xC5
Current Pending Sector Count[50]
Low
Lower

Critical
Count of "unstable" sectors (waiting to be remapped, because of unrecoverable read errors). If an unstable sector is subsequently read successfully, the sector is remapped and this value is decreased. Read errors on a sector will not remap the sector immediately (since the correct value cannot be read and so the value to remap is not known, and also it might become readable later); instead, the drive firmware remembers that the sector needs to be remapped, and will remap it the next time it has been successfully read.[63]

However, some drives will not immediately remap such sectors when successfully read; instead the drive will first attempt to write to the problem sector, and if the write operation is successful the sector will then be marked as good (in this case, the "Reallocation Event Count" (0xC4) will not be increased). This is a serious shortcoming, for if such a drive contains marginal sectors that consistently fail only after some time has passed following a successful write operation, then the drive will never remap these problem sectors.

198
0xC6
(Offline) Uncorrectable Sector Count[50]
Low
Lower

Critical
The total count of uncorrectable errors when reading/writing a sector. A rise in the value of this attribute indicates defects of the disk surface and/or problems in the mechanical subsystem.[4][48][45]
199
0xC7
UltraDMA CRC Error Count
Low
Lower
The count of errors in data transfer via the interface cable as determined by ICRC (Interface Cyclic Redundancy Check).
200
0xC8
Multi-Zone Error Rate [64]
Low
Lower
The count of errors found when writing a sector. The higher the value, the worse the disk's mechanical condition is.
200
0xC8
Write Error Rate (Fujitsu)
Low
Lower
The total count of errors when writing a sector.[65]
201
0xC9
Soft Read Error Rate or
TA Counter Detected
Low
Lower

Critical
Count indicates the number of uncorrectable software read errors.[66]
202
0xCA
Data Address Mark errors or
TA Counter Increased
Low
Lower
Count of Data Address Mark errors (or vendor-specific).[17]
203
0xCB
Run Out Cancel
Low
Lower
The number of errors caused by incorrect checksum during the error correction.
204
0xCC
Soft ECC Correction
Low
Lower
Count of errors corrected by the internal error correction software.[17]
205
0xCD
Thermal Asperity Rate
Low
Lower
Count of errors due to high temperature.[67]
206
0xCE
Flying Height Height of heads above the disk surface. If too low, head crash is more likely; if too high, read/write errors are more likely.[17][68]
207
0xCF
Spin High Current
Low
Lower
Amount of surge current used to spin up the drive.[67]
208
0xD0
Spin Buzz Count of buzz routines needed to spin up the drive due to insufficient power.[67]
209
0xD1
Offline Seek Performance Drive's seek performance during its internal tests.[67]
210
0xD2
Vibration During Write Found in Maxtor 6B200M0 200GB and Maxtor 2R015H1 15GB disks.
211
0xD3
Vibration During Write A recording of a vibration encountered during write operations.[69]
212
0xD4
Shock During Write A recording of shock encountered during write operations.[37][70]
220
0xDC
Disk Shift
Low
Lower
Distance the disk has shifted relative to the spindle (usually due to shock or temperature). Unit of measure is unknown.[37]
221
0xDD
G-Sense Error Rate
Low
Lower
The count of errors resulting from externally induced shock and vibration. More typically reported at 0xBF.
222
0xDE
Loaded Hours Time spent operating under data load (movement of magnetic head armature).[37]
223
0xDF
Load/Unload Retry Count Count of times head changes position.[37]
224
0xE0
Load Friction
Low
Lower
Resistance caused by friction in mechanical parts while operating.[37]
225
0xE1
Load/Unload Cycle Count
Low
Lower
Total count of load cycles[37] Some drives use 193 (0xC1) for Load Cycle Count instead. See Description for 193 for significance of this number.
226
0xE2
Load 'In'-time Total time of loading on the magnetic heads actuator (time not spent in parking area).[37]
227
0xE3
Torque Amplification Count
Low
Lower
Count of attempts to compensate for platter speed variations.[71]
228
0xE4
Power-Off Retract Cycle
Low
Lower
The number of power-off cycles which are counted whenever there is a "retract event" and the heads are loaded off of the media such as when the machine is powered down, put to sleep, or is idle.[17][51]
230
0xE6
GMR Head Amplitude (magnetic HDDs), Drive Life Protection Status (SSDs) Amplitude of "thrashing" (repetitive head moving motions between operations).[17][72]

In solid-state drives, indicates whether usage trajectory is outpacing the expected life curve[73]

231
0xE7
Life Left (SSDs) or Temperature Indicates the approximate SSD life left, in terms of program/erase cycles or available reserved blocks.[73] A normalized value of 100 represents a new drive, with a threshold value at 10 indicating a need for replacement. A value of 0 may mean that the drive is operating in read-only mode to allow data recovery.[74]

Previously (pre-2010) occasionally used for Drive Temperature (more typically reported at 0xC2).

232
0xE8
Endurance Remaining or Available Reserved Space Number of physical erase cycles completed on the SSD as a percentage of the maximum physical erase cycles the drive is designed to endure.

Intel SSDs report the available reserved space as a percentage of the initial reserved space.

233
0xE9
Media Wearout Indicator (SSDs) or Power-On Hours Intel SSDs report a normalized value from 100, a new drive, to a minimum of 1. It decreases while the NAND erase cycles increase from 0 to the maximum-rated cycles.

Previously (pre-2010) occasionally used for Power-On Hours (more typically reported in 0x09).

234
0xEA
Average erase count AND Maximum Erase Count Decoded as: byte 0-1-2 = average erase count (big endian) and byte 3-4-5 = max erase count (big endian).[75]
235
0xEB
Good Block Count AND System(Free) Block Count Decoded as: byte 0-1-2 = good block count (big endian) and byte 3-4 = system (free) block count.
240
0xF0
Head Flying Hours or 'Transfer Error Rate' (Fujitsu) Time spent during the positioning of the drive heads.[17][76] Some Fujitsu drives report the count of link resets during a data transfer.[77]
241
0xF1
Total LBAs Written Total count of LBAs written.
242
0xF2
Total LBAs Read Total count of LBAs read.
Some S.M.A.R.T. utilities will report a negative number for the raw value since in reality it has 48 bits rather than 32.
243
0xF3
Total LBAs Written Expanded The upper 5 bytes of the 12-byte total number of LBAs written to the device. The lower 7 byte value is located at attribute 0xF1.[78]
244
0xF4
Total LBAs Read Expanded The upper 5 bytes of the 12-byte total number of LBAs read from the device. The lower 7 byte value is located at attribute 0xF2.[79]
249
0xF9
NAND Writes (1GiB) Total NAND Writes. Raw value reports the number of writes to NAND in 1 GB increments.[80]
250
0xFA
Read Error Retry Rate
Low
Lower
Count of errors while reading from a disk.[37]
251
0xFB
Minimum Spares Remaining The Minimum Spares Remaining attribute indicates the number of remaining spare blocks as a percentage of the total number of spare blocks available.[81]
252
0xFC
Newly Added Bad Flash Block The Newly Added Bad Flash Block attribute indicates the total number of bad flash blocks the drive detected since it was first initialized in manufacturing.[81]
254
0xFE
Free Fall Protection
Low
Lower
Count of "Free Fall Events" detected.[82]

Threshold Exceeds Condition

Threshold Exceeds Condition (TEC) is an estimated date when a critical drive statistic attribute will reach its threshold value. When Drive Health software reports a "Nearest T.E.C.", it should be regarded as a "Failure date". Sometimes, no date is given and the drive can be expected to work without errors.[83]

To predict the date, the drive tracks the rate at which the attribute changes. Note that TEC dates are only estimates; hard drives can and do fail much sooner or much later than the TEC date.[84]

Self-tests

S.M.A.R.T. drives may offer a number of self-tests:[85][86][87]

Short

Checks the electrical and mechanical performance as well as the read performance of the disk. Electrical tests might include a test of buffer RAM, a read/write circuitry test, or a test of the read/write head elements. Mechanical test includes seeking and servo on data tracks. Scans small parts of the drive's surface (area is vendor-specific and there is a time limit on the test). Checks the list of pending sectors that may have read errors, and it usually takes under two minutes.

Long/extended

A longer and more thorough version of the short self-test, scanning the entire disk surface with no time limit. This test usually takes several hours, depending on the read/write speed of the drive and its size.

Conveyance

Intended as a quick test to identify damage incurred during transporting of the device from the drive manufacturer to the computer manufacturer.[88] Only available on ATA drives, and it usually takes several minutes.

Selective

Some drives allow selective self-tests of just a part of the surface.[89]

The self-test logs for SCSI and ATA drives are slightly different. It is possible for the long test to pass even if the short test fails.[90]

The drive's self-test log can contain up to 21 read-only entries. When the log is filled, old entries are removed.[91]

See also

References

  1. "Communicating With Your SSD: Understanding SMART Attributes | Samsung SSD". Samsung.com. http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/about/whitepaper07.html. 
  2. 2.0 2.1 Enhanced Smart attributes, Seagate, http://www.seagate.com/docs/pdf/whitepaper/enhanced_smart.pdf 
  3. 3.0 3.1 SMART, PCTechGuide, 2003, https://www.pctechguide.com/hard-disks/hard-disk-smart-drives 
  4. 4.0 4.1 4.2 4.3 4.4 "Failure Trends in a Large Disk Drive Population". 2007. pp. 17–29. https://ai.google/research/pubs/pub32774. 
  5. Pinheiro, Eduardo; Weber, Wolf-Dietrich; Barroso, Luís André, "Conclusion", Failure Trends in a Large Disk Drive Population, Mountain View, CA, http://research.google.com/archive/disk_failures.pdf 
  6. No. ZG92-0289, IBM, September 1, 1992, http://www-306.ibm.com/common/ssi/OIX.wss?DocURL=http://d03xhttpcl001g.boulder.ibm.com/common/ssi/rep_ca/9/877/ENUSZG92-0289/index.html&InfoType=AN 
  7. Ottem, Eric; Plummer, Judy (1995), Playing it S.M.A.R.T.: The emergence of reliability prediction technology., Seagate Technology Paper 
  8. Compaq. IntelliSafe. Technical Report SSF-8035, Small Form Committee, January 1995 
  9. Seagate Product Marketing (July 1999) (in en). Get S.M.A.R.T. for Reliability (Report). Technology Paper. Scotts Valley, California: Seagate Technology. TP-67D. http://www.seagate.com/newsinfo/docs/disc/enhanced_smart.pdf. "Compaq placed IntelliSafe in the public domain by presenting its specification for the ATA environment, SFF-8035, to the Small Form Factor Committee on May 12, 1995." 
  10. Mueller, Scott (2013). "The ATA/IDE Interface". Upgrading and repairing PCs (21st ed.). Indianapolis, Ind.. ISBN 978-0-7897-5000-6. OCLC 816159579. https://www.informit.com/articles/article.aspx?p=2028834&seqNum=2. 
  11. 11.0 11.1 Allen, Bruce (2004-01-01). "Monitoring Hard Disks with SMART | Linux Journal". https://www.linuxjournal.com/article/6983. 
  12. "Section 4.8: "SMART (Self-monitoring, analysis, and reporting technology) feature set"", AT Attachment 8 – ATA/ATAPI Command Set (ATA8-ACS), ANSI INCITS, September 6, 2008, http://www.t13.org/documents/uploadeddocuments/docs2008/d1699r6a-ata8-acs.pdf 
  13. Stephens 2006, pp. 44–126, 198–213, 327–44, Sections 4.19: "SMART (Self-monitoring, analysis, and reporting technology) feature set", 7.52: "SMART", Annex A: "Log Page Definitions"
  14. "ATA/ATAPI Command Set - 2 (ACS-2)", ATA Command Set 2 (ANSI INCITS), June 22, 2011, http://www.t13.org/documents/UploadedDocuments/docs2011/d2015r7-ATAATAPI_Command_Set_-_2_ACS-2.pdf 
  15. Gilbert, Douglas. "Smartmontools for SCSI devices". https://www.smartmontools.org/browser/trunk/www/smartmontools_scsi.xml. 
  16. Hitachi Travelstar 80GN (2.0 ed.), Hitachi Data Systems, 19 September 2003, Hitachi Document Part Number S13K-1055-20, http://www.hitachigst.com/tech/techlib.nsf/techdocs/85CC1FF9F3F11FE187256C4F0052E6B6/$file/80GNSpec2.0.pdf 
  17. 17.00 17.01 17.02 17.03 17.04 17.05 17.06 17.07 17.08 17.09 17.10 Hatfield, Jim (30 September 2005). "SMART Attribute Annex" (in en). Seagate Technology. pp. 1–5. http://www.t13.org/documents/uploadeddocuments/docs2005/e05148r0-acs-smartattributesannex.pdf. 
  18. "Maxtor" (plain text), Smartmontools, Source forge, http://smartmontools.sourceforge.net/examples/MAXTOR-1.txt 
  19. "What is S.M.A.R.T.?" (in en). Ziff Davis. 31 October 2005. pp. 1. https://www.pcmag.com/article2/0,2817,1879485,00.asp. 
  20. "Hard drive acting up? It could be hardware issues — here's how to find out". 2019-08-27. https://www.windowscentral.com/how-check-if-hard-drive-failing-smart-windows-10. 
  21. Stephens 2006, p. 207Of the 512 octets listed in table 42 on page 207: "Device SMART data structure" a total of 489 are marked as "Vendor specific".
  22. Ottem, Eric; Plummer, Judy (1995), Playing it S.M.A.R.T.: The emergence of reliability prediction technology., Seagate Technology Paper, "Though attributes are drive-specific, a variety of typical characteristics can be identified: [...] The attributes listed above illustrate typical kinds of reliability indicators. Ultimately, the disc drive design determines which attributes the manufacturer will choose. Attributes are therefore considered proprietary, since they depend on drive design." 
  23. "FAQ", Smartmontools, Source forge, https://www.smartmontools.org/wiki/FAQ#Attribute194TemperatureCelsiusbehavesstrangelyonmySeagatedisk, "Attribute 194 (Temperature Celsius) behaves strangely on my Seagate disk" 
  24. "Self-Monitoring, Analysis and Reporting Technology (SMART)", Smart Linux, Source forge, 2009-03-10, http://smartlinux.sourceforge.net/smart/article.php 
  25. 25.0 25.1 25.2 "Failure Trends in a Large Disk Drive Population". Proceedings of the 5th USENIX Conference on File and Storage Technologies (FAST'07). 2007. https://static.googleusercontent.com/media/research.google.com/en//archive/disk_failures.pdf. "We find that the group of drives with scan errors are ten times more likely to fail than the group with no errors. This effect is also noticed when we further break down the groups by disk model. From Figure 8 we see a drastic and quick decrease in survival probability after the first scan error (left graph). A little over 70% of the drives survive the first 8 months after their first scan error.". 
  26. "What SMART Hard Disk Errors Actually Tell Us" (in en-US). Backblaze Blog | Cloud Storage & Cloud Backup. 2016-10-06. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/. 
  27. "S.M.A.R.T. Attribute: Reallocated Sectors Count | Knowledge Base" (in en). https://kb.acronis.com/content/9105. 
  28. "ATA Command Set 4 (ACS-4) - Working Draft". October 14, 2016. http://www.t13.org/Documents/UploadedDocuments/docs2016/di529r14-ATAATAPI_Command_Set_-_4.pdf. 
  29. "What SMART Stats Tell Us About Hard Drives". 2016-10-06. Comment by "Mark". https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/#comment-2938093635. "There was a direct link between Reallocated Sectors Count and how quickly the drive would fail [...] Even one Uncorrectable sector count would lead to most drives being unusable within 3months" 
  30. "9109: S.M.A.R.T. Attribute: Power-On Hours (POH)", Knowledge Base, Acronis, http://kb.acronis.com/content/9109 
  31. "Power on time". http://www.hdsentinel.com/help/en/54_pot.html. 
  32. "FAQ". Smartmontools. Sourceforge. http://sourceforge.net/apps/trac/smartmontools/wiki/FAQ#Thepower-ontimerAttribute9rawvalueonmyMaxtordiskactsstrange. 
  33. "S.M.A.R.T. Attribute: Spin Retry Count Knowledge Base" (in en). https://kb.acronis.com/content/9110. 
  34. "SMART Hard Drive Attributes: SMART 22 is a Gas Gas Gas". Backblaze Blog - The Life of a Cloud Backup Company. 2015-04-16. https://www.backblaze.com/blog/smart-22-is-a-gas-gas-gas/. 
  35. 35.0 35.1 "Hard Drive Stats for Q2 2018". Backblaze Blog - The Life of a Cloud Backup Company. 2018-08-27. https://www.onlinebackupcodes.com/2018/08/27/hard-drive-stats-for-q2-2018/. Retrieved 2022-08-07. 
  36. Intel Solid-state Drive DC S3700 Series Product Specification, Intel, March 2014, http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/ssd-dc-s3700-spec.pdf 
  37. 37.0 37.1 37.2 37.3 37.4 37.5 37.6 37.7 37.8 "S.M.A.R.T.". 9 March 2010. https://kb.acronis.com/es/taxonomy/term/1644?page=3.  Samsung, Seagate, IBM (Hitachi), Fujitsu (not all models), Maxtor, Western Digital (not all models)
  38. 38.0 38.1 Intel Solid-state Drive DC S3700 Series Product Specification, Intel, March 2014, http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/ssd-dc-s3700-spec.pdf 
  39. "9184: S.M.A.R.T. Attribute: Erase Fail Count (chip)". March 9, 2010. https://kb.acronis.com/content/9184. 
  40. Over-Provisioning Benefits for Samsung Data Center SSDs, Samsung, March 2019, https://www.samsung.com/semiconductor/global.semi.static/S190311-SAMSUNG-Memory-Over-Provisioning-White-paper.pdf 
  41. "SMART Attribute Details". Kingston Technology Corporation. 2013. p. 4. http://media.kingston.com/support/downloads/MKP_306_SMART_attribute.pdf. 
  42. "The SMART Command Feature Set". Micron Technology, Inc. August 2010. p. 11. http://www.micron.com/~/media/Documents/Products/Technical%20Note/Solid%20State%20Storage/tnfd03.pdf. 
  43. "HDD Guardian". CodePlex. https://hddguardian.codeplex.com/wikipage?title=STEC. 
  44. "S.M.A.R.T. Attribute: SATA Downshift Error Count | Knowledge Base" (in en). https://kb.acronis.com/content/9118. 
  45. 45.0 45.1 45.2 "Acronis Drive Monitor: Disk Health Calculation Knowledge Base" (in en). https://kb.acronis.com/content/9264. 
  46. "SMART IV Technology on HP Business Desktop Hard Drives". Hewlett-Packard. http://h10032.www1.hp.com/ctg/Manual/c01159621.pdf. 
  47. 47.0 47.1 "BackBlaze SMART blog". 12 November 2014. https://www.backblaze.com/blog/hard-drive-smart-stats/. 
  48. 48.0 48.1 48.2 48.3 "What SMART Hard Disk Errors Actually Tell Us" (in en-US). Backblaze Blog | Cloud Storage & Cloud Backup. 2016-10-06. https://www.backblaze.com/blog/what-smart-stats-indicate-hard-drive-failures/#comment-2938093635. 
  49. Fly Height Monitor Improves Hard Drive Reliability, Western Digital, April 1999, 79-850123-000, http://www.wdc.com/wdproducts/library/other/2579-850123.pdf 
  50. 50.0 50.1 50.2 50.3 50.4 MHT2080AT, MHT2060AT, MHT2040AT, MHT2030AT, MHG2020AT Disk Drives, Fujitsu, 2003-07-04, C141-E192-02EN, http://www.fujitsu.com/downloads/COMP/fcpa/hdd/discontinued/mht20xxat_prod-manual.pdf 
  51. 51.0 51.1 "9127: S.M.A.R.T. Attribute: Power-off Retract Count". Acronis International. https://kb.acronis.com/content/9127. 
  52. WD VelociRaptor Spec Sheet, WD, http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-701282.pdf 
  53. WD Green Spec Sheet, WD, http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-771438.pdf 
  54. "WD VelociRaptor SATA Hard Drives". wdc.com. 2008. http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2879-701260.pdf. 
  55. "Problem with hard drive clicking", Think, http://www.thinkwiki.org/wiki/Problem_with_hard_drive_clicking 
  56. "hdparm(8) - Linux manual page". man7.org. November 2012. http://man7.org/linux/man-pages/man8/hdparm.8.html. "Get/set the Western Digital (WD) Green Drive's "idle3" timeout value. This timeout controls how often the drive parks its heads and enters a low power consumption state. The factory default is eight (8) seconds, which is a very poor choice for use with Linux. Leaving it at the default will result in hundreds of thousands of head load/unload cycles in a very short period of time." 
  57. discussion list, Arch Linux, http://bbs.archlinux.org/viewtopic.php?id=66706, "If linux tends to write to /var/log/* every 30s, then the heads can park/unpark every 30s." 
  58. "Hard drives", How to Reduce Power Consumption, Think, http://www.thinkwiki.org/wiki/How_to_reduce_power_consumption#Hard_Drives, "The files access time update, while mandated by POSIX, is causing lots of disks access; even accessing files on disk cache may wake the ATA or USB bus." 
  59. "Mac OS X is beating your hard drives to death. Here's the fix.". 11 November 2014. http://www.kg4cyx.net/mac-os-x-is-beating-your-hard-drives-to-death-heres-the-fix/. 
  60. "quietHDD". 13 December 2009. https://sites.google.com/site/quiethdd/. 
  61. "S.M.A.R.T. basics". http://www.z-a-recovery.com/manual/smart.aspx. 
  62. "S.M.A.R.T.-Attribute: Reallocation Event Count", Knowledge Base, Acronis, http://kb.acronis.com/content/9132 
  63. "S.M.A.R.T. Attribute: Current Pending Sector Count", Knowledge Base, Acronis, http://kb.acronis.com/content/9133 
  64. Cabla, Lubomir (2009-08-06). "HDAT2 v4.6 User's Manual". http://www.hdat2.com/files/hdat2en_v11.pdf. 
  65. "Attributes". SMART Linux project. Source forge. http://smartlinux.sourceforge.net/smart/attributes.php. 
  66. 66.0 66.1 "S.M.A.R.T. Attribute: Soft Read Error Rate / Off Track Errors (Maxtor) | Knowledge Base" (in en). https://kb.acronis.com/content/9137. 
  67. 67.0 67.1 67.2 67.3 S.M.A.R.T. attribute list (ATA), HD sentinel, http://www.hdsentinel.com/help/en/56_attrib.html 
  68. "9142: S.M.A.R.T. Attribute: Flying Height". Acronis International. https://kb.acronis.com/content/9142. 
  69. "9146: S.M.A.R.T. Attribute: Vibration During Write". Acronis International. https://kb.acronis.com/content/9146. 
  70. "9147: S.M.A.R.T. Attribute: Shock During Write". Acronis International. https://kb.acronis.com/content/9147. 
  71. "9154: S.M.A.R.T. Attribute: Torque Amplification Count". Acronis International. https://kb.acronis.com/content/9154. 
  72. "9156: S.M.A.R.T. Attribute: GMR Head Amplitude". Acronis International. https://kb.acronis.com/content/9156. 
  73. 73.0 73.1 SMART Attribute Details, Kingston, http://media.kingston.com/support/downloads/MKP_306_SMART_attribute.pdf 
  74. "S.M.A.R.T. Monitoring Tools / Mailing Lists" (in en). https://sourceforge.net/p/smartmontools/mailman/message/32246334/. 
  75. "Ticket 171". Smartmontools. Source forge. https://www.smartmontools.org/ticket/171. 
  76. "9157: S.M.A.R.T. Attribute: Head Flying Hours / Transfer Error Rate (Fujitsu)". Acronis International. https://kb.acronis.com/content/9157. 
  77. "MHY2250BH, MHY2200BH, MHY2160BH, MHY2120BH, MHY2100BH, MHY2080BH, MHY2060BH, MHY2040BH Disk Drives, Product/Maintenance Manual". Fujitsu Limited. http://pdfstream.manualsonline.com/2/20e501aa-595c-46fe-bbac-2088887ceffe.pdf. 
  78. SlimSATA SSD Mini-SATA Embedded Flash Module, Delkin Devices, 2013, http://delkinoem.com/oem-engineering-specs-product-docs/Industrial-SlimSATA-solid-state-drive-specification.pdf 
  79. SlimSATA SSD Mini-SATA Embedded Flash Module, Delkin Devices, 2013, http://delkinoem.com/oem-engineering-specs-product-docs/Industrial-SlimSATA-solid-state-drive-specification.pdf 
  80. Intel Solid-state Drive 520 Series Product Specification, Intel, February 2012, http://download.intel.com/newsroom/kits/ssd/pdfs/intel_ssd_520_product_spec_325968.pdf 
  81. 81.0 81.1 "SMART Modular Technologies S.M.A.R.T. attributes - A new Windows interface for smartctl". google.com. https://code.google.com/p/hddguardian/wiki/Smart_Modular_SMART_attributes. 
  82. Momentus 7200.2 SATA (D ed.), Seagate, September 2007, Hitachi Document Part Number S13K-1055-20, http://www.seagate.com/staticfiles/support/disc/manuals/notebook/momentus/7200.2/100451238d.pdf 
  83. "FAQ", Drive health, http://www.drivehealth.com/faq.html, retrieved October 4, 2011 
  84. The interpretation of the TEC and the SMART, Altrix soft, http://www.altrixsoft.com/en/support/help/hddinsp/tec%20and%20smart.php, retrieved October 4, 2011 
  85. "self-tests: "SMART RUN/ABORT OFFLINE TEST AND SELF-TEST OPTIONS: -t TEST, --test=TEST"", SMARTCTL, http://smartmontools.sourceforge.net/man/smartctl.8.html 
  86. HDDScan, http://hddscan.com/  – free HDD test utility with USB flash and RAID support.
  87. Evans, Mark (26 April 1999), Hard Drive Self-tests, Milpitas, CA US: T10, http://www.t10.org/ftp/t10/document.99/99-179r0.pdf 
  88. Bulik, Darrin (Sep 24, 2001), Proposal for Extensions To Drive Self Test, Lake Forest, California: T10, http://www.t10.org/t13/technical/e01137r0.pdf 
  89. McLean, Pete (23 October 2001), Proposal for a Selective Self-test, Longmont, CO: T10, http://www.t10.org/t13/technical/e01139r0.pdf 
  90. "HDD fails S.M.A.R.T. short test, but passes long test?". Hardware Canucks. http://www.hardwarecanucks.com/forum/storage/23040-hdd-fails-s-m-r-t-short-test-but-passes-long-test.html. 
  91. [1], Smartmontools mailing lists

Further reading

External links