better disk reliability on a desktop machine

Nick Barnes Nick.Barnes at pobox.com
Mon Jul 18 11:37:06 GMT 2005


At 2005-07-15 23:58:27+0000, Alex Zbyslaw writes:
> Nick Barnes wrote:
> 
> >Here are my previous questions on the related subject, some 4 years
> >ago now:
> >
> ><http://docs.freebsd.org/cgi/getmsg.cgi?fetch=872461+0+archive/2001/freebsd-questions/20010617.freebsd-questions>
> >  
> >
> Shame no-one answered your badsect question.  Did you ever figure it out?

No.  I hope to have enough time to code this up myself this time.
It's a Small Matter of Programming to grovel over the filesystem to
figure out what a particular sector does.

I'm a little disappointed that fsdb doesn't do this.  Maybe I should
start by hacking on fsdb.

I have recently discovered the "conv=noerror,sync" option to dd.  In
combination with a background shell script which repeatedly runs
"atacontrol mode 0 udma6 udma6", this lets me recover all the readable
bits from a broken filesystem quite fast.

Nick B


More information about the freebsd-questions mailing list