From a63aaf55a505ff282431a0a4f1887152f1c605cb Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 7 Dec 2020 10:36:19 +0000 Subject: [PATCH] micron SMART 202 is percent lifetime used not remaining. almost gave myself a heart attack when my server said 7% remaining! --- sbin/atactl/atactl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/atactl/atactl.c b/sbin/atactl/atactl.c index a10fcf913cba..9ff79c8603ab 100644 --- a/sbin/atactl/atactl.c +++ b/sbin/atactl/atactl.c @@ -1,4 +1,4 @@ -/* $NetBSD: atactl.c,v 1.83 2019/05/30 21:32:08 mlelstv Exp $ */ +/* $NetBSD: atactl.c,v 1.84 2020/12/07 10:36:19 mrg Exp $ */ /*- * Copyright (c) 1998, 2019 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ #include #ifndef lint -__RCSID("$NetBSD: atactl.c,v 1.83 2019/05/30 21:32:08 mlelstv Exp $"); +__RCSID("$NetBSD: atactl.c,v 1.84 2020/12/07 10:36:19 mrg Exp $"); #endif @@ -418,7 +418,7 @@ static const struct attr_table micron_smart_names[] = { { 189, "Factory bad block count", NULL }, { 197, "Current pending ECC count", NULL }, { 198, "SMART offline scan uncorrectable error count", NULL }, - { 202, "Percent lifetime remaining", NULL }, + { 202, "Percent lifetime used", NULL }, { 206, "Write error rate", NULL }, { 247, "Number of NAND pages of data written by the host", NULL }, { 248, "Number of NAND pages written by the FTL", NULL },