May 15, 20242 yr I’m seeing the below. I already deleted the file that was being reported as a data error so i no longer see that error. But the first part I’m not sure how to interpret. Do I need to reformat this drive? 1. I have data that I assume can be rebuilt from parity 2. App data backup I don’t need since dockers work One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P scan: scrub repaired 0B in 02:06:06 with 0 errors on Tue May 14 18:00:32 2024
May 18, 20242 yr Author I had a few crashes when trying to use a docker. Things have been ok since then but I assume that's what lead to some corruption? Otherwise, why memtest? If I have issues with ram, it would lead to the error above?
May 19, 20242 yr Community Expert 20 hours ago, andyd said: I had a few crashes when trying to use a docker. That should never cause data corruption, most common culprit is bad RAM.
May 20, 20242 yr Author On 5/19/2024 at 6:39 AM, JorgeB said: That should never cause data corruption, most common culprit is bad RAM. Ok got it. So looks like I did have bad ram. Now that isn't an issue after isolating the problem stick I still see errors... zpool status -v pool: apps state: ONLINE config: NAME STATE READ WRITE CKSUM apps ONLINE 0 0 0 sdc1 ONLINE 0 0 0 errors: No known data errors pool: cache 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 config: NAME STATE READ WRITE CKSUM cache ONLINE 0 0 0 nvme0n1p1 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: /mnt/cache/system/docker/docker.img cache/downloads:<0x62e> pool: disk3 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 02:06:06 with 0 errors on Tue May 14 18:00:32 2024 config: NAME STATE READ WRITE CKSUM disk3 ONLINE 0 0 0 md3p1 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: disk3/movies:<0x18e> Still not clear how to proceed. At least before it was clear on what the file was. No idea what it's pointing to now. Edited May 20, 20242 yr by andyd
May 21, 20242 yr Community Expert That looks like metadata corruption, try running another scrub, if it still shows the same, I would recommend backing up what you can and re-formatting.
May 22, 20242 yr Author Yeah that didn’t do anything. So this drive.. 1. Part of the array 2. Is used for backups of docker appdata is there a need to backup anything? Thinking of treating the drive as failed of disconnecting the drive and letting the array rebuild without it but honestly not sure what the best process is. Also, I can ask in the other thread but how will zfs master and the current backup process work in this case? Like is it smart enough to know there are no backups and start from 0?
May 22, 20242 yr Community Expert 3 hours ago, andyd said: is there a need to backup anything? Thinking of treating the drive as failed of disconnecting the drive and letting the array rebuild without it but honestly not sure what the best process is. Rebuilding won't fix a filesystem issue, assuming parity is valid it would rebuild with the same issue. 3 hours ago, andyd said: Also, I can ask in the other thread but how will zfs master and the current backup process work in this case? Like is it smart enough to know there are no backups and start from 0? Not sure I follow.
May 22, 20242 yr Author I’m confused. Are you saying the entire array is a mess even though there is only one zfs drive in the pool? The parity itself has no errors. If there is no zfs file system after the drive is removed, why would the file system still be an issue? Why would the parity check clear if there are issues with data in general? “Backing up and reformatting” - did you mean the entire array? Or the zfs drive? As for the other question - I’m wondering more about the zfs snapshots that are currently being done for app data backups Edited May 22, 20242 yr by andyd
May 22, 20242 yr Author I just noticed the cache drive is also problematic. I'll back up and try to reformat But main concern is the array and how to proceed Edited May 22, 20242 yr by andyd
May 22, 20242 yr Community Expert Solution 2 hours ago, andyd said: I’m confused. Are you saying the entire array is a mess even though there is only one zfs drive in the pool? No, I mentioned that there is a problem with one of the zfs filesystems, could be the pool, could be disk3 (or both, but that would be unlikely).
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.