On Sat, Feb 25, 2023, at 4:43 PM, Brian Conway wrote:
> The last times the attribute names were updated were 14 and 21 years
> ago. Modern drives, especially SSDs, get a lot of Unknown columns from
> the 'readattr' command.
>
> Attributes were coalesced from smartmontools, NetBSD's atactl, and
> Wikipedia's citations. Manufacturer-specific attributes and overrides
> were not attempted, as that's an imprecise art probably better left to
> smartmontools.
>
> Thanks for your time.
>
> Brian Conway
> RCE Software, LLC
ping
> diff --git sbin/atactl/atactl.c sbin/atactl/atactl.c
> index aaba61502..c4a1d20d5 100644
> --- sbin/atactl/atactl.c
> +++ sbin/atactl/atactl.c
> @@ -309,6 +309,28 @@ struct valinfo ibm_attr_names[] = {
> { 11, "Calibration Retry Count" },
> { 12, "Device Power Cycle Count" },
> { 13, "Soft Read Error Rate" },
> + { 100, "Erase/Program Cycles" },
> + { 103, "Translation Table Rebuild" },
> + { 160, "Uncorrectable Error Count" },
> + { 170, "Reserved Block Count" },
> + { 171, "Program Fail Count" },
> + { 172, "Erase Fail Count" },
> + { 173, "Wear Worst Case Erase Count" },
> + { 174, "Power-Off Retract Count" },
> + { 175, "Program Fail Count" },
> + { 176, "Erase Fail Count" },
> + { 177, "Wear Leveling Count" },
> + { 178, "Used Reserved Block Count" },
> + { 179, "Used Reserved Block Count Total" },
> + { 180, "Unused Reserved Block Count Total" },
> + { 181, "Program Fail Count Total" },
> + { 182, "Erase Fail Count" },
> + { 183, "Runtime Bad Block" },
> + { 184, "End-to-End error" },
> + { 185, "Head Stability" },
> + { 186, "Induced Op-Vibration Detection" },
> + { 187, "Reported Uncorrectable Errors" },
> + { 188, "Command Timeout" },
> { 189, "High Fly Writes" },
> { 190, "Airflow Temperature" },
> { 191, "G-Sense Error Rate" },
> @@ -341,8 +363,15 @@ struct valinfo ibm_attr_names[] = {
> { 228, "Power-Off Retract Count" },
> { 230, "GMR Head Amplitude" },
> { 231, "Temperature" },
> + { 232, "Available reserved space" },
> + { 233, "Media wearout indicator" },
> + { 235, "Power-Off Retract Count" },
> { 240, "Head Flying Hours" },
> + { 241, "Total LBAs Written" },
> + { 242, "Total LBAs Read" },
> + { 249, "NAND Writes (1GB)" },
> { 250, "Read Error Retry Rate" },
> + { 254, "Free Fall Sensor" },
> { 0, NULL },
> };