Hi All,
Last month I installed Truenas Scale version 24.10.0 and have applied a couple of upgrades over the last couple of months 24.10.0 > 24.10.0.2 > 24.10.1
Recently I logged in and a notification popped up with a data corruption error in the Boot pool:
Boot pool status is ONLINE: One or more devices has experienced an error resulting in data corruption. Applications may be affected…
I ran a zpool status command on the boot-pool and it seems to be an issue with a python _pycache_ /test_SHA1.cpython-311.pyc file:
$ sudo zpool status boot-pool -v
pool: boot-pool
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: scrub repaired 0B in 00:00:02 with 1 errors on Sun Dec 22 03:45:03 2024
config:
NAME STATE READ WRITE CKSUM
boot-pool ONLINE 0 0 0
vda3 ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
boot-pool/ROOT/24.10.1/usr@pristine:/lib/python3/dist-packages/Cryptodome/SelfTest/Hash/__pycache__/test_SHA1.cpython-311.pyc
I was thinking I might be able to copy the same file across from my other Truenas 24.10.1 install, however, when I try to remove the corrupt file first I am getting a read-only file system error:
$ sudo rm /lib/python3/dist-packages/Cryptodome/SelfTest/Hash/__pycache__/test_SHA1.cpython-311.pyc
rm: cannot remove '/lib/python3/dist-packages/Cryptodome/SelfTest/Hash/__pycache__/test_SHA1.cpython-311.pyc': Read-only file system
Would anyone have any suggestions on how I can restore/replace this file?