-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permanent errors have been detected in the following files with clean scrub and no other errors #13859
Comments
Native encryption strikes again. (The versions in I'd bet at least a nickel that the problem is the same as #13521 and #13709, so the terrible workaround I suggested there will probably work here too. |
@rincebrain Thank you for the workaround! That worked like a charm. I'm including the exact commands I used below for others reference if they run into this:
Also here's a gist with a convenient little script I cobbled together to do this (because I had 15+ afflicted filesystems): https://gist.github.com/rkeiii/0fe05fdcee6f520c208280acbf2b49ea The script is intended to be invoked as "./recover $zfs_fs_name" |
@rkeiii & @rincebrain: you made my day/night. Awesome! Thank you very much! I'm unsure how to 100% tell which datasets are affected.
Best regards, Flo. |
System information
Describe the problem you're observing
After a power loss event I am unable to mount most of my ZFS filesystems. I have performed at least three scrubs now. The output of the zfs status command claims that a device experienced an error but I can find no information about which device or when. I'm wondering if this is a bug due to seemingly inconsistent information from zpool status. After each scrub the zpool status -v command again shows entirely clean. However when I try to zfs mount -a I get the following
zpool status -v output
I was able to track down my original pool setup commands and the commands I used to transfer the volumes from unencrypted to encrypted ZFS filesystems:
pool create command used originally (4-5 years ago)
zfs create command for the encrypted fs
zfs send/recv command used to transfer the data from unencrypted ZFS FS to encrypted ZFS FS
Describe how to reproduce the problem
I am unsure what led to this. Possibilities include:
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: