The past few times my pool has been scrubbed I get an email like this.
"
FreeNAS @ FreeNAS.local
New alerts:
* Pool ZFS state is ONLINE: One or more devices has experienced an error resulting in data corruption. Applications may be affected.
Current alerts:
* Pool ZFS state is ONLINE: One or more devices has experienced an error resulting in data corruption. Applications may be affected."
So that lead me to run a zpool status check, here are the results.
They strange thing is after I destroyed the pool and restored it from a backup as instructed in the above code, I have a different file that it is saying is bad. What would be a good strategy to figure out what is causing my problem? I have run memtest and it came back with 0 errors.
Thanks!
"
FreeNAS @ FreeNAS.local
New alerts:
* Pool ZFS state is ONLINE: One or more devices has experienced an error resulting in data corruption. Applications may be affected.
Current alerts:
* Pool ZFS state is ONLINE: One or more devices has experienced an error resulting in data corruption. Applications may be affected."
So that lead me to run a zpool status check, here are the results.
Code:
root@FreeNAS[~]# zpool status -v pool: ZFS 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: http://illumos.org/msg/ZFS-8000-8A scan: scrub repaired 0 in 0 days 07:46:16 with 1 errors on Thu Aug 15 09:46:18 2019 config: NAME STATE READ WRITE CKSUM ZFS ONLINE 0 0 1 raidz1-0 ONLINE 0 0 2 gptid/717db7af-7fd5-11e9-954f-d05099c2bf97 ONLINE 0 0 0 gptid/78e332bd-7fd5-11e9-954f-d05099c2bf97 ONLINE 0 0 0 gptid/83012eca-7fd5-11e9-954f-d05099c2bf97 ONLINE 0 0 0 gptid/8a6bb3cc-7fd5-11e9-954f-d05099c2bf97 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: /mnt/ZFS/Security/Front_Yard_Camera/2019-08-03/001/dav/20/20.28.30-20.28.54[M][0@0][0].mp4
They strange thing is after I destroyed the pool and restored it from a backup as instructed in the above code, I have a different file that it is saying is bad. What would be a good strategy to figure out what is causing my problem? I have run memtest and it came back with 0 errors.
Thanks!