Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Nov 2008 15:09:26 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>
Cc:        Carl <k0802647@telus.net>, Jeremy Chadwick <koitsu@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: gmirror slice insertion, "FAILURE - READ_DMA status=51<READY, DSC, ERROR>"
Message-ID:  <490CB776.6010401@cyberleo.net>
In-Reply-To: <200810311736.09706.Thomas.Sparrevohn@btinternet.com>
References:  <49067148.6080307@telus.net> <49082625.7080804@telus.net>	<20081029100439.GA73714@icarus.home.lan> <200810311736.09706.Thomas.Sparrevohn@btinternet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?490CB776.6010401>