From owner-freebsd-fs@freebsd.org Mon Mar 26 20:59:30 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 8DEC1F6B4BA for ; Mon, 26 Mar 2018 20:59:30 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 068A473D10 for ; Mon, 26 Mar 2018 20:59:30 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-wm0-x22b.google.com with SMTP id x4so5585149wmh.5 for ; Mon, 26 Mar 2018 13:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eYd3R1RCJ4BjjQlOTGJLtRmpU53h8k1nOxkXMYsEOVA=; b=qXjJ2MjEAzTih7W9lM4athBUJSKZheTMISG3F59JV91EthSWhIH2NJCzlYLIffGi6M WreHIpYRNP2zcXiGBGamd7T4Bqe/x5dFhiLdbj7LFHlqHEDaWIyxM1iF21eJvgPofd/t dGOGSsmJBwvi8LyLYDrrRXr2ahvUmEpHvEpu5O9UsNjwCBJOXYfZ68yLK/0LGOkR9TRf dXPCTTuBIsqP/isZXnwceAILMLwlZcc2/bVQ/CncHScDmMpyEL/olpmhlvXLB3dVZvCA CiIyhKdgkThW4x3LoPxC9oGwqq/Vi1FlBc7WlVJSJamwHmMNvWHzdPZhS8e/G1SAj1Tr 2J/g== 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=eYd3R1RCJ4BjjQlOTGJLtRmpU53h8k1nOxkXMYsEOVA=; b=en+n81nuWTbpWwNnXVp00z692put1GqLS9obxxcMdHSPbGTyAnvEv6OM/D8aOh8HXG a5JquIzjsTloIYZE1VfOtKMrh1updchbEIqwbhvD46RzgPbjOs5VM0ZQ9TsMmi2qKOba uUkj95nnNA9F5LKWkQ3EKNiAgKgv7rDZljAFdJDaTdxAcF6MfrC9We1380NZHojdsyRy hwHxkCzoPfzELapKbkaq2WMd0oZEMED7JqNs9n6ZARKRhSvjhpExo1FGbIq71ik3YoGz 8fsjAst6cMfcq2tbQ/onUPRQguNlNifroKoFH5U7QQolmsVvqcXVPyW4ecgWNVgehRPo +t0g== X-Gm-Message-State: AElRT7ElvXxjcVzYTJZt/nOmfaF39ZVYLzkizw1OFEHFmOr8h+iMRXiB C1SK0t1XdIbYnurnCD5msvp9cfhz8NpW24pZTwQSyg== X-Google-Smtp-Source: AG47ELvdWOib77/7DUQ6DpvCLrd6e10hGo7vYuhLFqYSEUTKri8DulnpVm4c/JmfQISjVP8jQpUuRQYqj8Kx46wzegg= X-Received: by 10.80.146.170 with SMTP id k39mr37618031eda.110.1522097968959; Mon, 26 Mar 2018 13:59:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.140.35 with HTTP; Mon, 26 Mar 2018 13:59:28 -0700 (PDT) X-Originating-IP: [38.104.68.66] In-Reply-To: References: <4754cb2f-76bb-a69b-0cf5-eff4d621eb29@callfortesting.org> From: Mark Saad Date: Mon, 26 Mar 2018 16:59:28 -0400 Message-ID: Subject: Re: smart(8) Call for Testing To: Chuck Tuffli 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: Mon, 26 Mar 2018 20:59:30 -0000 On Mon, Mar 26, 2018 at 4:39 PM, Chuck Tuffli wrote: > On Mon, Mar 26, 2018 at 1:25 PM, Mark Saad wrote: >> Mike / Chuck >> Silly question , how does it handle a failed disk ? > > It depends on how failed the device is. The application uses CAM to > send pass-through commands. So, if the device doesn't appear in > camcontrol devlist, you'd get "no such device" or a message from CAM > indicating you might need to load a module. If the device is still > registered with the system but not processing commands, I'd expect > (hope?) the commands to timeout. In either case, there may not be any > out put, but the exit status should be non-zero. > > On the other hand, if the disk is in some sort of Monty Python-eske > "I'm not dead" state and responds to SMART / admin commands, you could > see the output. > > --chuck 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 -- mark saad | nonesuch@longcount.org