Hi everyone, after updating to Unraid 7.3.x, I started seeing recurring BTRFS read/checksum errors on my cache pool. I am not sure whether this is related to the update, existing corruption becoming visible, or a hardware issue. The cache pool consists of two NVMe devices mounted at: /mnt/cache
The errors showed up as BTRFS checksum/corruption errors, for example: btrfs scrub start -Bd /mnt/cache
Error summary: csum=...
Corrected: 0
Uncorrectable: ...
btrfs device stats /mnt/cache showed corruption_errs on both NVMe devices, but no read/write/flush/generation errors. We repeatedly did this: btrfs device stats -z /mnt/cache
btrfs scrub start -Bd /mnt/cache
btrfs device stats /mnt/cache
After deleting the files reported in syslog, the scrub became clean again. But after larger write operations or copying data, new checksum errors appeared again. The affected files were mostly replaceable files, for example: Crafty backup ZIP files
Docker layer files
Minecraft/Paper/ViaVersion jar files
a Nextcloud .js.map file in a temporary backup/staging copy
So far, no Minecraft world/ region files were reported as damaged. We copied the Minecraft world folders to a Windows machine using Robocopy and got 0 errors. We also found that the Crafty SQLite database was corrupted: database disk image is malformed
So Crafty was reinstalled fresh instead of reusing the old database. Docker was also rebuilt because one corrupted file appeared to be inside old Docker BTRFS subvolumes/layers. Current situation: After removing the last reported damaged file, scrub is clean again. btrfs device stats stays at 0 for now. But because new checksum errors appeared after larger write/copy operations, I am unsure whether this is only old corruption from previous hard resets, or whether there is still an active issue. Important context: I had several hard resets before, because after a router restart I lost access to the server and forced reboots. So unsafe shutdowns are definitely possible. Questions: Does this pattern look like old corruption from unsafe shutdowns, or more like RAM/NVMe/PCIe/PSU problems? Has anyone seen similar BTRFS cache pool errors after updating to Unraid 7.3.x? Would you rebuild/reformat the cache pool even if the current scrub is clean? Besides memtest and NVMe SMART logs, what else should I check? My current plan is: finish backups
run memtest overnight
check NVMe SMART/error logs
monitor btrfs device stats after every larger write
rebuild the cache pool if any new csum errors appear again
Any advice appreciated.