Deutsch English Français Italiano |
<v9mpcq$1b2p4$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Steven G. Kargl" <sgk@REMOVEtroutmask.apl.washington.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: data-preserving HDD diagnostic program? Date: Fri, 16 Aug 2024 05:51:22 -0000 (UTC) Organization: A noiseless patient Spider Lines: 26 Message-ID: <v9mpcq$1b2p4$1@dont-email.me> References: <ydzfpdst1y.fsf@UBEblock.psr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 16 Aug 2024 07:51:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a89175c2eb0a428418cd15ac33bb13c6"; logging-data="1411876"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kQGX1uwOldzCaWYCItpGY" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Cancel-Lock: sha1:lK6CmMVptXBC9uvVka7AIFHPj1s= On Thu, 15 Aug 2024 11:29:45 -0400, Winston wrote: > Is there a good FreeBSD HDD diagnostic program? > > The SATA III disk drive I'd like to test is either partially failing or > has corrupted data. MS Win10's "repair" of the drive isn't fixing it. > For that and other reasons, I suspect the drive has partially died > (such as maybe 1 head died or something). > > In any case, I'd like to test it while preserving the data on it. > E.g., read a block and save its content, write 0101s, verify 0101s, > write 1010s, verify 1010s, write back original content, verify, print > map of what failed. > > It's maybe not all that hard to write such a program, but there are > probably things like disabling low-level retries and any FreeBSD > caching I know less about. > > In any case, is there such a diagnostic? > Look in /usr/ports/sysutils. There are several tools such as smartmontools, hdrecover, recoverdm, etc. -- steve