From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 20:09:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B352C106571B for ; Sat, 1 Nov 2008 20:09:28 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 87A968FC2B for ; Sat, 1 Nov 2008 20:09:28 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.14] (unknown [75.4.162.61]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 5E05111666; Sat, 1 Nov 2008 16:09:27 -0400 (EDT) Message-ID: <490CB776.6010401@cyberleo.net> Date: Sat, 01 Nov 2008 15:09:26 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.17 (X11/20081004) MIME-Version: 1.0 To: Thomas Sparrevohn References: <49067148.6080307@telus.net> <49082625.7080804@telus.net> <20081029100439.GA73714@icarus.home.lan> <200810311736.09706.Thomas.Sparrevohn@btinternet.com> In-Reply-To: <200810311736.09706.Thomas.Sparrevohn@btinternet.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Cc: Carl , Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: gmirror slice insertion, "FAILURE - READ_DMA status=51" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2008 20:09:28 -0000 Thomas Sparrevohn wrote: > The error occured after I had the disk for a couple of days - WHat puzzled me was that the drive > did not do it automatically Hard disks will not map uncorrectable bad sectors on read automatically, as it no longer knows what the contents of that sector should be. In this instance, the sector is usually remapped during a write. Given the symptoms of the problem described above, it looks like this uncorrectable sector is located in a portion of the disk that isn't touched by FreeBSD's newfs or installation procedure, and would never have a chance to be written to and corrected. Then, when the mirror sync occurs (which copies every block verbatim, regardless of whether it's in use or not) it's choking on that sector and locking up the disk, thus freezing the OS. One thing to try prior to RMAing the disk is to fill the entire disk with zeroes (dd if=/dev/zero of=/dev/ad6 bs=131072 or similar) to give its firmware a chance to remap all flakey sectors, and rewrite all ECC information. I do this with every new or freshly acquired disk that's guaranteed to be empty, to ensure that no surprise errors bite me later on, as well as to make sure no previous data hangs around. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/