Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2008 08:55:34 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        z.szalbot@lc-words.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: RAID 1 / disk error / Offline uncorrectable sectors
Message-ID:  <20080616085534.ca7524f8.wmoran@potentialtech.com>
In-Reply-To: <48565E7A.50807@lc-words.com>
References:  <48565E7A.50807@lc-words.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Zbigniew Szalbot <z.szalbot@lc-words.com>:
> 
> A couple of days ago smartd let me know about a disk problem.
> 
> Jun 14 01:13:38 relay kernel: ad12: FAILURE - READ_DMA48 
> status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=374468863
> Jun 14 01:13:38 relay kernel: ar0: WARNING - mirror protection lost. 
> RAID1 array in DEGRADED mode
> Jun 14 01:14:19 relay kernel: ad12: WARNING - WRITE_DMA taskqueue 
> timeout - completing request directly
> Jun 14 01:14:19 relay kernel: ad12: WARNING - WRITE_DMA48 freeing 
> taskqueue zombie request
> Jun 14 01:37:38 relay smartd[683]: Device: /dev/ad12, 1 Currently 
> unreadable (pending) sectors
> Jun 14 01:37:38 relay smartd[683]: Device: /dev/ad12, 1 Offline 
> uncorrectable sectors
> 
> If I do smarctl -a /dev/ad12 I get
> 
> 197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always 
>        -       1
> 198 Offline_Uncorrectable   0x0010   100   100   000    Old_age 
> Offline      -       1
> 
> My understanding is that RAID 1 no longer works because of this error. 
> There is a bad sector on HD (Offline uncorrectable sectors) and the best 
> we can do is replace the drive? Does it make sense to try to turn RAID 1 
> on ignoring this error (however, this is done in BIOS so the machine 
> would have to be taken down in order to do that)? It seems serious 
> enough for me not to ignore it but then I know close to nothing about HDs.

Replace the hard drive.  Every modern hard drive keeps extra space available
to "remap" bad sectors.  This happens magically behind the scenes without
you ever knowing about it.  Once you've hit "uncorrectable" errors, it means
your re-mappable sectors are used up, and that means the drive is on its
last legs.

-- 
Bill Moran
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080616085534.ca7524f8.wmoran>