Defines

Attribute IDs
[SMART APIs]

Defines

#define ATTR_INVALID   0x0
#define ATTR_READ_ERROR_RATE   0x1
 Raw Read Error Rate: Represents the rate of uncorrected read errors. Lower values indicate that there is a problem with either disk surface or read/write heads.
#define ATTR_THROUGHPUT_PERF   0x2
 Throughput Performance: Represents the throughput performance of the drive, i.e. The speed at which the drive is reading and writing data.
#define ATTR_SPIN_UP_TIME   0x3
 Spin Up Time: Represents the average amount of time required to spin up the drive spindle to operational speed from a stopped state.
#define ATTR_START_STOP_COUNT   0x4
 Start/Stop Count: Represents the number of start/stop cycles for the drive. The raw value indicates the count of start/stop cycles for the drive. The drive being powered on/off or suspended/woken up are considered as start/stop cycles.
#define ATTR_REALLOC_SECTOR_COUNT   0x5
 Reallocated Sector Count: Represents the amount of spare sector pool available. Spare sectors are used to replace sectors that became bad for some reason (for instance, if a read error occurs). Therefore the more sectors reallocated, the worse the condition of the drive. A high value represents few reallocated sectors, a low value represents a disk in poor physical condition.
#define ATTR_READ_CHANNEL_MARGIN   0x6
 Read Channel Margin: Margin of a channel while reading data. The function of this attribute is not specified.
#define ATTR_SEEK_ERROR_RATE   0x7
 Seek Error Rate: Represents the number of seek errors. Each time the drive attempts a seek operation, but fails to position its head correctly, the seek error rate increases.
#define ATTR_SEEK_TIME_PERF   0x8
 Seek Time Performance: Represents how efficiently the drive is performing seek operations. A low value indicates problems with the drive subsystem, for instance the servo responsible for positioning the head.
#define ATTR_POWER_ON_TIME   0x9
 Power On Hours Count: This is an informative attribute, the raw value of which displays the number of hours the drive has been powered on for.
#define ATTR_SPIN_RETRY_COUNT   0xA
 Spin Retry Count: Represents the number of times a drive fails to spin its spindle up to operation speed on the first attempt. The lower the value, the more retries have occurred.
#define ATTR_CALIBRATION_RETRY_COUNT   0xB
 Calibration Retry Count: Calibration is the act of repositioning the drive read/write head to cylinder 0. This value represents the number of times a calibration has failed on the first attempt.
#define ATTR_POWER_CYCLE_COUNT   0xC
 Power Cycle Count: Informative attribute, the raw value of which represents the number of drive power on/drive power off cycles for the disk.
#define ATTR_SOFT_READ_ERROR_RATE   0xD
 Soft Read Error Rate: Uncorrected read errors reported to the operating system.
#define ATTR_DOWNSHIFT_ERROR_COUNT   0xB7
#define ATTR_END_TO_END_ERROR   0xB8
#define ATTR_HEAD_STABILITY   0xB9
#define ATTR_INDUCED_OP_VIB_DETECT   0xBA
#define ATTR_UNCORRECTABLE_ERRORS   0xBB
#define ATTR_COMMAND_TIMEOUT   0xBC
#define ATTR_COMMAND_HIGH_FLY_WRITES   0xBD
#define ATTR_100_MINUS_TEMPERATURE   0xBE
 Temperature Difference from 100: The exact specification of this attribute is not quite stable. This is what it is known as on Seagate drives whereas it is called Airflow Temperature on Western Digital hard disks. In either case this attribute usually has to do with subtracting the temperature from 100 to give a value that is worse when it is lower.
#define ATTR_GSENSE_ERROR_RATE_BF   0xBF
 G-Sense Error Rate: Frequency of mistakes as a result of impact loads.
#define ATTR_POWER_OFF_RETRACT_COUNT   0xC0
 Power-off Retract Count: Number of times the heads are loaded off the media. Heads can be unloaded without actually powering off.
#define ATTR_LOAD_CYCLE_COUNT   0xC1
 Load/Unload Cycle: Count of load/unload cycles into head landing zone position.
#define ATTR_TEMPERATURE_C2   0xC2
 Temperature: Informative attribute, the raw value of which represents the current temperature in Celsius of the drive.
#define ATTR_HARDWARE_ECC_RECOVERED   0xC3
 Hardware ECC Recovered: Time between ECC-corrected errors.
#define ATTR_REALLOC_EVENT_COUNT   0xC4
 Reallocation Event Count: Represents the number of reallocation events, which have taken place. Sometimes multiple sectors are reallocated together – this corresponds to one reallocation event. (See also: Reallocated Sector Count and Current Pending Sector Count).
#define ATTR_PENDING_SECTOR_COUNT   0xC5
 Current Pending Sector Count: Represents the number of sectors currently pending reallocation.
#define ATTR_UNCORRECTABLE_SECTOR_COUNT   0xC6
 Uncorrectable Sector Count: The total number of uncorrectable errors when reading/writing a sector.
#define ATTR_ULTRADMA_CRC_ERROR_COUNT   0xC7
 Ultra ATA CRC Error Count: Represents the number of CRC error found in the Ultra DMA high-speed transfer mode. (CRC stands for Cyclic Redundancy Check and is data verification algorithm which uses polynomial checksums).
#define ATTR_WRITE_ERROR_COUNT   0xC8
 Write Error Count: Represents the rate of uncorrected write errors. Lower values indicate that there is a problem with either disk surface or read/write heads.
#define ATTR_OFF_TRACK_ERRORS   0xC9
 Soft Read Error Rate: Number of off-track errors.
#define ATTR_DATA_ADDRESS_MARK_ERRORS   0xCA
 Data Address Mark errors: Number of Data Address Mark errors.
#define ATTR_ECC_ERRORS   0xCB
 Run Out Cancel: Number of ECC errors.
#define ATTR_SOFT_ECC_CORRECTION   0xCC
 Soft ECC Correction: Number of errors corrected by software ECC.
#define ATTR_THERMAL_ASPERITY_RATE   0xCD
 Thermal asperity rate (TAR ): Number of thermal asperity errors.
#define ATTR_FLYING_HEIGHT   0xCE
 Flying Height: Height of heads above the disk surface.
#define ATTR_SPIN_HIGH_CURRENT   0xCF
 Spin High Current: Amount of high current used to spin up the drive.
#define ATTR_SPIN_BUZZ   0xD0
 Spin Buzz: Number of buzz routines to spin up the drive.
#define ATTR_OFFLINE_SEEK_PERFORMANCE   0xD1
 Offline Seek Performance: Drive’s seek performance during offline operations.
#define ATTR_VIBRATION_DURING_WRITE   0xD3
#define ATTR_SHOCK_DURING_WRITE   0xD4
#define ATTR_DISK_SHIFT   0xDC
 Disk Shift: Distance the disk has shifted relative to the spindle (usually due to shock).
#define ATTR_GSENSE_ERROR_RATE_DD   0xDD
 GSense Error rate: The number of errors resulting from externally-induced shock & vibration.
#define ATTR_LOADED_HOURS   0xDE
 Loaded Hours: Time spent operating under data load (movement of magnetic head armature).
#define ATTR_LOAD_UNLOAD_RERTY_COUNT   0xDF
 Load/Unload retry count: Number of times head changes position.
#define ATTR_LOAD_FRICTION   0xE0
 Load Friction: Resistance caused by friction in mechanical parts while operating.
#define ATTR_LOAD_UNLOAD_CYCLE_COUNT   0xE1
 Load/Unload Cycle Count: Total number of load cycles.
#define ATTR_LOAD_IN_TIME   0xE2
 Load 'In'-time: Total time of loading on the magnetic heads actuator (time not spent in parking area).
#define ATTR_TORQUE_AMPLIFICATION_COUNT   0xE3
 Torque Amplification Count: Number of attempts to compensate for platter speed variations.
#define ATTR_POWEROFF_RETRACT_CYCLE   0xE4
 Power off retract cycle: The number of times the magnetic armature was retracted automatically as a result of cutting power.
#define ATTR_GMR_HEAD_AMPLITUDE   0xE6
 GMR Head Amplitude: Amplitude of "thrashing" (distance of repetitive forward/reverse head motion).
#define ATTR_TEMPERATURE_E7   0xE7
 Temperature: Drive Temperature, unknown units.
#define ATTR_HEAD_FLYING_HOURS   0xF0
 Head Flying Hours: Time while head is positioning.
#define ATTR_TOTAL_LBAS_WRITTEN   0xF1
#define ATTR_TOTAL_LBAS_READ   0xF2
#define ATTR_READ_ERROR_RETRY_RATE   0xFA
 Read Error Retry Rate: Number of errors while reading from a disk.
