From: Roman Mamedov <rm@romanrm.net>
To: Victor Banon <banon.victor@gmail.com>
Cc: remi@georgianit.com, linux-btrfs@vger.kernel.org
Subject: Re: BTRFS errors following bad SATA connection
Date: Fri, 3 Jan 2025 17:09:00 +0500 [thread overview]
Message-ID: <20250103170900.7016c4c4@nvm> (raw)
In-Reply-To: <02affeaa-aafa-4225-94f6-bee621a9a4b6@gmail.com>
On Fri, 3 Jan 2025 09:21:45 +0100
Victor Banon <banon.victor@gmail.com> wrote:
> `find . -type f -exec cat {} >/dev/null +` returns over 5,000 entries
> now. After `echo check > /sys/block/md0/md/sync_action`, `cat
> /sys/block/md0/md/mismatch_cnt` returns over 3,900.
>
> When is it time to call it quits and reformat everything?
When it stops mounting :)
As is, surely it is easier to restore 3900 files from the backup rather than
everything?
The problem is, it could be that the transid mismatch errors won't go away
even if you replace all the files, or you might not be able to do so. Attempt
to delete or otherwise manipulate some of them might fail with the same errors
in dmesg.
> By the way, once I inevitably restore from a backup, is there any risk
> that I backed up invisibly corrupted files? I'm pretty sure my latest
> complete backup was after the SATA issues had started.
Should not be, unless your backup system silently stores half-copied files
into the backup until the point it got an I/O error, and does not warn you of
the error, or you miss the warning.
--
With respect,
Roman
next prev parent reply other threads:[~2025-01-03 12:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9443ea9c-08dc-4d08-81a6-cb91940e791e@gmail.com>
2025-01-01 18:25 ` BTRFS errors following bad SATA connection Victor Banon
2025-01-01 23:40 ` remi
2025-01-02 9:32 ` Victor Banon
2025-01-02 13:33 ` Roman Mamedov
2025-01-02 13:40 ` Victor Banon
2025-01-03 8:21 ` Victor Banon
2025-01-03 12:09 ` Roman Mamedov [this message]
2025-01-03 12:42 ` Victor Banon
2025-01-03 13:45 ` Roman Mamedov
2025-01-03 18:47 ` Victor Banon
2025-01-03 21:04 ` Roman Mamedov
2025-01-03 21:24 ` Victor Banon
2025-01-04 13:57 ` Roman Mamedov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250103170900.7016c4c4@nvm \
--to=rm@romanrm.net \
--cc=banon.victor@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=remi@georgianit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox