From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 12 18:07:23 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8EE2F3AB for ; Sat, 12 Jan 2013 18:07:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 2D100248 for ; Sat, 12 Jan 2013 18:07:22 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r0CI7LnL008471; Sat, 12 Jan 2013 11:07:21 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r0CI7Hmd008468; Sat, 12 Jan 2013 11:07:17 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 12 Jan 2013 11:07:17 -0700 (MST) From: Warren Block To: Christian Gusenbauer Subject: Re: SATA disk disappears In-Reply-To: <201301120925.55068.c47g@gmx.at> Message-ID: References: <201301120925.55068.c47g@gmx.at> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 12 Jan 2013 11:07:22 -0700 (MST) Cc: freebsd-hackers@freebsd.org, Wojciech Puchar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2013 18:07:23 -0000 On Sat, 12 Jan 2013, Christian Gusenbauer wrote: > On Friday 11 January 2013 22:47:03 Warren Block wrote: >> On Fri, 11 Jan 2013, Wojciech Puchar wrote: >>>>> GEOM_MIRROR: Component ada2 (device home1) broken, skipping. >>>>> GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22). >>>>> >>>>> >>>>> started gmirror rebuild and it now works at full speed. >>>>> >>>>> GEOM_MIRROR: Device home1: rebuilding provider ada2. >>>>> >>>>> >>>>> What kind of hardware failure may it be? smartctl -a /dev/ada2 shows >>>>> disk is fine. >>>> >>>> I had a new WD drive recently that had a write error. Reallocated >>>> sector count did not go up, but it quickly failed the SMART self-test, >>>> short or long. See smartctl(8) about the -t parameters. >>> >>> this is WD "green" 3TB >> >> 1T Red here. The firmware is likely very similar. > > The same here: brandnew WD 2T green, 9.1 stable, svn rev. 244773, not using > GEOM. I had that problem two times within the last two weeks, but the smart > self tests can not find any errors/bad sectors. Hmm. The green drives are supposed to go to sleep for power saving, and then there's a multiple-second delay when they have to spin back up on access. That should not be a problem for gmirror, but maybe it is. sysutils/ataidle can turn on the spindown. Some drives do not accept that command, or claim to accept it but ignore it. Worth a try, though.