Avoiding bad sectors?

Daniel O'Connor doconnor at gsoft.com.au
Mon Aug 21 00:39:40 UTC 2006

On Monday 21 August 2006 09:51, Antony Mawer wrote:
> I brought this up on -stable the other day... see the thread titled "The
> need for initialising disks before use?" (17/08/06).

Knew it was somewhere recent :)

> 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...

Ouch.. Time to switch drive maker.

> Unfortunately dd'ing parts of an existing filesystem are a little more
> complicated than when dealing with a swap partition :-(

Yeah, you can do it but it is more complicated.

There was a patch floating around for fsdb which showed what file a particular 
block was associated with. I'm not sure if it ever got merged though.

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060821/26b34654/attachment.pgp

More information about the freebsd-current mailing list