#define ATTR_FREE_FALL_PROTECTION   0xFE

Define Documentation

#define ATTR_INVALID   0x0
#define ATTR_READ_ERROR_RATE   0x1

Raw Read Error Rate: Represents the rate of uncorrected read errors. Lower values indicate that there is a problem with either disk surface or read/write heads.

#define ATTR_THROUGHPUT_PERF   0x2

Throughput Performance: Represents the throughput performance of the drive, i.e. The speed at which the drive is reading and writing data.

#define ATTR_SPIN_UP_TIME   0x3

Spin Up Time: Represents the average amount of time required to spin up the drive spindle to operational speed from a stopped state.

#define ATTR_START_STOP_COUNT   0x4

Start/Stop Count: Represents the number of start/stop cycles for the drive. The raw value indicates the count of start/stop cycles for the drive. The drive being powered on/off or suspended/woken up are considered as start/stop cycles.

#define ATTR_REALLOC_SECTOR_COUNT   0x5

Reallocated Sector Count: Represents the amount of spare sector pool available. Spare sectors are used to replace sectors that became bad for some reason (for instance, if a read error occurs). Therefore the more sectors reallocated, the worse the condition of the drive. A high value represents few reallocated sectors, a low value represents a disk in poor physical condition.

#define ATTR_READ_CHANNEL_MARGIN   0x6

Read Channel Margin: Margin of a channel while reading data. The function of this attribute is not specified.

#define ATTR_SEEK_ERROR_RATE   0x7

Seek Error Rate: Represents the number of seek errors. Each time the drive attempts a seek operation, but fails to position its head correctly, the seek error rate increases.

#define ATTR_SEEK_TIME_PERF   0x8

Seek Time Performance: Represents how efficiently the drive is performing seek operations. A low value indicates problems with the drive subsystem, for instance the servo responsible for positioning the head.

#define ATTR_POWER_ON_TIME   0x9

Power On Hours Count: This is an informative attribute, the raw value of which displays the number of hours the drive has been powered on for.

#define ATTR_SPIN_RETRY_COUNT   0xA

Spin Retry Count: Represents the number of times a drive fails to spin its spindle up to operation speed on the first attempt. The lower the value, the more retries have occurred.

#define ATTR_CALIBRATION_RETRY_COUNT   0xB

Calibration Retry Count: Calibration is the act of repositioning the drive read/write head to cylinder 0. This value represents the number of times a calibration has failed on the first attempt.

#define ATTR_POWER_CYCLE_COUNT   0xC

Power Cycle Count: Informative attribute, the raw value of which represents the number of drive power on/drive power off cycles for the disk.

#define ATTR_SOFT_READ_ERROR_RATE   0xD

Soft Read Error Rate: Uncorrected read errors reported to the operating system.

#define ATTR_DOWNSHIFT_ERROR_COUNT   0xB7
#define ATTR_END_TO_END_ERROR   0xB8
#define ATTR_HEAD_STABILITY   0xB9
#define ATTR_INDUCED_OP_VIB_DETECT   0xBA
#define ATTR_UNCORRECTABLE_ERRORS   0xBB
#define ATTR_COMMAND_TIMEOUT   0xBC
#define ATTR_COMMAND_HIGH_FLY_WRITES   0xBD
#define ATTR_100_MINUS_TEMPERATURE   0xBE

Temperature Difference from 100: The exact specification of this attribute is not quite stable. This is what it is known as on Seagate drives whereas it is called Airflow Temperature on Western Digital hard disks. In either case this attribute usually has to do with subtracting the temperature from 100 to give a value that is worse when it is lower.

#define ATTR_GSENSE_ERROR_RATE_BF   0xBF

G-Sense Error Rate: Frequency of mistakes as a result of impact loads.

#define ATTR_POWER_OFF_RETRACT_COUNT   0xC0

Power-off Retract Count: Number of times the heads are loaded off the media. Heads can be unloaded without actually powering off.

#define ATTR_LOAD_CYCLE_COUNT   0xC1

Load/Unload Cycle: Count of load/unload cycles into head landing zone position.

#define ATTR_TEMPERATURE_C2   0xC2

Temperature: Informative attribute, the raw value of which represents the current temperature in Celsius of the drive.

#define ATTR_HARDWARE_ECC_RECOVERED   0xC3

Hardware ECC Recovered: Time between ECC-corrected errors.

#define ATTR_REALLOC_EVENT_COUNT   0xC4

