From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 11 03:55:31 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E44AAE93 for ; Fri, 11 Jan 2013 03:55:31 +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 A777CD02 for ; Fri, 11 Jan 2013 03:55:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r0B3tTBB023507; Thu, 10 Jan 2013 20:55:29 -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 r0B3tTxA023504; Thu, 10 Jan 2013 20:55:29 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 10 Jan 2013 20:55:29 -0700 (MST) From: Warren Block To: Wojciech Puchar Subject: Re: SATA disk disappears In-Reply-To: Message-ID: References: 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]); Thu, 10 Jan 2013 20:55:29 -0700 (MST) Cc: hackers@freebsd.org 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: Fri, 11 Jan 2013 03:55:32 -0000 On Fri, 11 Jan 2013, Wojciech Puchar wrote: > > got this on dell poweredge T110 server with 4 disks, including two 3TB drives > (ada2,ada3): > > ahcich2: Timeout on slot 8 port 0 > ahcich2: is 00000000 cs 1ffffe00 ss 1fffff00 rs 1fffff00 tfd 40 serr 00000000 > cmd 0000c817 > ahcich2: AHCI reset: device not ready after 31000ms (tfd = 00000080) > (ada2:ahcich2:0:0:0): lost device > GEOM_MIRROR: Request failed (error=6). ada2[WRITE(offset=2997587410944, > length=753664)] > GEOM_MIRROR: Device home1: provider ada2 disconnected. > (ada2:ahcich2:0:0:0): removing device entry > > > > did camcontrol reset 2, rescan 2 and ada2 reappeared > ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 > ada2: ATA-9 SATA 3.x device > ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada2: Command Queueing enabled > ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C) > 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.