ATA SMART
ATA SMART is the ATA interface for retrieving drive self-monitoring attributes, status and logs from supporting devices.
ATA SMART attributes have separate raw values, normalized values and thresholds. The Pre-fail type label alone does not indicate a threshold crossing. Model and firmware context are necessary for interpreting raw fields.
Health status comes from the boolean result of the SMART RETURN STATUS command. A failing result means the device has failed or predicts its own failure within the next 24 hours. A RAID controller or USB bridge can hide that result, and monitoring tools then fall back to comparing Pre-fail attributes with their thresholds. [2]
The summary error log keeps the five most recent non-trivial errors, and the self-test log keeps the 21 most recent self-tests. Self-test time stamps count power-on hours in 16 bits and wrap after 2730 days and 16 hours, about 7.5 years. The extended self-test log supports 48-bit LBAs with up to 19 entries per sector. [2]
In one large field study, drives were over 21 times more likely to fail within 60 days after their first offline reallocation, a count limited to sectors found during background scrubbing. [4]
Relations
- related
- S.M.A.R.T., Serial ATA (SATA), Bad block management, SMART raw value, SMART normalized value, smartctl exit status, PATA, SCSI / ATA Translation (SAT), Pending sector
Advantages
- Error and self-test logs record power-on time and the first failing LBA, which helps locate media problems. [2]
Limitations
- The number of extended log sectors is device-specific, so log depth varies between drives. [2]
- Some drive models count offline reallocations inconsistently, reporting more offline than total reallocations. [4]
Citations
- smartmontools 7.5 smartctl manual: -A attributes and -v raw-value formats
- Pinheiro, Weber and Barroso. Failure Trends in a Large Disk Drive Population. FAST 2007
Further reading
Sources & caveats
- smartctl is the smartmontools 7.5 manual page, reread on the access date in the -H and -l sections.
- pinheiro is the FAST 2007 field study by Pinheiro, Weber and Barroso (Google), read in section 3.5.3.
- 24 hours, five, 21, 16 bits, 2730 days and 16 hours, 7.5 years, 48-bit and 19 come from smartctl. 21 times and 60 days come from pinheiro.
- c1 is left unchanged.