[Bug 268005] rsync to FAT32 flash drive gets "Freeing unused sector" errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Apr 2023 23:20:49 UTC

--- Comment #1 from wbe@psr.com ---
When I saw in the 13.2 Release Notes:

"A workaround has been implemented for an apparent hardware page invalidation
problem [...] The bug can lead to file system corruption with UFS and MSDOSFS,
and probably other memory corruption."

I was hopeful, even though the description wasn't a match.  No such luck.

This bug (268005) still exists in 13.2-RELEASE on an AMD Opteron processor. 
UFS flash drives still do fine.  rsync to an MSDOSFS flash drive where most of
the files don't need updating (and thus reads and writes are well mixed,
probably mostly reads) get corrupted.  (FWIW, MS Windows 10 has no trouble
detecting and repairing the corruption, so, yes, it is actually corrupt, not a
bug where the system mistakenly thinks it's corrupt.)

You are receiving this mail because:
You are the assignee for the bug.