Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <ydzfpdst1y.fsf@UBEblock.psr.com>
Deutsch   English   Français   Italiano  
<ydzfpdst1y.fsf@UBEblock.psr.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Winston <wbe@UBEBLOCK.psr.com.invalid>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: data-preserving HDD diagnostic program?
Date: Thu, 15 Aug 2024 11:29:45 -0400
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <ydzfpdst1y.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 15 Aug 2024 17:29:43 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7322ed3cc4f4bb9ea035a2ffb541d2f9";
	logging-data="1057735"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/+EPsvwlRyy3aJYqk9NQ5W"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:JKaaRfz5Ua/ijjApKAuKgawzk00=
	sha1:ETxnim/9l4DYy4lQruV/iNkVC1A=
Mail-Copies-To: never

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?

TIA,
 -WBE