From nobody Mon Sep 26 09:01:38 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MbcFS5FkNz4dTWX for ; Mon, 26 Sep 2022 09:01:48 +0000 (UTC) (envelope-from vogelke@pobox.com) Received: from rschi.hcst.net (mail.hcst.net [192.237.246.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.hcst.net", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MbcFR56Cbz3PF4 for ; Mon, 26 Sep 2022 09:01:47 +0000 (UTC) (envelope-from vogelke@pobox.com) Received: from ispcweb01.hcst.com (ispcweb01.hcst.com [192.52.183.243]) by rschi.hcst.net (8.14.4/8.14.4/Debian-4+deb7u1) with SMTP id 28Q91dHo006095; Mon, 26 Sep 2022 05:01:39 -0400 Date: Mon, 26 Sep 2022 05:01:38 -0400 From: Karl Vogel To: questions@freebsd.org Subject: Re: disk non-destructive bad-block write/fix? Message-ID: <20220926090138.GA29058@ispcweb01.hcst.com> Reply-To: vogelke@pobox.com List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 4MbcFR56Cbz3PF4 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=pobox.com (policy=none); spf=neutral (mx1.freebsd.org: 192.237.246.219 is neither permitted nor denied by domain of vogelke@pobox.com) smtp.mailfrom=vogelke@pobox.com X-Spamd-Result: default: False [1.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; FAKE_REPLY(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(0.98)[0.984]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[pobox.com : No valid SPF, No valid DKIM,none]; ASN(0.00)[asn:19994, ipnet:192.237.224.0/19, country:US]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_SPF_NEUTRAL(0.00)[?all]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[vogelke@pobox.com] X-ThisMailContainsUnwantedMimeParts: N On 9/19/22 11:45 PM, grarpamp wrote: > Store a sha256 of all the files, read them back to verify and compare > to that. >> On Sun, 25 Sep 2022, Gary Aitken replied: G> Can you post a script that does this? (Save me (and others?) some effort). G> If you already do this, what is the sequence? Here's some code plus a description of how I keep track of file permissions, contents, etc. It's a little long to post. https://www.reddit.com/r/DataHoarder/comments/c9t99s/looking_for_a_find_manifest_ingester_and_analyser/et4zdua/ https://www.reddit.com/r/commandline/comments/w7xk95/ -- Karl Vogel / vogelke AT pobox DOT com / I don't speak for anyone at the moment INSTRUCTIONS ON PACKAGING FOR A ROWENTA IRON: Do not Iron clothes on body.