SMART

From Leo's Notes
Revision as of 18:20, 18 December 2019 by Leo (talk | contribs) (Created page with "SMART (Self-Monitoring, Analysis and Reporting Technology) is a monitoring system included in all computer hard drives and solid state drives. == Usage == On Linux, install t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 18 December 2019, at 18:20.

SMART (Self-Monitoring, Analysis and Reporting Technology) is a monitoring system included in all computer hard drives and solid state drives.

Usage

On Linux, install the smartmon-tools package. Use the smartctl utility.

Show Disk Information

To show all capabilities, monitored attributes, errors, etc. of a particular disk, run:

# smartctl -a /dev/sda

Run Self-Test

Use the short option to begin a self-test on the device. To abort a test, use the -X or --abort option.

Attributes

Some attributes of note.

Reallocated_Sector_Ct
Disks automatically remap bad sectors to a pool of reserved sectors. This attribute is the number of sectors that have been reallocated.
Current_Pending_Sector
The number of sectors that the disk had issues reading. The sector will be reallocated when either: 1. the sector can be read properly or 2. the sector is written over.

See Also