From owner-freebsd-fs@freebsd.org Tue Mar 27 14:33:01 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 B6458F5A7C4 for ; Tue, 27 Mar 2018 14:33:01 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 52A9768A9C for ; Tue, 27 Mar 2018 14:33:00 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-it0-x22e.google.com with SMTP id r19-v6so2092128itc.0 for ; Tue, 27 Mar 2018 07:33:00 -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=jQ6DL2hCjp68jWG6AaUTBYbJkZmWmzpfgJ/mG2W1gPc=; b=XcNAFjTqK/srEVtkpP7Olvj32XurSEKAMjzwAto83O5QM5zWj4zfBXXwpkPh+lhzby vOAFtDAy7ni6ZIloytQvhaGhyTHpOVnApBZ/BZk/a+K/2hDtjVyI+3iM8ud8oC0PNcKj NjS5G406CgiEWNPTs6tV45L62X0sPSRrZpoxuQRsd5rc0tA/IsvZfzwf1HcHsDrmif5Q satI0n3YU9wcjFUFCOTESIA1oP0IPpsLuNLdI8KgaI4Xvsc0Kq/kt4ZnruyoMxuXn93V dJZXa/Y44evQkpD0fu9BujoMVIHcwBJ901FpXpggnsgjfkU2y4HjswxEV7NmRfHggElk CI4g== 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=jQ6DL2hCjp68jWG6AaUTBYbJkZmWmzpfgJ/mG2W1gPc=; b=EUlfmT2zw/stIEm2eF89Hcvc0Xk4ROq2WYOHxrBKBJjjRvnz74wX9Q1zqDRnDW4j4S 8FQ+D9z5tzPGvXzdisJTGkbx3h5jujJD47037AG90/PKhQ0JhUZyx3ohsfGtVBZOsboF 5azpcfqa4ysx/gEpyWzSFjeGaucaM9iiedxZ7bzXE8lrao9mzMgrYoSLtJ1JRdAqicHs 0D+oUh55kLdyEoZ+eQVRu6idvlhMo1elGrJBldP4b/hCr1CmBd3SsXYQlQeLWDGZt+l4 PhrAUz56Xy4f5MNmWXDmFTD5RbpFGYS6CqUt+5cg8FBLt9Y1M+EdP1rG1oLoGLewHLmC PuVQ== X-Gm-Message-State: AElRT7H1rdtXleaJodV7dCNDqWgfnie3XxKx/OADrsCdK+gnVWKrImJd 8UteOJVFBv4uAYTZxboBHqYYiHok9jS0wOjwcpa7C3zkj60NKw== X-Google-Smtp-Source: AIpwx4+NlSfte0azkKYI6IEa4Q+0HECziXo3846pHjJgE2pu6o+F0hPxnOAVdpEqbVjy2AEWUFnFWjbJFTMCZv0X8m0= X-Received: by 2002:a24:130e:: with SMTP id 14-v6mr5777231itz.151.1522161180159; Tue, 27 Mar 2018 07:33:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.6.10 with HTTP; Tue, 27 Mar 2018 07:32:59 -0700 (PDT) In-Reply-To: References: <4754cb2f-76bb-a69b-0cf5-eff4d621eb29@callfortesting.org> From: Chuck Tuffli Date: Tue, 27 Mar 2018 07:32:59 -0700 Message-ID: Subject: Re: smart(8) Call for Testing To: Mark Saad Cc: Michael Dexter , freebsd-fs@freebsd.org 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 14:33:01 -0000 On Mon, Mar 26, 2018 at 1:59 PM, Mark Saad wrote: ... > I was thinking more along the lines of when smartctl reports the overall-health > which is always a good time to read; and very Monty Python-eske > > SMART overall-health self-assessment test result: FAILED! > Drive failure expected in less than 24 hours. SAVE ALL DATA. > > https://serverfault.com/questions/114196/smart-warns-me-but-i-dont-trust-it This app is different from others in that it only reports the values; it is up to the user / script / etc. to provide analysis. In the serverfault example, spin-up time is attribute ID 3. One of my drives shows: $ smart -t da0 | grep "208 3" 208 3 39 0 100 100 1029 smartctl shows it as follows $ smartctl -A /dev/da0 ... 3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1029 It would be up to the user or script to decide at what point this might indicate an imminent failure. --chuck