From owner-freebsd-fs@freebsd.org Tue Mar 27 16:52:19 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75343F6A207 for ; Tue, 27 Mar 2018 16:52:19 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 13A9C71A51 for ; Tue, 27 Mar 2018 16:52:18 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-it0-x22c.google.com with SMTP id r19-v6so95831itc.0 for ; Tue, 27 Mar 2018 09:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QI/Ld7mAlPyaqy8iPUoxPUGwa/WILMF8IinJUkJvMsk=; b=zDb84SMNAzzCDb4w52wRcMmI8mPgIbK/52s7wAXOaptwOqiinrraXzkL5B+XJrWS0Z UYin98O9eZTcXyJW/hElZw49X/MZk8jH8+0AvP69NsJ3XkDOdlKAeuiyDB3FjkVPQFql d0DpI8dpGBILeFk6UJasPjy7zJDikP0xrfDZWGaEmFZc01hZKoHTfp27f7+RNT7B4Ra8 1xq2Ptdwp3Pdb7V2CkjFn95Zzw18GiB0rBVGLgRv5Zn1mleCvdvfsdFMw1pb7i/pP9LZ QtKDHEl/25BpwhHrWAIwhr5rm953UJd4H8OYNQpGwybcxPmkCwztuq+/a3E8zUnDXBMi Hj8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QI/Ld7mAlPyaqy8iPUoxPUGwa/WILMF8IinJUkJvMsk=; b=Z0RnZxple6Gwfa+Uq6xpetzM+Q89BGbPZQopT1JbdrAxzzHrH+YSoiDENjX0aHf1Hh /4FRtu7U9Jj/z4eWA+3ov2M5vuX9ATJsBIb4IEKs4aYPsDOjp+tq4i+UgK0RxDYIBQia qgDKDnFv0otpJDaNOg3BxQFk3V88NGyzASOX1Baq2npDPHmiyhDiiNnn31Vbs/2MECxF WVXzxrVxyE7YupfpGEiSFTKmxPIseQWGlqWTnDUGVU1zfjPEnjbnDxdgchigyn/8FY18 m6V/to3nzTfv5CwldgyzHy/Ea9mOcn9naoBBq2U5fg02b+EyPuiHULncAzmXvaT4HZL0 ZFPQ== X-Gm-Message-State: AElRT7HTxdIHYbE3YnwRirGNUwNr+FATVZB7DOGurWYeyOMjNOIjEf76 8s8amRKYDu/+n92gJjDkQ2h3rLwUkP7wpc0ANQFqoA== X-Google-Smtp-Source: AIpwx4/FZkYXo9eW/sywTvVlDAtapFNq9Voxf+e1hZQ0rg0o2D6z48eBjDcU88ck/dGrXBeokFoeq7abfxZNaZXVTgM= X-Received: by 2002:a24:33c3:: with SMTP id k186-v6mr32641itk.5.1522169537788; Tue, 27 Mar 2018 09:52:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.6.10 with HTTP; Tue, 27 Mar 2018 09:52:17 -0700 (PDT) In-Reply-To: References: <4754cb2f-76bb-a69b-0cf5-eff4d621eb29@callfortesting.org> From: Chuck Tuffli Date: Tue, 27 Mar 2018 09:52:17 -0700 Message-ID: Subject: Re: smart(8) Call for Testing To: Stefan Esser Cc: Michael Dexter , FreeBSD File-Systems Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2018 16:52:19 -0000 On Tue, Mar 27, 2018 at 2:22 AM, Stefan Esser wrote: ... > not sure, whether this is a problem, but I get a surprising result for my 6GB > WD-Red SATA drives: ... > 208 5 197 2 0 0 0 > 208 1 10 0 0 0 0 > > The last two rows re-use attribute IDs seen before, are out of order and do > not report the values I'd expect. These rows are missing from the smartctl -a > output: Best I can tell, smartctl won't print an attribute if: - the ID == 0 - user requests only currently failed with the pre-fail flag set - user requests only failed with/without the pre-fail flag set The ID isn't zero, so perhaps, it's one of the other conditions. Off list, can you send me the output from smartctl -a? > BTW: an option to print fixed width columns with headings or CSV format > with header line (or e.g. JSON) might be useful. > > And: While the first three columns are documented, the -t output is not. Noted. Thanks! --chuck