Reallocation Event Count: Represents the number of reallocation events, which have taken place. Sometimes multiple sectors are reallocated together – this corresponds to one reallocation event. (See also: Reallocated Sector Count and Current Pending Sector Count).

#define ATTR_PENDING_SECTOR_COUNT   0xC5

Current Pending Sector Count: Represents the number of sectors currently pending reallocation.

#define ATTR_UNCORRECTABLE_SECTOR_COUNT   0xC6

Uncorrectable Sector Count: The total number of uncorrectable errors when reading/writing a sector.

#define ATTR_ULTRADMA_CRC_ERROR_COUNT   0xC7

Ultra ATA CRC Error Count: Represents the number of CRC error found in the Ultra DMA high-speed transfer mode. (CRC stands for Cyclic Redundancy Check and is data verification algorithm which uses polynomial checksums).

#define ATTR_WRITE_ERROR_COUNT   0xC8

Write Error Count: Represents the rate of uncorrected write errors. Lower values indicate that there is a problem with either disk surface or read/write heads.

#define ATTR_OFF_TRACK_ERRORS   0xC9

Soft Read Error Rate: Number of off-track errors.

#define ATTR_DATA_ADDRESS_MARK_ERRORS   0xCA

Data Address Mark errors: Number of Data Address Mark errors.

#define ATTR_ECC_ERRORS   0xCB

Run Out Cancel: Number of ECC errors.

#define ATTR_SOFT_ECC_CORRECTION   0xCC

Soft ECC Correction: Number of errors corrected by software ECC.

#define ATTR_THERMAL_ASPERITY_RATE   0xCD

Thermal asperity rate (TAR ): Number of thermal asperity errors.

#define ATTR_FLYING_HEIGHT   0xCE

Flying Height: Height of heads above the disk surface.

#define ATTR_SPIN_HIGH_CURRENT   0xCF

Spin High Current: Amount of high current used to spin up the drive.

#define ATTR_SPIN_BUZZ   0xD0

Spin Buzz: Number of buzz routines to spin up the drive.

#define ATTR_OFFLINE_SEEK_PERFORMANCE   0xD1

Offline Seek Performance: Drive’s seek performance during offline operations.

#define ATTR_VIBRATION_DURING_WRITE   0xD3
#define ATTR_SHOCK_DURING_WRITE   0xD4
#define ATTR_DISK_SHIFT   0xDC

Disk Shift: Distance the disk has shifted relative to the spindle (usually due to shock).

#define ATTR_GSENSE_ERROR_RATE_DD   0xDD

GSense Error rate: The number of errors resulting from externally-induced shock & vibration.

#define ATTR_LOADED_HOURS   0xDE

Loaded Hours: Time spent operating under data load (movement of magnetic head armature).

#define ATTR_LOAD_UNLOAD_RERTY_COUNT   0xDF

Load/Unload retry count: Number of times head changes position.

#define ATTR_LOAD_FRICTION   0xE0

Load Friction: Resistance caused by friction in mechanical parts while operating.

#define ATTR_LOAD_UNLOAD_CYCLE_COUNT   0xE1

Load/Unload Cycle Count: Total number of load cycles.

#define ATTR_LOAD_IN_TIME   0xE2

Load 'In'-time: Total time of loading on the magnetic heads actuator (time not spent in parking area).

#define ATTR_TORQUE_AMPLIFICATION_COUNT   0xE3

Torque Amplification Count: Number of attempts to compensate for platter speed variations.

#define ATTR_POWEROFF_RETRACT_CYCLE   0xE4

Power off retract cycle: The number of times the magnetic armature was retracted automatically as a result of cutting power.

#define ATTR_GMR_HEAD_AMPLITUDE   0xE6

GMR Head Amplitude: Amplitude of "thrashing" (distance of repetitive forward/reverse head motion).

#define ATTR_TEMPERATURE_E7   0xE7

Temperature: Drive Temperature, unknown units.

#define ATTR_HEAD_FLYING_HOURS   0xF0

Head Flying Hours: Time while head is positioning.

#define ATTR_TOTAL_LBAS_WRITTEN   0xF1
#define ATTR_TOTAL_LBAS_READ   0xF2
#define ATTR_READ_ERROR_RETRY_RATE   0xFA

Read Error Retry Rate: Number of errors while reading from a disk.

#define ATTR_FREE_FALL_PROTECTION   0xFE
 All Data Structures Files Functions Variables Enumerations Enumerator Defines