From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AA25D13877A for ; Tue, 1 Jul 2014 10:48:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4AE2E08E0; Tue, 1 Jul 2014 10:48:11 +0000 (UTC) Received: from mail-ve0-f194.google.com (mail-ve0-f194.google.com [209.85.128.194]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1F58E08D1 for ; Tue, 1 Jul 2014 10:48:10 +0000 (UTC) Received: by mail-ve0-f194.google.com with SMTP id jz11so2484460veb.9 for ; Tue, 01 Jul 2014 03:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=aY9Xdptrxhi0pc80CXCDlNaImItRxRsSiN5szEQy/Rw=; b=iqrasIWmRJ18atSumc1fC3TWPVRXgplTFG/PuJUJ48cRVnGJdq0/zAU5H9zlM82rQn dhR8TTobOMgKKCQecYnjEsst0TRKYYR165L/V/8O8ncs4Fp2QglLOnAn9Ti9qPwhEoAV iM8WQaV9798yo0EfgX/zQ33X9HJbqftvpPCPmzl0xItKaE9xay6h934C8vRDGWzzmGtQ i9ROQGHNxI+GM68Ecb03CTW2BSLVDnQqf2oDcw9R7k2dgZDJ3rmTMHik46lCXHDNUKND 5Dt65OKiMbwbYgdM3UrrlqK8tJImqRFATlB0sTviC0S/wH6fcH9lZecnn6tPIZzCGZ5Y 8nWA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.52.24.68 with SMTP id s4mr690262vdf.37.1404211689694; Tue, 01 Jul 2014 03:48:09 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.72.19 with HTTP; Tue, 1 Jul 2014 03:48:09 -0700 (PDT) In-Reply-To: <1518750.8CJUKWmEcq@andromeda> References: <53AA050F.4070907@gmail.com> <201407010652.12440.michaelkintzios@gmail.com> <1518750.8CJUKWmEcq@andromeda> Date: Tue, 1 Jul 2014 06:48:09 -0400 X-Google-Sender-Auth: 7jw0C2mEXwEkPZ2wjoNIkg3g39c Message-ID: Subject: Re: [gentoo-user] smartctrl drive error @60% From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 7980cdf1-21d5-4bd6-acbe-c6fea2c10642 X-Archives-Hash: a45c1d2fa11a47d3d00fdc3ce61c3c13 On Tue, Jul 1, 2014 at 2:09 AM, J. Roeleveld wrote: > On Tuesday, July 01, 2014 06:52:10 AM Mick wrote: >> >> What triggers a relocation? I also have a drive which shows a sector >> relocation pending, but for a few days now and after some tests that showed >> no errors, it won't relocate it. > > I think a write to that sector should force a relocation. > In theory either a write to that sector or a successful read should trigger a relocation. In practice, I've never seen a drive actually do this - maybe I just manage to pick drives with braindead firmware. When I write to a pending sector, the pending sector count goes down, but the relocated sector count doesn't change, and usually in a few days I have another pending sector. The last time I had a drive fail I was running md raid, so a scrub fixed all the pending sectors automatically, but the drive firmware wasn't doing its part to relocate them. Either that, or the drive had run out of spare sectors and wasn't reporting this via SMART. Rich