Avoiding bad sectors?
fbsd-current at mawer.org
Mon Aug 21 00:22:10 UTC 2006
On 20/08/2006 7:52 PM, Daniel O'Connor wrote:
> On Sunday 20 August 2006 17:34, Doug Barton wrote:
>> Daniel O'Connor wrote:
>>> The disk should remap the sector, if it refuses to write to the sector
>>> because it's out of remappable sectors
>> You forgot to add, "and then immediately go out and buy a new disk because
>> that one is toast." :)
> Heh, well not necessarily although I personally would be shopping..
> If the disk gets a dud sector and can't read it it won't remap it until you
> write to it. (I've seen this happen and someone else posted about it too)
I brought this up on -stable the other day... see the thread titled "The
need for initialising disks before use?" (17/08/06).
I've seen numerously "young" disks showing up plenty of read errors
(which smartctl seems to confirm are coming from the disk, and not
driver etc related), and would love to see some way to easily "fix" the
problem... these are all < 6mth old SATA drives...
Unfortunately dd'ing parts of an existing filesystem are a little more
complicated than when dealing with a swap partition :-(
More information about the freebsd-current